trouble installing 2.0.0pre04

Michael Schwartz mike at id-vault.com
Sat Apr 20 19:27:25 CEST 2002


Hello,

I'm having trouble building python-ldap 2.0.0pre04... any hints /
suggestions would be greatly appeciated!

tia,

Mike Schwartz
mike at id-vault.com

========================= output ===============================

# python setup.py build
running build
running build_py
warning: build_py: file Lib/ldap.py (for module ldap) not found
not copying Lib/ldap/__init__.py (output up-to-date)
not copying Lib/ldap/async.py (output up-to-date)
not copying Lib/ldap/functions.py (output up-to-date)
not copying Lib/ldap/ldapobject.py (output up-to-date)
not copying Lib/ldap/modlist.py (output up-to-date)
not copying Lib/ldapurl.py (output up-to-date)
not copying Lib/ldif.py (output up-to-date)
warning: build_py: file Lib/ldap.py (for module ldap) not found
running build_ext
building '_ldap' extension
skipping Modules/LDAPObject.c
(build/temp.freebsd-4.4-RELEASE-i386-2.1/LDAPObject.o up-to-date)
skipping Modules/common.c
(build/temp.freebsd-4.4-RELEASE-i386-2.1/common.o up-to-date)
skipping Modules/constants.c
(build/temp.freebsd-4.4-RELEASE-i386-2.1/constants.o up-to-date)
skipping Modules/errors.c
(build/temp.freebsd-4.4-RELEASE-i386-2.1/errors.o up-to-date)
skipping Modules/functions.c
(build/temp.freebsd-4.4-RELEASE-i386-2.1/functions.o up-to-date)
skipping Modules/ldapmodule.c
(build/temp.freebsd-4.4-RELEASE-i386-2.1/ldapmodule.o up-to-date)
skipping Modules/linkedlist.c
(build/temp.freebsd-4.4-RELEASE-i386-2.1/linkedlist.o up-to-date)
skipping Modules/message.c
(build/temp.freebsd-4.4-RELEASE-i386-2.1/message.o up-to-date)
skipping Modules/template.c
(build/temp.freebsd-4.4-RELEASE-i386-2.1/template.o up-to-date)
skipping Modules/version.c
(build/temp.freebsd-4.4-RELEASE-i386-2.1/version.o up-to-date)
skipping Modules/options.c
(build/temp.freebsd-4.4-RELEASE-i386-2.1/options.o up-to-date)
cc -shared -pthread build/temp.freebsd-4.4-RELEASE-i386-2.1/LDAPObject.o
build/temp.freebsd-4.4-RELEASE-i386-2.1/common.o
build/temp.freebsd-4.4-RELEASE-i386-2.1/constants.o
build/temp.freebsd-4.4-RELEASE-i386-2.1/errors.o
build/temp.freebsd-4.4-RELEASE-i386-2.1/functions.o
build/temp.freebsd-4.4-RELEASE-i386-2.1/ldapmodule.o
build/temp.freebsd-4.4-RELEASE-i386-2.1/linkedlist.o
build/temp.freebsd-4.4-RELEASE-i386-2.1/message.o
build/temp.freebsd-4.4-RELEASE-i386-2.1/template.o
build/temp.freebsd-4.4-RELEASE-i386-2.1/version.o
build/temp.freebsd-4.4-RELEASE-i386-2.1/options.o -L/usr/lib
-L/usr/local/lib -llber -lldap -lresolv -o
build/lib.freebsd-4.4-RELEASE-i386-2.1/_ldap.so
/usr/libexec/elf/ld: cannot find -lresolv
error: command 'cc' failed with exit status 1


========================= setup.cfg =========================

# Section for compiling the C extension module
# for wrapping OpenLDAP 2 libs

[_ldap]
class = OpenLDAP2
library_dirs = /usr/lib /usr/local/lib
include_dirs = /usr/include /usr/local/include
libs = lber ldap resolv

# Installation options

[install]

compile = 1
optimize = 1

=============================================================


_______________________________________________
Python-LDAP-dev mailing list
Python-LDAP-dev at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev





More information about the python-crypto mailing list