Problem embedding C++ code
Alex
alex at somewhere.round.here
Fri Jul 2 22:38:38 EDT 1999
More information about the Python-list mailing list
Fri Jul 2 22:38:38 EDT 1999
- Previous message (by thread): Python GUIs: Portability or not?
- Next message (by thread): Problem embedding C++ code
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I had this problem a while back. It went away when we made everything that gets included a shared library. That included the C++ library, I think... it was on linux, and I think we had to include libg++.so instead of libg++.a. HTH, and good luck. Alex. > CC -c -KPIC link-wrap.c -I/home/mdeshpan/SW/include/python1.5 > "link-wrap.c", line 13: Warning: String literal converted to char* in > formal argument 1 in call to Py_BuildValue(char*, ...). > 1 Warning(s) detected. > CC -G link-wrap.o -lapic -lpthread -o link.so > daffy:~/Swig$python > Python 1.5.2 (#3, Jun 29 1999, 11:17:23) [C] on sunos5 > Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam > >>> import link > Traceback (innermost last): > File "<stdin>", line 1, in ? > ImportError: ld.so.1: python: fatal: relocation error: file > ./libapic.so: symbol _ex_rethrow_q: referenced symbol not found This is a gratuitous signature, included so that the news server won't complain that I've got more included text than new text. Snappy, huh?
- Previous message (by thread): Python GUIs: Portability or not?
- Next message (by thread): Problem embedding C++ code
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list