Re: LD_LIBRARY_PATH in Ubuntu
- From: Gerald Dachs <ubuntu@xxxxxxxxxxx>
- Date: Fri, 29 Feb 2008 21:41:16 +0100
Am Fri, 29 Feb 2008 11:03:07 +0100
schrieb "Rutger van Haasteren" <rvhaasteren@xxxxxxxxx>:
Hi guys,
I am hoping one of you can help me. I have a problem loading custom
shared object (.so) files which are not installed on the system (I do
not have root access). Here's the deal:
I've written a C++ program that is configured and built using the GNU
built system. Relevant layout:
root
+ - src
+ - lib
+ - include
In lib and include I have some custom scientific libraries that I
need: lib/custom_lib.so include/custom_header.h
My configure script successfully detects those custom libs, and
builds my program. But I do not know how to run them. On my work I
have fedora, and there I simply set the LD_LIBRARY_PATH environment
variable to point to the lib/ directory, but this does not work at
home (yes, I like to work at home) on Ubuntu. On some other distro's
I have tried it works. This returns empty in Ubuntu:
[1]-$ echo $LD_LIBRARY_PATH
[2]-$
You didn't set the path, at least not in the same session:
~$ export LD_LIBRARY_PATH=somedir
~$ echo $LD_LIBRARY_PATH
somedir
Gerald
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- Follow-Ups:
- Re: LD_LIBRARY_PATH in Ubuntu
- From: Leo Cacciari
- Re: LD_LIBRARY_PATH in Ubuntu
- References:
- LD_LIBRARY_PATH in Ubuntu
- From: Rutger van Haasteren
- LD_LIBRARY_PATH in Ubuntu
- Prev by Date: Re: Replacement motherboard, renumbered NICs and dvd drives?
- Next by Date: Re: Replacement motherboard, renumbered NICs and dvd drives?
- Previous by thread: Re: LD_LIBRARY_PATH in Ubuntu
- Next by thread: Re: LD_LIBRARY_PATH in Ubuntu
- Index(es):
Relevant Pages
|