[blfs-support] xfsprogs-4.3.0 - libxfs not installed

Bruce Dubbs bruce.dubbs at gmail.com
Mon Mar 7 09:55:50 PST 2016


John Frankish wrote:
>>> Beyond LinuxR From Scratch - Version 2016-03-03 Chapter 5. File
>>> Systems and Disk Management
>>> xfsprogs-4.3.0
>>>
>>> make PKG_DOC_DIR=/usr/share/doc/xfsprogs-4.3.0 install     &&
>>> make PKG_DOC_DIR=/usr/share/doc/xfsprogs-4.3.0 install-dev
>>>
>>> ..does not install libxfs.* required by mkfs.xfs
>>
>> It does not appear to need libxfs.*
>>
>> $ ldd /sbin/mkfs.xfs
>>           linux-vdso.so.1 (0x00007fff07ef7000)
>>           libblkid.so.1 => /lib/libblkid.so.1 (0x00007fe2ec84d000)
>>           libuuid.so.1 => /lib/libuuid.so.1 (0x00007fe2ec649000)
>>           librt.so.1 => /lib/librt.so.1 (0x00007fe2ec441000)
>>           libpthread.so.0 => /lib/libpthread.so.0 (0x00007fe2ec224000)
>>           libc.so.6 => /lib/libc.so.6 (0x00007fe2ebe83000)
>>          /lib64/ld-linux-x86-64.so.2 (0x00007fe2eca8d000)
>>
> Hmm - that's not what I get:
>
> $ ldd `which mkfs.xfs`
>          linux-vdso.so.1 (0x00007fff105b3000)
>          libblkid.so.1 => /lib/libblkid.so.1 (0x00007f6791ac5000)
>          libxfs.so.0 => /usr/local/lib/libxfs.so.0 (0x00007f6791878000)
>          libuuid.so.1 => /lib/libuuid.so.1 (0x00007f6791674000)
>          librt.so.1 => /lib/librt.so.1 (0x00007f679146d000)
>          libpthread.so.0 => /lib/libpthread.so.0 (0x00007f6791252000)
>          libc.so.6 => /lib/libc.so.6 (0x00007f6790ee4000)
>          /lib/ld-linux-x86-64.so.2 (0x000055e007d5b000)

Interesting,  I double checked and my version of mkfs.xfs works just fine. 
  I have no idea why our programs use a different set of libraries. I 
suspect that somehow my version was linked with an internal libxfs.a (or 
equivalent).  My log is a little terse and I do not see a reference to 
libxfs.a or libxfs.so.

$ mkfs.xfs -V
mkfs.xfs version 4.3.0

   -- Bruce



More information about the blfs-support mailing list