Re: /usr/local/lib/compat/pkg/ cleanup ?

看板FB_questions作者時間11年前 (2014/07/03 06:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串10/10 (看更多)
On Wednesday 02 July 2014 21:31:52 Maciej Suszko wrote: > Accroding to rtld(1): > > (...) On 64-bit architectures, the linker for 32-bit objects > recognizes all the environment variables listed below, but is being > prefixed with LD_32_ > > It's been quite a long time since I last used i386 binaries (except > those ran via linuxulator), but your /usr/local/bin32/wmc is > compiled against 32-bit libintl.so.9 and libiconv.so.3 (located > in /usr/local/lib32) and ldd probably see some architecture > mismatch, showing "not found (0)". You can always try to use > truss(1) and check what is going on, where all libraries are > searched. Yes, that's it. Putting /usr/local/lib32:/usr/lib32 into LD_32_LIBRARY_PATH got rid of almost all the "not found" lines with just one exception: curlew:/tmp% ldd /usr/local/lib32/libgnutls.so.26 /usr/local/lib32/libgnutls.so.26: libnettle.so.4 => not found (0) libgmp.so.10 => not found (0) libhogweed.so.2 => not found (0) libz.so.6 => /usr/lib32/libz.so.6 (0x28255000) libintl.so.9 => /usr/local/lib32/libintl.so.9 (0x28269000) libtasn1.so.7 => not found (0) libp11-kit.so.0 => not found (0) libthr.so.3 => /usr/lib32/libthr.so.3 (0x28272000) libc.so.7 => /usr/lib32/libc.so.7 (0x2806c000) libiconv.so.3 => /usr/local/lib32/libiconv.so.3 (0x28292000) And it looks like libnettle.so.4, libgmp.so.10, libhogweed.so.2, libtasn1.so.7 and libp11-kit.so.0 really are missing dependencies. Files exist but only 64 bit versions: curlew:/tmp% ls -l `locate libnettle.so.4 libgmp.so.10 libhogweed.so.2 libtasn1.so.7 libp11-kit.so.0` lrwxr-xr-x 1 root wheel 16 27 Apr 13:50 /usr/local/lib/libgmp.so.10@ -> libgmp.so.10.1.3 -rwxr-xr-x 1 root wheel 542099 27 Apr 13:50 /usr/local/lib/libgmp.so.10.1.3* lrwxr-xr-x 1 root wheel 17 27 Apr 13:59 /usr/local/lib/libhogweed.so.2@ -> libhogweed.so.2.5 -r--r--r-- 1 root wheel 3218117 27 Apr 13:59 /usr/local/lib/libhogweed.so.2.5 lrwxr-xr-x 1 root wheel 16 27 Apr 13:59 /usr/local/lib/libnettle.so.4@ -> libnettle.so.4.7 -r--r--r-- 1 root wheel 1898843 27 Apr 13:59 /usr/local/lib/libnettle.so.4.7 lrwxr-xr-x 1 root wheel 19 27 Apr 14:00 /usr/local/lib/libp11- kit.so.0@ -> libp11-kit.so.0.0.0 -rwxr-xr-x 1 root wheel 264919 27 Apr 14:00 /usr/local/lib/libp11- kit.so.0.0.0* -rwxr-xr-x 1 root wheel 83770 27 Apr 13:59 /usr/local/lib/libtasn1.so.7* Pkg info shows that i386-wine-devel requires these libraries but doesn't provide them so I would have expected the extra dependencies to have been pulled in when I ran portmaster to rebuild i386-wine- devel but this did not happen. -- Mike Clarke _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
文章代碼(AID): #1Jj84Uuy (FB_questions)
討論串 (同標題文章)
文章代碼(AID): #1Jj84Uuy (FB_questions)