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

Re: dpkg-slibdep, fakeroot, sonames



> On Sat, 6 Sep 1997, joost witteveen wrote:
> 
> > But fakeroot execs its children with:
> >   LD_PRELOAD=/usr/lib/libfakeroot.so.0
> > so its children do use it:
> > 
> > To me, this output looks as though the soname of libfakeroot is indeed
> > "0", and not "0.0", but this is from my "debian/rules binary" stage:
> > 
> > dpkg-shlibdeps ./fakeroot 
> > dpkg-shlibdeps.orig: warning: unable to find dependency information for shared library /usr/lib/libfakeroot (soname 0.0, path /usr/lib/libfakeroot.so.0.0, dependency field Depends)
> > dpkg-gencontrol
> > 
> > Does anyone know why dpkg-shlibdeps thinks the /usr/lib/libfakeroot soname
> > is 0.0?
> 
> 	Are you sure you are using the correct `LD_PRELOAD'?  This is what I get:

Yes:

$ ./fakeroot 
sh-2.01# echo $LD_PRELOAD 
/usr/lib/libfakeroot.so.0


But the thing is, I cannot reproduce my problem any more.
dpkg-shlibdeps now suddenly sees "0" as the soname.

So, thanks for making me check again.

And, also, thanks for noticing:

> the file /usr/lib/libfakeroot.so.0 should be included in the .deb.

Why did nobody else notice this? I've got that symlink on my
own system, and thus didn't notice it was missing in my package.

> 	Hmmm, that's not correct.  The value in LD_PRELOAD is
> `/usr/lib/libfakeroot.so.0', and not `fakeroot.so.0', so the full path
> should be included to that file, this way:
> /usr/lib/libfakeroot	0	libc6

OK, I'll do that too. Thanks, again.


-- 
joost witteveen, joostje@debian.org
#!/usr/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
#what's this? see http://www.dcs.ex.ac.uk/~aba/rsa/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: