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

Bug#325226: libc6: Wrong dynamic linker on amd64



On Fri, Feb 10, 2006 at 01:06:22PM +0100, Aurelien Jarno wrote:
> > I think it would be good to keep it that way and to let the symlinks
> > point to '/lib/lib*.so.*' as they do now. 
> > Do you perhaps know of a simple way to achive this within your approach?
> 
> I think that's possible, I'll try do find a solution. 
> 

The solution:

add the following line in amd64.mk in libc_extra_install:

for link in $$(find debian/tmp-libc/usr/lib -type l) ; do ln -sf $$(readlink $$link | sed -e "s/64//g") $$link ; done

It may be a bit ugly, but I currently haven't found better.


Note that there is the same problem in the patch I sent for the i386
libc on amd64. The same kind of fix applies there.

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



Reply to: