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
(initpsycopgmod ule)
psycopg-1.1.21 % nm -a psycopgmodule.s o | grep init
000000000000474 8 T _init
000000000000500 0 T initpsycopg
000000000000977 0 T psyco_DBAPIType Object_init
000000000000958 0 T psyco_init_type s
U pthread_mutex_i nit@@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.
>>import psycopgmodule
File "<stdin>", line 1, in ?
ImportError: dynamic module does not define init function
(initpsycopgmod ule)
>>>
000000000000474 8 T _init
000000000000500 0 T initpsycopg
000000000000977 0 T psyco_DBAPIType Object_init
000000000000958 0 T psyco_init_type s
U pthread_mutex_i nit@@GLIBC_2.2. 5
Comment