Click to See Complete Forum and Search --> : Sybase access with python


WakeBdr
01-24-2002, 10:27 AM
Anyone know of a good python sybase module and where to find it?

WakeBdr
01-25-2002, 10:57 AM
OK, I finally got a hold of ctsybase, which I have used before, but I am having some problems. I get the following output when compiling python again:
gcc -Xlinker -export-dynamic -o python \
Modules/python.o \
libpython2.2.a -ldl -lpthread -lutil -L/usr/local/sybase/lib -lblk -lct -lcs -lsytcl -lcomn -lintl -ltli -lm
/usr/bin/ld: cannot find -lsytcl
collect2: ld returned 1 exit status
make: *** [python] Error 1

Any ideas?

bwkaz
01-25-2002, 03:30 PM
Are you sure the sybase libs got put into /usr/local/sybase/lib? It doesn't look like they did. What prefix did you use when you installed them?

WakeBdr
01-26-2002, 12:55 AM
Yes, the libraries are in /usr/local/sybase/lib

bwkaz
01-26-2002, 11:44 AM
Well, I'm not really sure.

If a file named libsytcl.so exists in that directory, then I don't know.