DragonFly users List (threaded) for 2006-02
Re: rpath versus ld-elf.so.hints?
On Tue, 14 Feb 2006, joerg@xxxxxxxxxxxxxxxxx wrote:
> On Tue, Feb 14, 2006 at 09:09:12AM -0800, walt wrote:
> > This causes problems when a pkgsrc library is linked without
> > the usual rpath (by accident, I assume) e.g. the cdparanoia
> > package I just built on DF.
> cdparanoia is linked fine here. Do you have a current libtool?
Just to make sure: I re-installed libtool and then cdparanoia,
but I still have the same problem (which I didn't explain well.)
The real problem is that kdemultimedia3 fails during the 'configure'
phase. This is taken from the config.log:
configure: 35403: /usr/pkg/lib/libcdda_paranoia.so
configure:35412: error: --with-cdparanoia was given, but test for cdparanoia
Based on my past experiments with this kind of problem I *assumed*
that the following might explain the error:
# ldd libcdda_paranoia.so.0.0.98
ldd: libcdda_paranoia.so.0.0.98: Shared object "libcdda_paranoia.so.0.0.98" not
found, required by "ldd"
libcdda_paranoia.so.0.0.98: exit status 1
I've been able to fix this kind of error in the past by adding /usr/pkg/lib to
the 'rpath' for other (unrelated) packages, and that is why I assumed that
changing the rpath might fix this current problem.
My assumption could very well be wrong, of course.
If you could give me years of experience in a few minutes I'd be very