linux-l: -------------------------------python------------

Michael Dietrich mdt at mdt.in-berlin.de
Fr Apr 24 03:38:39 CEST 1998


beim erzeugen eines python-modules in c stosz ich auf ein nettes
problem: 
	echo import mSQL | python
antwortet
	Segmentation fault
hm.
da ist aber nichts komisch dran (und alles wie im buch vom martin) 
ich erzeuge das mit dem befehl (wie im buch steht):
	cc -I/usr/lib/python1.4/config -I/usr/include/python -g -fPIC \
	 -c mSQL.c -o mSQL.o
	ld -lm -lmsql -shared -o mSQL.so mSQL.o
der befehl
	ldd mSQLmodule.so 
bringt nur
	mSQLmodule.so: error in loading shared libraries
	mSQLmodule.so: cannot open shared object file: No such file or directory
welche option fehlt mir da?

-- 
-----------------------------------------------------Michael Dietrich
                                  private mailto:mdt at mdt.in-berlin.de
                                         http://mdt.in-berlin.de/~mdt
                                commercial mailto:mdt at stargate.all.de
                                                  fax:+49.171.8029279
                                                   PGP KeyID:28033EFD




Mehr Informationen über die Mailingliste linux-l