Hi all,
I am working on my first Alpine package, the Softether VPN.
Trying to build the package, ld complained "Cannot find -lz". Checking the ld man page, I see -lfile will search for (summarizing here) libfile.a and libfile.so . I checked all of the other -l parameters, they all end in .a or .so- only libz ends in .so.1 (which is a symlink to libz.so.1.2.11). I tried simply creating a libz.so -> libz.so.1.2.11 symlink, and my package happily compiled.
So, my question is-
Should libz have a libz.so -> libz.so.(version) symlink in addtion to the .so.1 symlink, or is there a parameter or something else I am unaware of that will make ld find the library with the .so* extension?
Thanks!
--
Ben Weiss
b.weiss@fastmail.fm
> So, my question is-> Should libz have a libz.so -> libz.so.(version) symlink in addtion to> the .so.1 symlink, or is there a parameter or something else I am> unaware of that will make ld find the library with the .so* extension?
zlib-dev has this symlink- you need to add that package.
On Wed, Jan 12, 2022, at 10:23 PM, alice wrote:
> zlib-dev has this symlink- you need to add that package.
Ach, I had thought I installed that. Indeed, I did not.
Yes, that solved the problem.
Thank you.