[LAD] question on dynamic linking

Dave Griffiths dave at pawfal.org
Thu Sep 27 12:43:12 UTC 2007


> Hiho,
>
> 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?
>
> esp. if the user does not have the root rights to change anything
> in /etc/ld.so.conf or to run ldconfig.
>
> I did not find anything quick on the net about this, so maybe one of you
> can
> enlighten me what is the "proper" way of dealing with this.

the env var LD_LIBRARY_PATH might be what you are looking for - not sure
on it's "proper"ness though :)

cheers,

dave

http://www.pawfal.org/dave/




More information about the Linux-audio-dev mailing list