pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Missing libraries and RPATH ?
Hi all,
I am building wine on the most powerful of my NetBSD boxes, an AMD
Athlon(tm) 64 X2. I got the following errors during install phase:
ERROR: bin/widl: missing library: libi386.so.1
ERROR: bin/wine: missing library: libi386.so.1
ERROR: bin/winebuild: missing library: libi386.so.1
ERROR: bin/winedump: missing library: libi386.so.1
ERROR: bin/winegcc: missing library: libi386.so.1
ERROR: bin/wineserver: missing library: libi386.so.1
ERROR: bin/wmc: missing library: libi386.so.1
ERROR: bin/wrc: missing library: libi386.so.1
ERROR: lib/libwine.so.1.0: missing library: libi386.so.1
ERROR: lib/wine/acledit.dll.so: missing library: libi386.so.1
ERROR: lib/wine/aclui.dll.so: missing library: libi386.so.1
ERROR: lib/wine/activeds.dll.so: missing library: libi386.so.1
ERROR: lib/wine/actxprxy.dll.so: missing library: libi386.so.1
[...]
I see that files are linked to libi386.so.1:
$ ldd -o work/.destdir/mnt/netbsd/pkg/bin/widl
work/.destdir/mnt/netbsd/pkg/bin/widl:-lossaudio.1 =>
/usr/lib/i386/libossaudio.so.1
work/.destdir/mnt/netbsd/pkg/bin/widl:-lc.12 => /usr/lib/i386/libc.so.12
work/.destdir/mnt/netbsd/pkg/bin/widl:-li386.1 =>
/usr/lib/i386/libi386.so.1
work/.destdir/mnt/netbsd/pkg/bin/widl:-lgcc_s.1 =>
/usr/lib/i386/libgcc_s.so.1
But /usr/lib/i386 is not in RPATH:
$ objdump -x work/.destdir/mnt/netbsd/pkg/bin/widl | grep PATH
RPATH /mnt/netbsd/pkg/lib
I found it could be a problem of RPATH that could be solve by a
-Wl,-R/usr/lib/i386...
Actually, I miss the course on linker and I am not sure from where is
the problem: configure script of Wine, our linker, my pkgsrc Makefile...
Since the build is long on my system, I cannot use my traditional
trial/error approach. I am reading TFM but I would be grateful if a
skillful eye could help me to look in the right side.
Thanks,
Fred
Home |
Main Index |
Thread Index |
Old Index