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.

I actually tend to pass the linker the full path/file for libraries
rather than relying on any vaguaries of where -lfoo looks.

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index