building xfsprogs as in the book fails.

compiling and installing seems to work. but several libraries are not 
installed!

the only shared lib is /usr/lib/libhandle.so

after removing the source-directory:

ldd mkfs.xfs
libdisk.so.0 is missing
libxfs.so.0 is missing

as long as the source-directory exists:

libdisk.so.0 => /mnt/WORK/xfsprogs-3.1.8/libdisk/.libs/libdisk.so.0
libxfs.so.0 => /mnt/WORK/xfsprogs-3.1.8/libxfs/.libs/libxfs.so.0



what i got running is xfsprogs-3.1.7 from debian sid with a patch from

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-fs/xfsprogs/files/xfsprogs-3.1.1-sharedlibs.patch?revision=1.1

i tried to apply the patch to the 3.1.8 from anduin, but no success.


using 3.1.7 with the patch i get libxfs, libxlog installed in /lib and 
libdisk, libhandle,libxcmd in /usr/lib


no need for params to make as in the book, but configure
for INSTALL_USER and INSTALL_GROUP default is root

* * * cut
configure --prefix=/usr \
   --enable-readline=yes \
   --disable-static

make

make install
make install-dev
make install-qa
* * * cut

the book says 'make install-dev' installs static libs, but as i have 
--disable-static with the configure, it just installs the headers.


not only mkfs.xfs works, even partclone can be built with --enable-xfs 
as the required libxfs.so can be found!


tobias
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to