https://github.com/foiovituh/bddf
Broken Dynamic Dependencies Finder ⛓️
https://github.com/foiovituh/bddf
bash dependencies ldd libs linux script shell
Last synced: 2 months ago
JSON representation
Broken Dynamic Dependencies Finder ⛓️
- Host: GitHub
- URL: https://github.com/foiovituh/bddf
- Owner: foiovituh
- License: mit
- Created: 2023-02-12T14:05:04.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-13T16:14:31.000Z (over 3 years ago)
- Last Synced: 2025-01-17T10:29:09.068Z (over 1 year ago)
- Topics: bash, dependencies, ldd, libs, linux, script, shell
- Language: Shell
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# ⛓️ bddf (broken dynamic dependencies finder)


🧩 A simple Bash script to check system commands for missing shared libraries (.so files) with ldd.
## 🔗 Dependencies
Requires basic Unix tools:
- `bash`
- `cut`
- `grep`
- `ldd`
- `which`
These are available by default on most Linux systems, but may be missing in minimal environments (e.g. Alpine, Docker).
## 📦 Installation
```bash
git clone https://github.com/foiovituh/bddf.git
cd bddf
chmod +x bddf.sh
sudo ln -s "$PWD/bddf.sh" /usr/local/bin/bddf
```
## 🚀 Usage
### Command syntax :
```bash
bddf [type of search] [binary name or dependencies file path]
```
### Type of search:
```bash
-b binary name to check
-d file that contains a list of binaries to check
```
### Optional:
```bash
-v show script version
-h show a help message
```
### Examples:
- Only one binary to check:
```bash
bddf -b compton
```
- Check multiple binaries from a file:
```bash
# Example content of dependencies.txt:
# jq
# figlet
# compton
bddf -d /home/user/project/dependencies.txt
```
## ⭐ Support the Project
If you like this project or find it useful, please give it a star! It helps with visibility and motivates continued development.
## 📄 License
Distributed under the MIT License. See [`LICENSE`](LICENSE) for more information.