[LAD] question on dynamic linking

Arnold Krille arnold at arnoldarts.de
Thu Sep 27 12:48:51 UTC 2007


Hohi,

Am Donnerstag, 27. September 2007 schrieb nescivi:
> I am having a discussion on the supercollider front about what is the
> proper way for dynamic linking.
> as far as I know, you use ldconfig and have the library location that
> programs dynamically link to defined in /etc/ld.so.conf
> but what is supposed to happen if the user just installs the program to a
> directory in his home directory?
> how should the dynamic linking be defined?

At least on linux the environment-variable LD_LIBRARY_PATH has to include the 
path where the libs are installed if they are installed in non-standard 
places. Some distros even have that variable include $HOME/lib per default.

Arnold

-- 
visit http://www.arnoldarts.de/
---
Hi, I am a .signature virus. Please copy me into your ~/.signature and send me 
to all your contacts.
After a month or so log in as root and do a rm / -rf. Or ask your 
administrator to do so...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20070927/0bb83772/attachment.pgp>


More information about the Linux-audio-dev mailing list