Re: Shared libraries not found during build
On 2014-11-12 21:08 +0100, Joel Roth wrote:
> I'm running sid. For the first time in many months, I'm
> trying to build a package from source. After compiling I'm
> getting library-not-found errors, for example:
> apt-get source ntfs-3g
> debuild -b -uc -us
> Which eventually triggers a library not found error:
> make: Entering directory '/home/jroth/build/ntfs-3g-2014.2.15AR.2'
> dh_makeshlibs --add-udeb=ntfs-3g-udeb -Vlibntfs-3g852
> make: Leaving directory '/home/jroth/build/ntfs-3g-2014.2.15AR.2'
> dh_shlibdeps -O--parallel
> dpkg-shlibdeps: error: couldn't find library libntfs-3g.so.852 needed
> by debian/ntfs-3g/bin/ntfscmp (ELF format: 'elf64-x86-64'; RPATH: '')
> dpkg-shlibdeps: error: couldn't find library libc.so.6 needed by
> debian/ntfs-3g/bin/ntfscmp (ELF format: 'elf64-x86-64'; RPATH: '')
My hunch is that one of the files /etc/ld.so.conf and
/etc/ld.so.conf.d/x86_64-linux-gnu.conf is missing or corrupt. Can you
please run "dpkg --verify libc-bin libc6:amd64" as root?