guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: debugging guile test failure and segfault.


From: Andy Wingo
Subject: Re: debugging guile test failure and segfault.
Date: Wed, 13 Jun 2007 11:43:51 +0200

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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]