Library Problem

看板FB_stable作者時間12年前 (2013/04/27 12:34), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串5/8 (看更多)
I have installed 4 systems from the same FreeBSD 9.1-RC3 disk. Three of them worked just fine. The last one is causing a problem. It will not look in /usr/local/lib/ for shared libraries. I did the standard install, moved in some source, compiled it and tried to run it. The library is there. On the working systems ktrace shows: 2259 intro CALL access(0x28066000,0<F_OK>) 2259 intro NAMI "/lib/libsermons.so" 2259 intro RET access -1 errno 2 No such file or directory 2259 intro CALL access(0x28066000,0<F_OK>) 2259 intro NAMI "/usr/lib/libsermons.so" 2259 intro RET access -1 errno 2 No such file or directory 2259 intro CALL access(0x28066000,0<F_OK>) 2259 intro NAMI "/usr/lib/compat/libsermons.so" 2259 intro RET access -1 errno 2 No such file or directory 2259 intro CALL access(0x28066000,0<F_OK>) 2259 intro NAMI "/usr/local/lib/libsermons.so" 2259 intro RET access 0 On the failing system ktrace shows: 6746 intro NAMI "/lib/libsermons.so" 6746 intro RET access -1 errno 2 No such file or directory 6746 intro CALL access(0x28066000,0<F_OK>) 6746 intro NAMI "/usr/lib/libsermons.so" 6746 intro RET access -1 errno 2 No such file or directory 6746 intro CALL access(0x28066000,0<F_OK>) 6746 intro NAMI "/usr/lib/compat/libsermons.so" 6746 intro RET access -1 errno 2 No such file or directory 6746 intro CALL access(0x28066000,0<F_OK>) 6746 intro NAMI "/lib/libsermons.so" 6746 intro RET access -1 errno 2 No such file or directory 6746 intro CALL access(0x28066000,0<F_OK>) 6746 intro NAMI "/usr/lib/libsermons.so" 6746 intro RET access -1 errno 2 No such file or directory 6746 intro CALL write(0x2,0x28060080,0x3c) 6746 intro GIO fd 2 wrote 60 bytes "Shared object "libsermons.so" not found, required by "intro"" It never attempts to check /usr/local/lib. I can't find any configuration item that affects that. How can this be fixed? _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
文章代碼(AID): #1HUrLOB2 (FB_stable)
文章代碼(AID): #1HUrLOB2 (FB_stable)