Loading modules on a DEC - error
Randall Hopper
aa8vb at yahoo.com
Mon May 24 09:10:24 EDT 1999
Does anyone have some tips for building a Python C module on a DEC?
This is code that works just fine as a module on SGI and Solaris.
So it could be due to DEC's dlopen ideosyncracies.
Randall
------------------------------------------------------------------------------
> uname -s -p -r -v -m
OSF1 V4.0 386 alpha
> ld -shared -rpath /home/rhh/test -L/home/rhh/test \
-o A.so TMP/*.o \
-lXext -lXm -lXt -lX11 -lfor -lUfor -lots -lm -lrpcsvc -lc -lm
> ld -shared -rpath /home/rhh/test -L/home/rhh/test \
-o Bc.so Bc_wrap.o \
A.so -lXext -lXm -lXt -lX11 -lfor -lUfor \
-lots -lm -lc; rm -f so_locations
> file Bc.so
Bc.so: COFF format alpha shared library, demand paged executable \
or object module not stripped - version 3.11-10
> python
Python 1.5.2 (#1, May 20 1999, 13:33:13) [C] on osf1V4
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import Bc
Traceback (innermost last):
File "<stdin>", line 1, in ?
ImportError: dlopen: cannot load ./Bc.so
>>>
------------------------------------------------------------------------------
More information about the Python-list
mailing list