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

Bug#325226: libc6: Wrong dynamic linker on amd64



Hi !

On Mon, Feb 13, 2006 at 04:53:46PM +0100, Andreas Jochens wrote:
> > diff -u glibc-2.3.6/debian/sysdeps/amd64.mk glibc-2.3.6/debian/sysdeps/amd64.mk
> > --- glibc-2.3.6/debian/sysdeps/amd64.mk
> > +++ glibc-2.3.6/debian/sysdeps/amd64.mk
> > @@ -20,0 +21,7 @@
> > +
> > +define libc_extra_install
> > +mv debian/tmp-libc/lib64 debian/tmp-libc/lib
> > +mv debian/tmp-libc/usr/lib64/* debian/tmp-libc/usr/lib
> > +for link in $$(find debian/tmp-libc/usr/lib -type l) ; do ln -sf $$(readlink $$link | sed -e "s#64##g") $$link ; done
> 
> please add a line
> 
> +for so in $$(find debian/tmp-libc/usr/lib -maxdepth 1 -type f -name *.so) ; do perl -pi -e "s#/lib64/#/lib/#g" $$so ; done
> 
> to make sure that 'libc.so' and 'libpthread.so' use '/lib' and not
> '/lib64' to access the libraries.

Ok. Done.

> With this change, glibc 2.3.6 with your patch builds and works fine for me
> on amd64.

I have just tested a build with your suggested change, and it works
correctly. Please find attached the final version of the patch, against
the latest SVN.

Bye,
Aurelien

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net



Reply to: