tech-pkg archive

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

Re: rpath problem in xentools41



On Tue, Feb 26, 2013 at 10:19:19AM -0500, Greg Troxel wrote:
> 
> is%netbsd.org@localhost writes:
> 
> > Hi,
> >
> > => Checking for missing run-time search paths in xentools41-4.1.4nb1
> > ERROR: lib/ocaml/site-lib/xc/dllxc_stubs.so: rpath relative to WRKDIR
> > *** Error code 1
> >
> > Stop.
> > make: stopped in /usr/pkgsrc/sysutils/xentools41
> 
> Basically, -L should be given with the path of the library as seen by
> the build, and -R/rpath with the path as it will be encountered by the
> program running while installed.  This is one of the many things taken
> care of by libtool.
> 
> So find the link line for that lib, and see what rpath is.   It may have
> DESTDIR in it, and shouldn't.

This has been discussed before.
The problem hs that this is not linked by libtool, but by ocaml.
I've no idea what should be done to teach ocaml to not use DESTDIR here.

And anyway, this library is not used ...

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index