Hi Junichi, while using cow-shell on an amd64 system I came across a 32bit program running there and producing LD_PRELOAD warnings because the 64bit library obviously can't be preloaded in this case. The program is proprietary binary only, so no chance to get a 64bit version of this. I can live with this little annoyance, but perhaps it's something to think about: making cowdancer multilib capable and setting LD_PRELOAD in a multilib compatible way. Andreas
Hi, I think this request is reasonable; if I can overcome the technical barriers, this should probably be implemented. libcowdancer only depends on the libc, so it's going to be straight-forward. You could even just extract the 32-bit binary from i386 package and try running. Building it is another exercise, but that should be trivial. Do you know if there is such a way? I don't quite know offhand if it is possible already. regards, junichi
Hi Junichi,
Junichi Uekawa wrote:
I just tried with the lib from the i386 package and it works if the
library is found in standard paths, e.g. the following seems to work:
LD_LIBRARY_PATH=/usr/lib32/cowdancer:/usr/lib/cowdancer
LD_PRELOAD=libcowdancer.so
32bitcommand
So with /usr/lib{,32}/cowdancer/libcowdancer.so it currently does not work.
Thinking about this again, there are more packages relying on LD_PRELOAD
that are affected by this multilib issue.
E.g. fakeroot sets the following:
beckmann@cake:~/bin$ fakeroot
root@cake:~/bin# echo $LD_PRELOAD
libfakeroot-sysv.so
root@cake:~/bin# echo $LD_LIBRARY_PATH
/usr/lib/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot
And the fakeroot package may also be a ressource for how to do the
multilib build.
Andreas
block 460924 by 466880 thanks Hi Junichi, I started to work on biarch support for libcowdancer (based on the fakeroot biarch build system), building on amd64 works so far, but testing failed due to #466880 Andreas