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

Re: xlib6g and emacs (and others)



> David Engel wrote:
> > On Tue, Sep 09, 1997 at 03:28:55PM -0400, Joey Hess wrote:
> > > David Engel wrote:
> > > > I haven't noticed any other problems yet.  However, there is a
> > > > potential problem with Xaw3d and neXtaw just waiting to happen.  These
> > > > packages should be rebuilt ASAP with the proper libc dependency
> > > > explicitly compiled in.
> > > 
> > > Which packages are "these packages"? Do you mean xaw3d and nextaw?
> > 
> > Yes, xaw3d and nextaw.
> 
> Please elaborate what's wrong with them. They do depend on libc.

ld.so doesn't check "dpkg -s `dpkg -S $LIBRARY_NAME`" when loading
$LIBRARY_NAME (that's why you can start more than one programme per
minute). David meant that we should link the xaw3d libraries with
"-lc" on the gcc command line.

At the moment, 

rulcmc:/usr/X11R6/lib/neXtaw$ ldd *
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x40058000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x4006a000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x400ac000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x400b5000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x400ca000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x400d5000)
and David (and ld.so) would be much happier if that showed:

rulcmc:/usr/X11R6/lib/neXtaw$ ldd *
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x40058000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x4006a000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x400ac000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x400b5000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x400ca000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x400d5000)
        libc.so.5 => /lib/libc.so.5 (0x400xx000)

That will happen when we relink the xaw libraries with "-lc"
on the gcc commandline.


I'm not sure where I'll have to put it in the xaw3d Imakefile, but
in fakeroot's Makefile, this is how it looks:

gcc -g -shared -Wl,-soname,libfakeroot.so.0 -o libfakeroot.so.0.0 libfakeroot.o
 -ldl -lc

-- 
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: