Re: Python-Sybase instalation problems
MichaĆ Sawicz <[email protected]> Wed, 26 Jan 2011 01:02:14 +0100
| Newsgroups | gmane.comp.python.sybase |
|---|---|
| Message-ID | <[email protected]> |
--===============0081962558966971646== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-T9vMT+V3Mx48H67wJWnD" --=-T9vMT+V3Mx48H67wJWnD Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dnia 2011-01-25, wto o godzinie 17:46 -0600, Robert Boehne pisze: > This symbol is defined by the ct library from Sybase, in your case=20 > you're replacing that with the freetds version. > So, you may not have linked to freetds properly, or you may just need > to add the directory where your freetds binaries are to > LD_LIBRARY_PATH. I suppose the linking's wrong - libct.so iBs missing: > $ ldd /usr/local/lib/python2.6/dist-packages/python_sybase-0.40pre1-py2.6= -linux-i686.egg/sybasect.so=20 > linux-gate.so.1 =3D> (0xffffe000) > libpthread.so.0 =3D> /lib/libpthread.so.0 (0xb8017000) > libc.so.6 =3D> /lib/libc.so.6 (0xb7ed1000) > /lib/ld-linux.so.2 (0xb8053000) But that suggests it's a problem in setup.py, no? here's a log from build_e= xt: > $ python setup.py build_ext -DHAVE_FREETDS > running build_ext > building 'sybasect' extension > creating build > creating build/temp.linux-i686-2.6 > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-= prototypes -fPIC -DWANT_BULKCOPY -DHAVE_DATETIME -DHAVE_DECIMAL -DHAVE_FREE= TDS=3D1 -I/opt/sybase/SYBSsa9/include -I/usr/include/python2.6 -c blk.c -o = build/temp.linux-i686-2.6/blk.o > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-= prototypes -fPIC -DWANT_BULKCOPY -DHAVE_DATETIME -DHAVE_DECIMAL -DHAVE_FREE= TDS=3D1 -I/opt/sybase/SYBSsa9/include -I/usr/include/python2.6 -c databuf.c= -o build/temp.linux-i686-2.6/databuf.o > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-= prototypes -fPIC -DWANT_BULKCOPY -DHAVE_DATETIME -DHAVE_DECIMAL -DHAVE_FREE= TDS=3D1 -I/opt/sybase/SYBSsa9/include -I/usr/include/python2.6 -c cmd.c -o = build/temp.linux-i686-2.6/cmd.o > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-= prototypes -fPIC -DWANT_BULKCOPY -DHAVE_DATETIME -DHAVE_DECIMAL -DHAVE_FREE= TDS=3D1 -I/opt/sybase/SYBSsa9/include -I/usr/include/python2.6 -c conn.c -o= build/temp.linux-i686-2.6/conn.o > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-= prototypes -fPIC -DWANT_BULKCOPY -DHAVE_DATETIME -DHAVE_DECIMAL -DHAVE_FREE= TDS=3D1 -I/opt/sybase/SYBSsa9/include -I/usr/include/python2.6 -c ctx.c -o = build/temp.linux-i686-2.6/ctx.o > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-= prototypes -fPIC -DWANT_BULKCOPY -DHAVE_DATETIME -DHAVE_DECIMAL -DHAVE_FREE= TDS=3D1 -I/opt/sybase/SYBSsa9/include -I/usr/include/python2.6 -c datafmt.c= -o build/temp.linux-i686-2.6/datafmt.o > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-= prototypes -fPIC -DWANT_BULKCOPY -DHAVE_DATETIME -DHAVE_DECIMAL -DHAVE_FREE= TDS=3D1 -I/opt/sybase/SYBSsa9/include -I/usr/include/python2.6 -c iodesc.c = -o build/temp.linux-i686-2.6/iodesc.o > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-= prototypes -fPIC -DWANT_BULKCOPY -DHAVE_DATETIME -DHAVE_DECIMAL -DHAVE_FREE= TDS=3D1 -I/opt/sybase/SYBSsa9/include -I/usr/include/python2.6 -c locale.c = -o build/temp.linux-i686-2.6/locale.o > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-= prototypes -fPIC -DWANT_BULKCOPY -DHAVE_DATETIME -DHAVE_DECIMAL -DHAVE_FREE= TDS=3D1 -I/opt/sybase/SYBSsa9/include -I/usr/include/python2.6 -c msgs.c -o= build/temp.linux-i686-2.6/msgs.o > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-= prototypes -fPIC -DWANT_BULKCOPY -DHAVE_DATETIME -DHAVE_DECIMAL -DHAVE_FREE= TDS=3D1 -I/opt/sybase/SYBSsa9/include -I/usr/include/python2.6 -c numeric.c= -o build/temp.linux-i686-2.6/numeric.o > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-= prototypes -fPIC -DWANT_BULKCOPY -DHAVE_DATETIME -DHAVE_DECIMAL -DHAVE_FREE= TDS=3D1 -I/opt/sybase/SYBSsa9/include -I/usr/include/python2.6 -c money.c -= o build/temp.linux-i686-2.6/money.o > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-= prototypes -fPIC -DWANT_BULKCOPY -DHAVE_DATETIME -DHAVE_DECIMAL -DHAVE_FREE= TDS=3D1 -I/opt/sybase/SYBSsa9/include -I/usr/include/python2.6 -c datetime.= c -o build/temp.linux-i686-2.6/datetime.o > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-= prototypes -fPIC -DWANT_BULKCOPY -DHAVE_DATETIME -DHAVE_DECIMAL -DHAVE_FREE= TDS=3D1 -I/opt/sybase/SYBSsa9/include -I/usr/include/python2.6 -c date.c -o= build/temp.linux-i686-2.6/date.o > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-= prototypes -fPIC -DWANT_BULKCOPY -DHAVE_DATETIME -DHAVE_DECIMAL -DHAVE_FREE= TDS=3D1 -I/opt/sybase/SYBSsa9/include -I/usr/include/python2.6 -c sybasect.= c -o build/temp.linux-i686-2.6/sybasect.o > creating build/lib.linux-i686-2.6 > gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-i6= 86-2.6/blk.o build/temp.linux-i686-2.6/databuf.o build/temp.linux-i686-2.6/= cmd.o build/temp.linux-i686-2.6/conn.o build/temp.linux-i686-2.6/ctx.o buil= d/temp.linux-i686-2.6/datafmt.o build/temp.linux-i686-2.6/iodesc.o build/te= mp.linux-i686-2.6/locale.o build/temp.linux-i686-2.6/msgs.o build/temp.linu= x-i686-2.6/numeric.o build/temp.linux-i686-2.6/money.o build/temp.linux-i68= 6-2.6/datetime.o build/temp.linux-i686-2.6/date.o build/temp.linux-i686-2.6= /sybasect.o -L/opt/sybase/SYBSsa9/lib -o build/lib.linux-i686-2.6/sybasect.= so Or maybe it's Debian's fault for mixing stuff up into /usr/lib/pyshared etc= .? --=20 Micha=C5=82 Sawicz <[email protected]> --=-T9vMT+V3Mx48H67wJWnD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEABECAAYFAk0/ZIYACgkQzQlUjpZYlbcNiQCghQNaEMFkNwNEMEPG5DyDrz8N pzcAnAuyolw8xp3ruWXEeDBzttmT5Gco =RJdL -----END PGP SIGNATURE----- --=-T9vMT+V3Mx48H67wJWnD-- --===============0081962558966971646== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d --===============0081962558966971646== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Python-sybase-misc mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/python-sybase-misc --===============0081962558966971646==--