199 % python Python 1.5.2 (#1, May 20 1999, 13:54:05) [GCC egcs-2.91.66 19990314 (egcs-1.1.2 on sunos5 Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
import BTree Traceback (innermost last): File "<stdin>", line 1, in ? ImportError: ld.so.1: python: fatal: relocation error: file ./BTree.so: symbol PyImport_ImportModule: referenced symbol not found import Missing Traceback (innermost last): File "<stdin>", line 1, in ? ImportError: ld.so.1: python: fatal: relocation error: file ./Missing.so: symbol PyImport_ImportModule: referenced symbol not found
and I'm completely stumped.
Is it anything to do with the way I've compiled up Python by any chance? Anyone who's compiled up Python 1.5.2 under Solaris have any thoughts?
Have you enabled shared library support during python compilation? Check the Modules/Setup file in your Python directory and find a line whith the entry: *shared* It should be uncommented. Pavlos