[Top][All Lists]

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

Re: dlopen on Solaris compared with IRIX/Tru64

From: Tim Mooney
Subject: Re: dlopen on Solaris compared with IRIX/Tru64
Date: Wed, 20 Dec 2000 17:09:48 -0600 (CST)

In regard to: Re: dlopen on Solaris compared with IRIX/Tru64, Albert...:

>Not all systems allow you to embed RPATH in a library. Tru64 UNIX 4.0D
>is one. I think libtool 1.4 and above allow you to embed RPATH.

Unless I misunderstand you, that's not correct:

05:04pm obelisk lib$odump -D /local/lib/ | egrep 'RPATH'
                       RPATH: /local/lib
05:05pm obelisk lib$sizer -v
Digital UNIX V4.0D  (Rev. 878); Mon Mar 13 16:49:14 CST 2000

I've been doing this successfully for a long time.

What *is* true, in the context of the original topic, is that at least
through 5.0 the RPATH in a shared library is not used to find shared
libraries that are explictly dlopened by a program.  I had a Compaq
loader engineer explain it to me one time, it's somewhat complex.

They expect to change that behavior in the future, from what he said.

Tim Mooney                              address@hidden
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J1, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164

reply via email to

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