incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Germain Maurice <germain.maur...@linkfluence.net>
Subject Compilation problem
Date Tue, 11 May 2010 12:56:40 GMT
Hi all,

I have some compilation problem with apache-couchdb-0.11.0 on Ubuntu 9.10 :

- With "aptitude install libcurl4-gnutls-dev" :

/bin/bash ../../../libtool --tag=CC   --mode=link gcc  -g -O2 -lcurl 
-L/usr/local/lib -L/opt/local/lib -I/usr/local/lib/erlang/usr/include 
-I/usr/lib/erlang/usr/include -I/usr/local/lib/erlang/usr/include 
-I/opt/local/lib/erlang/usr/include -I/usr/include -I/usr/include/js 
-I/usr/include/mozjs -I/usr/local/include -I/opt/local/include 
-I/usr/local/include/js -I/opt/local/include/js -DXP_UNIX  -lm  -o 
couchjs couchjs-http.o couchjs-main.o couchjs-utf8.o -lcurl -lmozjs 
-L/usr/local/lib -L/opt/local/lib -lpthread  -lcrypt

libtool: link: gcc -g -O2 -I/usr/local/lib/erlang/usr/include 
-I/usr/lib/erlang/usr/include -I/usr/local/lib/erlang/usr/include 
-I/opt/local/lib/erlang/usr/include -I/usr/include -I/usr/include/js 
-I/usr/include/mozjs -I/usr/local/include -I/opt/local/include 
-I/usr/local/include/js -I/opt/local/include/js -DXP_UNIX -o couchjs 
couchjs-http.o couchjs-main.o couchjs-utf8.o  -L/usr/local/lib 
-L/opt/local/lib -lm /usr/lib/libcurl-gnutls.so -lmozjs -lpthread -lcrypt

/usr/lib/libcurl-gnutls.so: undefined reference to 
`ber_free@OPENLDAP_2.4_2'
/usr/lib/libcurl-gnutls.so: undefined reference to 
`ldap_simple_bind_s@OPENLDAP_2.4_2'
/usr/lib/libcurl-gnutls.so: undefined reference to 
`ldap_next_entry@OPENLDAP_2.4_2'
/usr/lib/libcurl-gnutls.so: undefined reference to 
`ldap_first_attribute@OPENLDAP_2.4_2'
/usr/lib/libcurl-gnutls.so: undefined reference to 
`ldap_memfree@OPENLDAP_2.4_2'
/usr/lib/libcurl-gnutls.so: undefined reference to 
`ldap_get_dn@OPENLDAP_2.4_2'
/usr/lib/libcurl-gnutls.so: undefined reference to 
`ldap_unbind_s@OPENLDAP_2.4_2'
/usr/lib/libcurl-gnutls.so: undefined reference to 
`ldap_msgfree@OPENLDAP_2.4_2'
/usr/lib/libcurl-gnutls.so: undefined reference to 
`ldap_get_values_len@OPENLDAP_2.4_2'
/usr/lib/libcurl-gnutls.so: undefined reference to 
`ldap_set_option@OPENLDAP_2.4_2'
/usr/lib/libcurl-gnutls.so: undefined reference to 
`ldap_free_urldesc@OPENLDAP_2.4_2'
/usr/lib/libcurl-gnutls.so: undefined reference to 
`ldap_url_parse@OPENLDAP_2.4_2'
/usr/lib/libcurl-gnutls.so: undefined reference to 
`ldap_search_s@OPENLDAP_2.4_2'
/usr/lib/libcurl-gnutls.so: undefined reference to 
`ldap_init@OPENLDAP_2.4_2'
/usr/lib/libcurl-gnutls.so: undefined reference to 
`ldap_err2string@OPENLDAP_2.4_2'
/usr/lib/libcurl-gnutls.so: undefined reference to 
`ldap_first_entry@OPENLDAP_2.4_2'
/usr/lib/libcurl-gnutls.so: undefined reference to 
`ldap_next_attribute@OPENLDAP_2.4_2'
/usr/lib/libcurl-gnutls.so: undefined reference to 
`ldap_value_free_len@OPENLDAP_2.4_2'

