K
kickslop
Clearly I am doing something braindead here with psycopg 1.1.21
(psycopg2 is not an option).
Any ideas? I get the same results when I build it with Red Hat's GCC
3.4.6 setup as well as our in-house GCC 3.3.5 setup.
Linux rcf-temp3 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:32:02 EDT 2006
x86_64 x86_64 x86_64 GNU/Linux
Python 2.3.4 (#1, Sep 26 2006, 17:25:54)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: dynamic module does not define init function
(initpsycopgmodule)
psycopg-1.1.21 % nm -a psycopgmodule.so | grep init
0000000000004748 T _init
0000000000005000 T initpsycopg
0000000000009770 T psyco_DBAPITypeObject_init
0000000000009580 T psyco_init_types
U pthread_mutex_init@@GLIBC_2.2.5
(psycopg2 is not an option).
Any ideas? I get the same results when I build it with Red Hat's GCC
3.4.6 setup as well as our in-house GCC 3.3.5 setup.
Linux rcf-temp3 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:32:02 EDT 2006
x86_64 x86_64 x86_64 GNU/Linux
Python 2.3.4 (#1, Sep 26 2006, 17:25:54)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: dynamic module does not define init function
(initpsycopgmodule)
psycopg-1.1.21 % nm -a psycopgmodule.so | grep init
0000000000004748 T _init
0000000000005000 T initpsycopg
0000000000009770 T psyco_DBAPITypeObject_init
0000000000009580 T psyco_init_types
U pthread_mutex_init@@GLIBC_2.2.5