python-ldap-2.0.0pre05 and openldap-2.1.3

mbagepll at memphis.edu mbagepll at memphis.edu
Mon Jul 29 19:03:36 CEST 2002


Hi,

I have got openldap installed completely. I have checked for liblber.a 
(this time) and it was poperly installed. Now my problem here is - 
after changing setup.cfg (file in python-ldap-2.0.0pre05), such that 
the 'library_dir' and 'include_dir' point to the openldap 'libraries' 
directory and 'include' directoy respectively, I ran the command -
 'python setup.py build', which gave the following error-

/libraries/liblber.a(sockbuf.o)
ber_int_sb_close                    
0x5c        /opt/local/web/ldap/openldap-2.0.25/libraries/liblber.a
(sockbuf.o)
ber_pvt_sb_copy_out                 
0xe74       /opt/local/web/ldap/openldap-2.0.25/libraries/liblber.a
(sockbuf.o)
ber_pvt_sb_copy_out                 
0xf10       /opt/local/web/ldap/openldap-2.0.25/libraries/liblber.a
(sockbuf.o)
ld: fatal: relocations remain against allocatable but non-writable 
sections
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1

Does any one know what this error is?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: "mbagepll.vcf
Type: text/x-vcard
Size: 258 bytes
Desc: Card for <mbagepll at memphis.edu>
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20020729/dbeb2d63/attachment.vcf>


More information about the python-ldap mailing list