[BLFS Trac] #2457: BLFS doesn't document the library search process

BLFS Trac trac at linuxfromscratch.org
Mon Feb 25 04:04:42 PST 2008


#2457: BLFS doesn't document the library search process
--------------------------------------------+-------------------------------
 Reporter:  alexander at linuxfromscratch.org  |       Owner:  blfs-book at linuxfromscratch.org
     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



More information about the blfs-book mailing list