On Wed, 28 Nov 2007, Neil Williams wrote: > I thought Guillem wanted to review the use of /usr/arm-linux-gnu/lib and > /usr/arm-linux-gnu/include ? I do have perl code that solves the problem > (used it to cross build GPE for Emdebian) involving adding search > directories to LD_LIBRARY_PATH but I wasn't sure if Guillem was looking > at a different implementation for those directories.
I don't know what he plan to do, but for dpkg-shlibdeps's part it's clear that we need to fix the list of directories to search. So I'd be ready to apply a patch for this part. We can always tweak it later if needed. > CC'ing debian-dpkg to find out. Guillem gets the BTS mail, no need for an explicit CC to the list. > directory of symlinks or something else? Should Raphael and I work on a > solution for dpkg-shlibdeps using LD_LIBRARY_PATH using the example below? The real fix doesn't change LD_LIBRARY_PATH but directly the official list of directories in scripts/Dpkg/Shlibs.pm and also directories listed in a LD_LIBRARY_PATH submitted by the package might need to be adjusted in a similar way (s|/usr/lib/|/usr/<arch-triplet>/lib/|) (provided that the on-the-fly conversion done by dpkg-cross converts all of what's below /usr/lib/ in packages in that way. > That is what I'm using with the current dpkg-shlibdeps from 1.14.11 and > AFAICT it is fine (providing that the cross paths are added to the > standard paths and not replace them or perl gets confused). Care to elaborate on why perl gets confused ? In any case, since we would _not_ change LD_LIBRARY_PATH, it shouldn't be a problem. Cheers, -- Raphaël Hertzog Premier livre français sur Debian GNU/Linux : http://www.ouaza.com/livre/admin-debian/