On 2006-12-24 08:48:36 -0500, Thomas Dickey wrote:
> On Sun, Dec 24, 2006 at 02:39:07PM +0100, Vincent Lefevre wrote:
> > Mac OS X *seems* to always use rpath: unlike Linux, I've never had
> 
> I was reading something like that yesterday (considering what new
> development I could do for shared libraries).  It was stated that
> Mac OS X stores only the absolute pathname to each shared library.
> That has the same effect of rpath...

Well, if it stores the absolute pathname to each shared library,
this doesn't exactly have the same effect. AFAIK, rpath stores an
ordered list of directories, then this list is used to search for
shared libraries. This means that if versions 1 and 2 of library A
are stored in directories /usr/lib and /usr/local/lib respectively
and if versions 1 and 2 of library B are stored in directories
/usr/local/lib and /usr/lib respectively, it is not possible to
use version 2 of libraries 1 and 2 (unless the soname is different
from version 1).

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to