Welcome to CRUX bug tracking.
FS#227 - Support for non-standard library locations in pkgutils6
|
DetailsI wanted to have a play with this at uni and hack together a usermode version so I could have package management for software I install in $HOME/.local
I try to build pkgutils with extra enviroment variables for my local include and libraries, and I get: $ env VERBOSE=1 CFLAGS="-I$HOME/.local/usr/include -O2" LD_LIBRARY_PATH=/home/lhazel/.local/usr/lib make cc -shared -larchive lib/bst.o lib/list.o lib/pkg_package.o lib/pkg_package_entry.o lib/pkg_database.o -o lib/libpkgutils.so /usr/bin/ld: cannot find -larchive The extra library paths are not detected, even though ld _should_ use LD_LIBRARY_PATH. I'm not sure what would be the best way to do this, either put CFLAGS and CPPFLAGS into the lib/%.o target or use += instead of := for LD_LIBFLAGS, or something all together. |
This task depends upon