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

Re: Starting a transition to ocaml 3.09.2



On Tue, Apr 18, 2006 at 09:20:07AM -0400, Stefano Zacchiroli wrote:
> On Tue, Apr 18, 2006 at 11:19:01AM +0200, Julien Cristau wrote:
> > Fedora uses a patch to make sure ocamlmklib doesn't
> > set the rpath in generated libraries:
> > http://cvs.fedora.redhat.com/lxr/extras/source/devel/ocaml/ocaml-rpath.patch
> > 
> > I have never seen a case when the rpath setting was necessary, can
> > anyone explain what it's there for?
> 
> I didn't look at the patch, but my feeling is the same: no need of rpath
> for ocaml .so. They are indeed outside the standard ld.so directories,
> but it doesn't matter since they are in a predefined path, known by the
> ocaml interpreter.
> 
> When it get generated is usually a fault of autotools which add it.

Actually, i believe that ocamlmklibs add it by default, and i usually see
/usr/X11R6/lib added so, which is why it is important to check this in light
of the Xorg 7.0 transition.

Friendly,

Sven Luther



Reply to: