Hi Greg,

On Sun, 2007-06-10 at 13:46 -0400, Greg Troxel wrote:
> There are several ways that programs find shared libraries at runtime.
> Some of my info is old, so sorry if I am incorrect:
> 
> debian way: -rpath is evil.  all libs are in /usr/lib, or use ld.so.conf
> or ldconfig of some kind
> 
> netbsd way: by default, /usr and /usr/lib are searched.  ldconfig is
> messy and LD_LIBRARY_PATH is a gross hack for other than debugging.
> Programs should be compiled with -R for directories that are to be
> searched at runtime.  In particular, /usr/local/lib and /usr/pkg/lib are
> not in the default library search path.
> 
> darwin way: absolute path is resolved at link time, and stored, so you
> get the same library you linked with (not quite sure on this).

This is informative, thanks.

Andy.
-- 
http://wingolog.org/



_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user

Reply via email to