ndt-users - Altering rpath for web100clt
Subject: ndt-users list created
List archive
- From: <>
- To:
- Subject: Altering rpath for web100clt
- Date: Fri, 15 May 2015 08:37:02 +0000 (UTC)
Hello,
In my environment I need to place libraries in non standard directories, and
I'm having issues in compiling the CLI client correctly.
Basically:
1. LD_RUN_PATH is ignored
2. adding "-Wl,-rpath,/a/weird/dir" to LDFLAGS only affects the search path
for libpthread (which I don't need to do) and not for libjansson.
3. modifying NDTLIBDIR has exactly the same effect as point 2.
My full configure command is as follows:
./configure --prefix=$MYDIR LDFLAGS="-L ../jansson-2.7/src/.libs/
-Wl,-rpath,/my/funny/dir" CPPFLAGS="-I../../jansson-2.7/src"
LIBS="-L../../jansson-2.7/src/.libs/" --without-java --without-flash
The resulting client can only work if I alter LD_LIBRARY_PATH because
otherwise it cannot find libjansson. I don't understand how and where the run
time library path is set for web100clt, could you please advise?
Thanks!
Andrea
- Altering rpath for web100clt, accounts.lists.ndt, 05/15/2015
- Re: Altering rpath for web100clt, Aaron Brown, 05/15/2015
- Re: Re: Altering rpath for web100clt, accounts.lists.ndt, 05/15/2015
- Re: Altering rpath for web100clt, Aaron Brown, 05/15/2015
Archive powered by MHonArc 2.6.16.