{"id":19356347,"url":"https://github.com/lostjared/ldd-deploy","last_synced_at":"2026-04-17T04:33:38.131Z","repository":{"id":261921921,"uuid":"885728851","full_name":"lostjared/ldd-deploy","owner":"lostjared","description":"Facilitates the packaging of dynamically linked libraries for MSYS2 and Mingw64 by consolidating all required dependencies into a designated directory.","archived":false,"fork":false,"pushed_at":"2024-11-13T10:05:42.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-27T17:36:39.072Z","etag":null,"topics":["bash","bash-script","cplusplus-20","msys2","msys2-mingw64"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lostjared.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-09T08:31:05.000Z","updated_at":"2024-12-04T18:02:04.000Z","dependencies_parsed_at":"2024-11-09T09:30:48.413Z","dependency_job_id":"3015ceeb-7669-4813-8f8e-1cee32c6b367","html_url":"https://github.com/lostjared/ldd-deploy","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"5998713a951e2255229056e188de5d212680c3ea"},"previous_names":["lostjared/ldd-deploy"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lostjared/ldd-deploy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lostjared%2Fldd-deploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lostjared%2Fldd-deploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lostjared%2Fldd-deploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lostjared%2Fldd-deploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lostjared","download_url":"https://codeload.github.com/lostjared/ldd-deploy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lostjared%2Fldd-deploy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31915288,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","bash-script","cplusplus-20","msys2","msys2-mingw64"],"created_at":"2024-11-10T07:04:05.419Z","updated_at":"2026-04-17T04:33:38.095Z","avatar_url":"https://github.com/lostjared.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ldd-deploy for MSYS2 Mingw64\r\n\r\n![image](https://github.com/user-attachments/assets/39176b37-1a6e-4bf2-af1c-e3aeaffdb4bf)\r\n\r\n`ldd-deploy` is a simple Bash script designed to help package dynamically linked libraries (DLLs) and shared object dependencies required by an executable. The script uses `ldd` to identify all linked libraries and then copies each one to a specified output directory, making it easier to deploy or distribute applications with all necessary dependencies.\r\n\r\n## Features\r\n- Identifies DLLs and shared libraries required by an executable.\r\n- Copies dependencies to a user-specified output directory.\r\n- Filters out Windows-specific dependencies (useful for cross-platform compatibility).\r\n\r\n## Usage\r\n```bash\r\n./ldd-deploy.sh -i \u003cpath/to/executable\u003e [-o \u003cpath/to/output_directory\u003e]\r\n```\r\n\r\n### Arguments\r\n- `-i` or `--input`: Path to the input executable. **(Required)**\r\n- `-o` or `--output`: Path to the directory where dependencies will be copied. *(Optional; defaults to the current directory)*\r\n\r\n### Example\r\n```bash\r\n./ldd-deploy.sh -i ./myapp -o ./deploy-libs\r\n```\r\n\r\nIn this example, all dependencies required by `myapp` will be copied into the `deploy-libs` directory.\r\n\r\n## Dependencies\r\n- **Bash**: This script requires a Bash shell to run.\r\n- **ldd**: The `ldd` command is used to identify shared libraries.\r\n\r\n## Notes\r\n- Ensure you have the necessary permissions to read the executable's dependencies and write to the output directory.\r\n- This script is especially useful when packaging applications for distribution or deployment on systems that may not have all required libraries pre-installed.\r\n- Contains implementations in Rust, C++, and Bash.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flostjared%2Fldd-deploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flostjared%2Fldd-deploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flostjared%2Fldd-deploy/lists"}