[Clfs-commits] [CLFS Trac] #198: lzma links against libstdc++

CLFS Trac trac at cross-lfs.org
Thu Jan 8 14:44:30 PST 2009


#198: lzma links against libstdc++
--------------------+-------------------------------------------------------
 Reporter:  tobias  |       Owner:  clfs-commits at lists.cross-lfs.org.
     Type:  task    |      Status:  new                              
 Priority:  minor   |   Milestone:                                   
Component:  BOOK    |     Version:  CLFS Standard SVN                
 Keywords:          |  
--------------------+-------------------------------------------------------
 lzma, which is installed in /bin, links against libstdc++ which resides in
 /usr/lib64 and might therefore not be available in case of partition
 failure of /usr.

 I would like to suggest to compile lzma statically, like:

 [...]
 ./configure --prefix=/usr libdir=/lib
 make
 rm src/lzma/lzma
 make LDFLAGS=-all-static -C src/lzma
 [...]

 Also I'm not sure why lzma libraries are installed into /lib, because lzma
 isn't using them anyway.  Perhaps someone can enlighten me here?

 PS: In multilib, a blank is missing in between CC="gcc ${BUILD64}" and
 ./configure.

-- 
Ticket URL: <http://trac.cross-lfs.org/ticket/198>
CLFS Trac <http://trac.cross-lfs.org>
The Cross Linux From Scratch Project.


More information about the Clfs-commits mailing list