|
From: <m.d...@BG...> - 2004-06-10 06:11:52
|
Hi Skip,
thanks a lot!
Works immediately and a lot easier than using ldconfig.
I am still stuck with what seems to be an Sybase error though:
>>> db =3D Sybase.connect('LINUX', 'sa', 'XXX')
>>> c=3Ddb.cursor()
>>> c.callproc('sp_help')
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.3/site-packages/Sybase.py", line 653, in =
callproc
self.description =3D fetcher.start(self.arraysize, out_params)
File "/usr/lib/python2.3/site-packages/Sybase.py", line 338, in start
return _FetchNow.start(self, arraysize)
File "/usr/lib/python2.3/site-packages/Sybase.py", line 262, in start
self._raise_error(Error, 'ct_send')
File "/usr/lib/python2.3/site-packages/Sybase.py", line 287, in =
_raise_error
raise exc(text)
Sybase.Error: ct_send
thanks,
Markus
-----Original Message-----
From: Skip Montanaro [mailto:sk...@po...]
Sent: Mittwoch, 9. Juni 2004 15:00
To: D=F6ring, Markus
Cc: pyt...@ww...
Subject: Re: [python-sybase] Python Sybase-0.36 module with SUSE Linux
9.0
Try running=20
python setup.py build_ext --help
There is a --rpath flag you can give when building extensions. I think
something like
python setup.py clean -a
python setup.py build_ext --rpath=3D$SYBASE_OCS/lib
python setup.py install
would probably do the trick.
--=20
Skip Montanaro
Got gigs? http://www.musi-cal.com/submit.html
Got spam? http://www.spambayes.org/
sk...@po...
|