Ke Wang added the comment:
Above patch failed in a TabError.
Attached a new one.
Added file: http://bugs.python.org/file13133/util.diff
___
Python tracker
<http://bugs.python.org/issue5
Ke Wang added the comment:
On Solaris, we can use crle to find system library path.
Attached a patch to get find_library work with Solaris.
--
keywords: +patch
Added file: http://bugs.python.org/file13129/util.diff
___
Python tracker
<h
Ke Wang added the comment:
I tested the command 'gcc -Wl,-t' on Ubuntu, it works fine.
But on Solaris, it doesn't work as expected.
Finally I find that gcc does not use GNU ld on Solaris, instead, it uses
SUN ld.
___
Python tracker
<http
New submission from Ke Wang :
Under Solaris, find_library can not give the correct path.
Solaris does not have /sbin/ldconfig, so _findLib_gcc is used.
def _findLib_gcc(name):
expr = r'[^\(\)\s]*lib%s\.[^\(\)\s]*' % re.escape(name)
fdout, ccout = tempfi