#2457: BLFS doesn't document the library search process --------------------------------------------+------------------------------- Reporter: [EMAIL PROTECTED] | Owner: [email protected] Type: task | Status: new Priority: normal | Milestone: 6.3 Component: BOOK | Version: SVN Severity: normal | Keywords: --------------------------------------------+------------------------------- BLFS has the following boilerplate for library configuration:
As with most libraries, there is no configuration to do, save that the library directory, i.e., /opt/lib or /usr/local/lib should appear in /etc/ld.so.conf so that ldd can find the shared libraries. After checking that this is the case, /sbin/ldconfig should be run while logged in as root. However, this is very insufficient, because it only ensures that the library can be found at runtime. Nothing (e.g., setting PATH so that it includes foo-config, adjusting pkgconfig path, or, in the worst case, setting LDFLAGS) is done to ensure that the packages that need the library can find it at the build time. -- Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/2457> BLFS Trac <http://wiki.linuxfromscratch.org/blfs> Beyond Linux From Scratch -- http://linuxfromscratch.org/mailman/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
