[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Shared libraries not found during build - SOLVED



On Wed, Nov 12, 2014 at 10:40:55PM +0100, Sven Joachim wrote:
> On 2014-11-12 22:03 +0100, Joel Roth wrote:
> 
> > On Wed, Nov 12, 2014 at 09:35:34PM +0100, Sven Joachim wrote:
> >> 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[1]: Entering directory '/home/jroth/build/ntfs-3g-2014.2.15AR.2'
> >> > dh_makeshlibs --add-udeb=ntfs-3g-udeb -Vlibntfs-3g852
> >> > make[1]: 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?
> >
> > /etc/ld.so.conf.d/x86_64-linux-gnu.conf is missing.
> >
> > $ sudo dpkg --verify libc-bin libc6:amd64
> >
> > ??5?????? c /etc/ld.so.conf
> > ??5?????? c /etc/ld.so.conf.d/x86_64-linux-gnu.conf
> 
> Are you sure that /etc/ld.so.conf is not missing as well?  In any case,
> you should reinstall the libc6 and libc-bin packages with the dpkg
> --force-confmiss option to get those files back.

Thanks for your help in resolving this!

Regards,

Joel
 
> Cheers,
>        Sven
> 

-- 
Joel Roth
  


Reply to: