pkgsrc-Users archive

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

Re: Missing libraries and RPATH ?



Le 2018-12-04 21:54, Frédéric Fauberteau a écrit :
Le 2018-12-04 14:56, Frédéric Fauberteau a écrit :
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 not to libwine:
$ ldd work/.destdir/mnt/netbsd/pkg/bin/wine
work/.destdir/mnt/netbsd/pkg/bin/wine:
        -lwine.1 => not found
        -lpthread.1 => /usr/lib/i386/libpthread.so.1
        -lc.12 => /usr/lib/i386/libc.so.12
        -lossaudio.1 => /usr/lib/i386/libossaudio.so.1
        -li386.1 => /usr/lib/i386/libi386.so.1

I have on the one hand (build dir):
$ ldd work/wine-3.0.4/loader/wine
work/wine-3.0.4/loader/wine:
        -lwine.1 => /mnt/netbsd/pkg/lib/libwine.so.1

and on the other (install dir):
$ ldd /mnt/netbsd/pkg/bin/wine
/mnt/netbsd/pkg/bin/wine:
        -lwine.1 => not found

I suspect winegcc of not knowing how to properly link things...


Home | Main Index | Thread Index | Old Index