Re: Where to put private lib files?

看板FB_chat作者時間16年前 (2010/02/23 20:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串6/8 (看更多)
Stephen Hurd <shurd@sasktel.net> writes: > Dag-Erling Sm=C3=B8rgrav <des@des.no> writes: > > The canonical location for ports is ${LIBDIR}/${PORTNAME}, but > > remember that unless these are run-time loadable modules, this > > directory must be in the library search path when you run the app. > > This means that you either have to ldconfig the directory using an > > rc_subr script (which defeats the purpose of having a private > > library directory) or install a wrapper that sets LD_LIBRARY_PATH > > before execing the real binary. > You can also compile in a search path. Not PREFIX-safe, hence not allowed in ports unless there is no other solution. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no _______________________________________________ freebsd-chat@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-chat To unsubscribe, send any mail to "freebsd-chat-unsubscribe@freebsd.org"
文章代碼(AID): #1BWyD-UF (FB_chat)
討論串 (同標題文章)
文章代碼(AID): #1BWyD-UF (FB_chat)