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

Re: ocaml compiled binaries and rpath



Remi Vanicat <vanicat@labri.u-bordeaux.fr> writes:


[...]


> I've just look to the rpath one can found into the dll of 
> /usr/lib/ocaml/3.06/stublibs :
> the directories are : /usr/lib /usr/local/lib /usr/X11R6/lib
> /usr/lib/ocaml/3.06/stublibs. The first 3 are not useful (I think),
> but the last one seem to be needed. 
> For example lablgtkmathview have a rpath to
> /usr/lib/ocaml/3.06/stublibs, and if one remove the rpath using
> chrpath, then it won't work anymore (the toplevel won't load it,
> because it won't find libmlgdome.so). I've just make the test.
>
> But for example libmlgdome.so have a rpath only to /usr/lib and seem
> to still work after I've remove it. (I've done a lot of test, but it
> is still loaded by the toplevel).

Arg, I've wrote the opposite of what I meant : You should have read "I
haven't done a lot of test, ...."


-- 
Rémi Vanicat
vanicat@labri.u-bordeaux.fr
http://dept-info.labri.u-bordeaux.fr/~vanicat



Reply to: