[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RPATH problem!
From: |
rajesh K P |
Subject: |
RPATH problem! |
Date: |
Thu, 18 Jan 2007 08:50:46 -0700 |
Hi,
I'm using libtool 1.5.22, and have a problem with the RPATH setting in the
executable that I create.
This is especially a problem on Linux and AIX platforms since RPATH has highest
precedence while looking for the executables binary dependency. So I cannot
override it using env. variable LD_LIBRARY_PATH or LIBPATH.
When my executable links to a .la file, it is linked with the 'libdir' value in
it's RPATH. This is the behavior irrespective of whether I've any other
explicit RPATH settings defined in my makefile.
My LD flags is as follows -
myExe_LDADD = libmylib.la - L/home/user1/MyUtil/build/lib/ - lutil
Is there a way to avoid setting the default 'libdir' in the executable's RPATH
list OR have no RPATH itself?
Please note I do not have this problem if I do not have a .la file in the
linking list.
Regards
- KPRajesh
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- RPATH problem!,
rajesh K P <=