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

Re: ocaml compiled binaries and rpath



On Wed, Apr 16, 2003 at 11:20:57AM +0200, Remi Vanicat wrote:
> Sven Luther <luther@dpt-info.u-strasbg.fr> writes:
> 
> > On Wed, Apr 16, 2003 at 12:27:59AM +0200, Denis Barbier wrote:
> >> This was for the libc migration.
> >> 
> >> AFAICT OCaml situation is very different:
> >>  * library location is not well established
> >
> > Yes and no. We standardized the dll.so location in the stublibs
> > directory, and most of the time this is enough. Users or rogue packages
> > can still install stuff all over the place.
> >
> > But i have the feeling that that the rpath is not really there to find
> > the stublibs, which are found by the ocaml ld.conf file, but to find the
> > C libraries these stublibs wrap, and this is why directories like
> > /usr/lib and /usr/X11R6/lib are used. And especially you are not
> > supposed to link a stublib from another.
> 
> This in not completely true. One could want to write a binding for a
> gtk widget not in lablgtk, without having to modify lablgtk, while
> using some of the lablgtk function. Then it could be useful to link
> the new stublib to the lablgtk one.

I would be glad to accept any such patch to lablgtk, and i guess so will
upstream.

In fact that is the way we did it when adding SVG support to lablgtk2.

Friendly,

Sven Luther



Reply to: