jubatus-installer
jubatus-installer copied to clipboard
Eliminate most LD_LIBRARY_PATH from install.sh.
Use rpath to find libraries instead of LD_LIBRARY_PATH. Why LD_RUN_PATH is not used is that ld.gold does not recognize LD_RUN_PATH for now. https://sourceware.org/bugzilla/show_bug.cgi?id=13764
https://github.com/jubatus/jubatus/issues/943
I'll confirm this. We need to add this to the packaging tool too.
Is it OK to close #32 once this got merged?
Specifying -p
option cause error on apr-utils installation.
$ ./install.sh -p /home/jubatus/rpath-test
... snip ...
/usr/bin/install -c -m 644 ./lib/expat.h /home/jubatus/rpath-test/include/apr-1
make[1]: Leaving directory `/home/jubatus/Development/jubatus-installer/download/apr-util-1.5.4/xml/expat'
/bin/sh /home/jubatus/rpath-test/build-1/libtool --mode=install /usr/bin/install -c -m 755 libaprutil-1.la /home/jubatus/rpath-test/lib
libtool: install: error: cannot install `libaprutil-1.la' to a directory not ending in /home/jubatus/local/lib
make: *** [install] Error 1
Such error does not appear on my environment.
Could you re-run with -p
after removing your download directory?
./waf --checkall
seems to ignore LINKFLAGS which is specified at ./waf configure
.