[python-sybase] Can't build 0.36 on MacOS X 10.3 with ASE 12.5.1

David Casti david at neosynapse.net
Sat, 3 Jan 2004 00:19:03 -0500


Hello,

I'm trying to build 0.36 on MacOS X 10.3 with Sybase ASE 12.5.1 
installed.  The installer is choking on sybasect --

building 'sybasect' extension
gcc -Wl,-F. -Wl,-F. -bundle -framework Python 
build/temp.darwin-7.2.0-Power_Macintosh-2.3/blk.o 
build/temp.darwin-7.2.0-Power_Macintosh-2.3/databuf.o 
build/temp.darwin-7.2.0-Power_Macintosh-2.3/cmd.o 
build/temp.darwin-7.2.0-Power_Macintosh-2.3/conn.o 
build/temp.darwin-7.2.0-Power_Macintosh-2.3/ctx.o 
build/temp.darwin-7.2.0-Power_Macintosh-2.3/datafmt.o 
build/temp.darwin-7.2.0-Power_Macintosh-2.3/iodesc.o 
build/temp.darwin-7.2.0-Power_Macintosh-2.3/locale.o 
build/temp.darwin-7.2.0-Power_Macintosh-2.3/msgs.o 
build/temp.darwin-7.2.0-Power_Macintosh-2.3/numeric.o 
build/temp.darwin-7.2.0-Power_Macintosh-2.3/money.o 
build/temp.darwin-7.2.0-Power_Macintosh-2.3/datetime.o 
build/temp.darwin-7.2.0-Power_Macintosh-2.3/sybasect.o 
-L/Applications/Sybase/System/OCS-12_5/lib -o 
build/lib.darwin-7.2.0-Power_Macintosh-2.3/sybasect.so
ld: Undefined symbols:
_blk_alloc
_blk_bind
_blk_describe
(and about 50 other symbols)

-- but all of these symbols are present in libraries which can be found 
at /Applications/Sybase/System/OCS-12_5/lib, clearly pointed to by 
gcc's -L flag.

Any suggestions?
David.