Re: KDevelop: where does it get its "LD_LIBRARY_PATH"?
- From: Rainer Weikusat <rweikusat@xxxxxxxxxxx>
- Date: Thu, 24 Jan 2008 17:12:22 +0100
Jeff <jeep@xxxxxxxxx> writes:
Im running into a problem which appears to be related to how KDevelop
finds its
LD_LIBRARY_PATH (or similiar) when I run 'configure' from the BUILD
menu.
It keeps telling me it cannot find a library that I know is in /usr/
local/lib.
Ive run ldconfig -X /usr/local/lib and ldconfig -n /usr/local/lib but
it still complains.
If I run configure from the shell it works fine (Since my
LD_LIBRARY_PATH is setup
correctly Im assuming).
Im running an older version of KDev, 3.2 (which I could upgrade but
cant!).
Any ideas how to fix this? In the "project options-> configure
options"
everything seems fine there also (-L/usr/local/lib is on the configure
line and
the missing lib file exists there fine...and the link to it).
There are two options:
a) add /usr/local/lib to /etc/ld.so.conf and run ldconfig
afterwards to add the directory to the per-system dynamic
linker search path
b) use -Wl,-rpath /usr/local/lib to compile the additional
search path into the binary.
.
- Follow-Ups:
- References:
- Prev by Date: KDevelop: where does it get its "LD_LIBRARY_PATH"?
- Next by Date: Re: KDevelop: where does it get its "LD_LIBRARY_PATH"?
- Previous by thread: KDevelop: where does it get its "LD_LIBRARY_PATH"?
- Next by thread: Re: KDevelop: where does it get its "LD_LIBRARY_PATH"?
- Index(es):