- With "aptitude install libcurl4-openssl-dev" :

/bin/bash ../../../libtool --tag=CC   --mode=link gcc  -g -O2 -lcurl 
-L/usr/local/lib -L/opt/local/lib -I/usr/local/lib/erlang/usr/include 
-I/usr/lib/erlang/usr/include -I/usr/local/lib/erlang/usr/include 
-I/opt/local/lib/erlang/usr/include -I/usr/include -I/usr/include/js 
-I/usr/include/mozjs -I/usr/local/include -I/opt/local/include 
-I/usr/local/include/js -I/opt/local/include/js -DXP_UNIX  -lm  -o 
couchjs couchjs-http.o couchjs-main.o couchjs-utf8.o -lcurl -lmozjs 
-L/usr/local/lib -L/opt/local/lib -lpthread  -lcrypt
libtool: link: gcc -g -O2 -I/usr/local/lib/erlang/usr/include 
-I/usr/lib/erlang/usr/include -I/usr/local/lib/erlang/usr/include 
-I/opt/local/lib/erlang/usr/include -I/usr/include -I/usr/include/js 
-I/usr/include/mozjs -I/usr/local/include -I/opt/local/include 
-I/usr/local/include/js -I/opt/local/include/js -DXP_UNIX -o couchjs 
couchjs-http.o couchjs-main.o couchjs-utf8.o  -L/usr/local/lib 
-L/opt/local/lib -lm /usr/lib/libcurl.so -lmozjs -lpthread -lcrypt
/usr/lib/libcurl.so: undefined reference to 
`ldap_set_option@OPENLDAP_2.4_2'
/usr/lib/libcurl.so: undefined reference to `ldap_get_dn@OPENLDAP_2.4_2'
/usr/lib/libcurl.so: undefined reference to `ldap_msgfree@OPENLDAP_2.4_2'
/usr/lib/libcurl.so: undefined reference to 
`ldap_simple_bind_s@OPENLDAP_2.4_2'
/usr/lib/libcurl.so: undefined reference to 
`ldap_next_entry@OPENLDAP_2.4_2'
/usr/lib/libcurl.so: undefined reference to `ldap_search_s@OPENLDAP_2.4_2'
/usr/lib/libcurl.so: undefined reference to `ldap_memfree@OPENLDAP_2.4_2'
/usr/lib/libcurl.so: undefined reference to `ber_free@OPENLDAP_2.4_2'
/usr/lib/libcurl.so: undefined reference to 
`ldap_value_free_len@OPENLDAP_2.4_2'
/usr/lib/libcurl.so: undefined reference to 
`ldap_next_attribute@OPENLDAP_2.4_2'
/usr/lib/libcurl.so: undefined reference to 
`ldap_first_entry@OPENLDAP_2.4_2'
/usr/lib/libcurl.so: undefined reference to 
`ldap_err2string@OPENLDAP_2.4_2'
/usr/lib/libcurl.so: undefined reference to 
`ldap_free_urldesc@OPENLDAP_2.4_2'
/usr/lib/libcurl.so: undefined reference to `ldap_url_parse@OPENLDAP_2.4_2'
/usr/lib/libcurl.so: undefined reference to `ldap_unbind_s@OPENLDAP_2.4_2'
/usr/lib/libcurl.so: undefined reference to 
`ldap_first_attribute@OPENLDAP_2.4_2'
/usr/lib/libcurl.so: undefined reference to 
`ldap_get_values_len@OPENLDAP_2.4_2'
/usr/lib/libcurl.so: undefined reference to `ldap_init@OPENLDAP_2.4_2'

I hope you can help me, thank you.

-- 
Germain Maurice
Administrateur Système/Réseau
Tel : +33.(0)1.42.43.54.33

http://www.linkfluence.net


Mime
View raw message