On Fri, Jan 12, 2007, Goswin von Brederlow wrote: > After some discussion on irc here is another possibility to fix > this. Instead of setting /etc/ld.so.preload we mangle the > libpango-1.0.so directly during build. > > !!!DANGER, EVIL HACK COMING!!! > > ar x /32-bit-chroot/usr/lib/libpango-1.0.a > objcopy -W pango_get_sysconf_subdirectory -N pango_get_lib_subdirectory > pango-utils.o pango-utils2.o > rm pango-utils.o > gcc -m32 -O2 -W -Wall -c pangohack.c > gcc -m32 -g -Wall -W -nostartfiles -shared -fPIC > -Wl,-soname,libpango-1.0.so.0 -o libpango-1.0.so.0.0.1234 *.o > > This is pretty crazy but if it breaks at least it only affects 32bit > pango using programms and not the whole system like > /etc/ld.so.preload would.
I prefer this solution as IIUC it doesn't require any change to pango. Could you confirm this basically works? I suggest you drop the pango.modules from ia32-libs-gtk completely and sed the pango-module-file.d/pango instead (this is required anyway, not just for this solution). -- Loïc Minier <[EMAIL PROTECTED]>