[PYTHON MATRIX-SIG] Strange problem importing Numeric

Perry Stoll pas@xis.xerox.com
Thu, 23 Jan 1997 13:43:02 PST


On 23 Jan, Andy Dustman wrote:
> On Thu, 23 Jan 1997, David Ascher wrote:
> 

> Okay, so this is not so much a problem with Python, but a general shared
> library problem. I made a symlink in /usr/lib to real library in
> sharedmodules and that has corrected the problem. I'll have to figure out
> what exactly needs to be done on SGI to change the path for shared
> libraries. Thanx, guys.
> 

Isn't there a flag (-r?) to ld on SGI to tell it to remember the
directory where it found the shared library to satisfy the initial
linking? 

FWIW, I've just installed NumPy on SunOS 4.1.3 and had a problem
building it dynamically. Compilation went fine, but loading ranlib or
fftpack caused python to quit: ld gave up, complaining it couldn't find
_sqrt, and for fftpack ld can't find _acos. The problem goes away if I
link fast_umath/umath statically. So... the math lib wasn't satisfying
any references when python was being linked, and so wasn't being linked
in?

-Perry
 <pas@xis.xerox.com>



_______________
MATRIX-SIG  - SIG on Matrix Math for Python

send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
_______________