Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 383913

Summary: net-misc/proxychains: multilib support
Product: Gentoo Linux Reporter: Alexandre Nuno Milheiro <nunomilheiro>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild for multilib proxychains

Description Alexandre Nuno Milheiro 2011-09-21 10:38:05 UTC
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
Comment 1 Alexandre Nuno Milheiro 2011-09-21 10:44:12 UTC
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.
Comment 2 SpanKY gentoo-dev 2011-09-25 19:45:21 UTC
we are not adding handcoded multilib support to arbitrary packages

*** This bug has been marked as a duplicate of bug 145737 ***