Skip to Content.
Sympa Menu

ndt-users - Altering rpath for web100clt

Subject: ndt-users list created

List archive

Altering rpath for web100clt


Chronological Thread 
  • 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



Archive powered by MHonArc 2.6.16.

Top of Page