In a multilib environment proxychains only builds libproxychains libraries for x86_64. It causes 32 bits apps to preload libproxychians library Reproducible: Always Steps to Reproduce: 1. install a 32 bits app in a x86_64 system (wine for example) 2. install proxychains 3. execute <proxychains wine> Actual Results: ProxyChains-3.1 (http://proxychains.sf.net) ERROR: ld.so: object 'libproxychains.so.3' from LD_PRELOAD cannot be preloaded: ignored. Usage: wine PROGRAM [ARGUMENTS...] Run the specified program wine --help Display this help and exit wine --version Output version information and exit Expected Results: ProxyChains-3.1 (http://proxychains.sf.net) Usage: wine PROGRAM [ARGUMENTS...] Run the specified program wine --help Display this help and exit wine --version Output version information and exit This is not a wine related problem wine is only an example of a 32 bits application here
Created attachment 287253 [details] ebuild for multilib proxychains I made this ebuild taking inspiration on sandbox ebuild as sandbox faces a similar issue in multilib environment. This ebuild does not work it shouts an error in src_install() (...) /usr/bin/install: cannot create regular file `/var/tmp/portage/net-misc/proxychains-3.1_p20110225/image//etc/../../proxychains-3.1_p20110225/proxychains/proxychains.conf': No such file or directory (...) It looks like it would be trivial to correct but I lack the time right now, However it was enough to grab the /usr/lib32/* files from the image dir and solve the issue.
we are not adding handcoded multilib support to arbitrary packages *** This bug has been marked as a duplicate of bug 145737 ***