Bug#553047: libc6: (cross) libc-2.10.1.so/powerpc: ELF file data
Dnia czwartek, 28 paÅºdziernika 2010 o 08:06:35 minami napisaÅ‚(a):
> Shouldn't we stop tweaking LD_LIBRARY_PATH to cross-build gcc?
> In my understanding, the error message:
> > error while loading shared libraries:
> /usr/powerpc-linux-gnu/lib/libc.so.6: ELF file data encoding not
> "failed to load the Perl interpreter
> with $LD_LIBRARY_PATH/libc.so instead of /lib/libc.so".
Yes, it means that. I solved that by adding /lib:/usr/lib: to LD_LIBRARY_PATH
in attached patch.
> Fortunately, recent versions of dpkg-shlibdeps seems to be
> wise enough to detect GCC_TARGET and DEB_TARGET_GNU_TYPE
> and we no longer have to tell dh_shlibdeps where to search
> libraries using a special environment variable.
Would be nice.
Anyway with attached patch I managed to package biarch powerpc and triarch
mipsel gcc-4.5. Please take a look.