Hi Junichi,

Junichi Uekawa wrote:
> I think this request is reasonable; if I can overcome the technical
> barriers, this should probably be implemented.

>> 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.
> 
> Do you know if there is such a way? I don't quite know offhand if it
> is possible already.

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:

[EMAIL PROTECTED]:~/bin$ fakeroot
[EMAIL PROTECTED]:~/bin# echo $LD_PRELOAD
libfakeroot-sysv.so
[EMAIL PROTECTED]:~/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



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to