Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lftp 4.9.1 alpine linux static build - lftp -v and linked libraries issue #569

Closed
userdocs opened this issue Jan 29, 2020 · 2 comments
Closed

Comments

@userdocs
Copy link

userdocs commented Jan 29, 2020

I have managed to create fully static and portable build on Alpine linux 3.11 but i have encountered an odd issue.

Here is the build script and example binary for reference and testing - https://github.com/userdocs/lftp-static

The problem?

When i build lftp only using -static i see this (binary size 10829KB)

Please note the Libraries used: line showing linked libraries.

lftp-not-static

When i then build using --static -static i see this (binary size 12637KB)

lftp-static

When i do lftp -v there Libraries used: section is blank but for all my testing it appears to be a fully functional and portable binary. I can move this binary to another Linux distro like Debian 10 and use it with no obvious issues.

Is this a bug where statically linked libraries are not listed properly in when using lftp -v?

I tested it using ftps/sftp with this test server https://test.rebex.net/ and it worked fine so it appears the libraries are linked and functional but not showing in lftp -v

@lavv17
Copy link
Owner

lavv17 commented Jan 29, 2020 via email

@userdocs
Copy link
Author

Ok, thanks for the info. I just wanted to check if it was something minor i can ignore or if my build was failing to link the libraries.

What you said about suppressing the output makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants