---- $ ./configure --prefix=/opt/local/encap/execline-2.5.3.0 --enable-shared --disable-static --with-sysdeps=/opt/local/lib/skalibs/sysdeps --with-include=/opt/local/include --with-dynlib=/opt/local/lib $ make ---- fails as follows: ---- exec gcc -o background -pipe -Wall -std=c99 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wa,--noexecstack -ffunction-sections -fdata-sections -O2 -fomit-frame-pointer -fno-stack-protector -Wl,--sort-section=alignment -Wl,--sort-common -Wl,--hash-style=both -Wl,--gc-sections src/execline/background.o libexecline.a.xyzzy -lskarnet /usr/bin/ld: cannot find -lskarnet collect2: error: ld returned 1 exit status make: *** [background] Error 1 ---- If I add the "--with-lib=/opt/local/lib" configure option, it succeeds. This is unexpected because the "./configure --help" output says: ---- Dependencies: --with-sysdeps=DIR use sysdeps in DIR [PREFIX/lib/skalibs/sysdeps] --with-include=DIR add DIR to the list of searched directories for headers --with-lib=DIR add DIR to the list of searched directories for static libraries --with-dynlib=DIR add DIR to the list of searched directories for shared libraries ---- Since I'm not using static libraries, I would not expect to need the "--with-lib" configure option. Thank you, LewisReceived on Mon Dec 02 2019 - 23:31:25 UTC
This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC