J
jimburton
Hi, I'm using python 2.4, DB2 8.1 (with development libraries) on
ubuntu linux 5.10. I installed PyDB2 1.1 but when I try to connect to
any database I've got this:
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.4/site-packages/DB2.py", line 271, in __init__
self._db = _db2.connect(*args, **kwargs)
_db2.DatabaseError: ('I', -1, 'Invalid Handle')
After installing pydb2 I got errors about the missing file libdb2.so.1
so I copied this file from /opt/IBM/db2/V8.1/lib into /usr/lib - am I
now missing other libs? If so how do I let python know about the db2
libs?
Thanks!
ubuntu linux 5.10. I installed PyDB2 1.1 but when I try to connect to
any database I've got this:
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.4/site-packages/DB2.py", line 271, in __init__
self._db = _db2.connect(*args, **kwargs)
_db2.DatabaseError: ('I', -1, 'Invalid Handle')
After installing pydb2 I got errors about the missing file libdb2.so.1
so I copied this file from /opt/IBM/db2/V8.1/lib into /usr/lib - am I
now missing other libs? If so how do I let python know about the db2
libs?
Thanks!