couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Germain Maurice <germain.maur...@linkfluence.net>
Subject Re: Issues with replication
Date Thu, 06 May 2010 14:36:49 GMT
Hi all,

I still have this kind of compilation problem with apache-couchdb-0.11.0 
on Ubuntu 9.10, but it's a bit different from my previous problem :

- 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'


My previous compilation problem was :

- 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'



Le 24/03/10 10:32, Germain Maurice a écrit :
> Hi Randall,
>
> Really thank you for your answer.
>
> I tried to install the release 
> http://people.apache.org/~nslater/dist/0.11.0/apache-couchdb-0.11.0.tar.gz 
> which is submitted to vote, but the compilation failed on something 
> related to ldap. See the attached file.
>
>
> Randall Leeds a écrit :
>> I should add that if you cannot afford to upgrade to 0.11 for whatever
>> reason I have a backport I can provide for 0.10.1.
>>
>> On Tue, Mar 23, 2010 at 13:58, Randall Leeds 
>> <randall.leeds@gmail.com> wrote:
>>> Hi Germain,
>>>
>>> Your use case sounds very reasonable and there are similar production
>>> setups in use today. I have seen similar problems in production here
>>> and authored a patch that has made it into 0.11 that should help.
>>> http://issues.apache.org/jira/browse/COUCHDB-597
>>>
>>> However, at least one bug report remains claiming that this does not
>>> fix everything:
>>> https://issues.apache.org/jira/browse/COUCHDB-691
>>>
>>> [...]
>
>


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

http://www.linkfluence.net


Mime
View raw message