compile python-ldap on macosx

Jens Vagelpohl jens at zope.com
Fri Oct 25 14:39:49 CEST 2002


now that i am looking at it, why does it say something about building 
for the i386 architecture in the build output? something about your 
build is horribly wrong.

jens


On Friday, Oct 25, 2002, at 08:21 US/Eastern, J. Scholtes wrote:
> gcc -arch i386 -arch ppc -bundle -flat_namespace -undefined suppress 
> build/temp.darwin-6.1-Power Macintosh-2.2/LDAPObject.o 
> build/temp.darwin-6.1-Power Macintosh-2.2/common.o 
> build/temp.darwin-6.1-Power Macintosh-2.2/constants.o 
> build/temp.darwin-6.1-Power Macintosh-2.2/errors.o 
> build/temp.darwin-6.1-Power Macintosh-2.2/functions.o 
> build/temp.darwin-6.1-Power Macintosh-2.2/schema.o 
> build/temp.darwin-6.1-Power Macintosh-2.2/ldapmodule.o 
> build/temp.darwin-6.1-Power Macintosh-2.2/linkedlist.o 
> build/temp.darwin-6.1-Power Macintosh-2.2/message.o 
> build/temp.darwin-6.1-Power Macintosh-2.2/version.o 
> build/temp.darwin-6.1-Power Macintosh-2.2/options.o 
> -L/Library/OpenLDAP/lib -Wl,-R/Library/OpenLDAP/lib -lldap -llber 
> -lresolv -o build/lib.darwin-6.1-Power Macintosh-2.2/_ldap.so
> ld: for architecture i386
> ld: unknown flag: -R/Library/OpenLDAP/lib
> error: command 'gcc' failed with exit status 1






More information about the python-ldap mailing list