wasm-demo/demo/ermis-f/python_m/cur/1760

48 lines
1.3 KiB
Plaintext

From: aa8vb at yahoo.com (Randall Hopper)
Date: Mon, 24 May 1999 09:10:24 -0400
Subject: Loading modules on a DEC - error
Message-ID: <19990524091024.A761962@vislab.epa.gov>
Content-Length: 1089
X-UID: 1760
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
>>>
------------------------------------------------------------------------------