我在EC2的Ubuntu上安装了Passenger 3.0.7(也安装了3.0.6)。
我无法安装它。当我运行:RAKE APACHE2
我得到错误:/usr/lib/libldap_r-2.4.so。2:对' sasl_global_listmech@SASL2'的未定义引用
有人知道为什么吗?或者如何修复它?
creating libev.la
(cd .libs && rm -f libev.la && ln -s ../libev.la libev.la)
g++ ext/common/LoggingAgent/Main.cpp -o agents/PassengerLoggingAgent -Iext -Iext/common -Iext/libe -I/bitnami/rubystackDev-linux/output/common/include -DHAS_CURL_EASY_RESET -D_REENTRANT -I/usr/loal/include -DHASH_NAMESPACE="__gnu_cxx" -DHASH_NAMESPACE="__gnu_cxx" -DHASH_FUN_H="<hash_fun.h>" -HAS_SFENCE -DHAS_LFENCE -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS ext/common/libpassengercommon.a ext/common/libboost_oxt.a ext/libev/.libs/libev.a -L/bitnami/rubystackDev-linux/output/comon/lib -lcurl -L/bitnami/rubystackDev-linux/output/common/lib -L/bitnami/rubystackDev-linux/outpu/common/lib -lz -lpthread -rdynamic
/usr/lib/libldap_r-2.4.so.2: undefined reference to `sasl_global_listmech@SASL2'
/usr/lib/libldap_r-2.4.so.2: undefined reference to `sasl_set_mutex@SASL2'
/usr/lib/libldap_r-2.4.so.2: undefined reference to `sasl_encode@SASL2'
/usr/lib/libldap_r-2.4.so.2: undefined reference to `sasl_client_start@SASL2'
/usr/lib/libldap_r-2.4.so.2: undefined reference to `sasl_client_init@SASL2'
/usr/lib/libldap_r-2.4.so.2: undefined reference to `sasl_errdetail@SASL2'
/usr/lib/libldap_r-2.4.so.2: undefined reference to `sasl_version@SASL2'
/usr/lib/libldap_r-2.4.so.2: undefined reference to `sasl_errstring@SASL2'
/usr/lib/libldap_r-2.4.so.2: undefined reference to `sasl_dispose@SASL2'
/usr/lib/libldap_r-2.4.so.2: undefined reference to `sasl_setprop@SASL2'
/usr/lib/libldap_r-2.4.so.2: undefined reference to `sasl_getprop@SASL2'
/usr/lib/libldap_r-2.4.so.2: undefined reference to `sasl_decode@SASL2'
/usr/lib/libldap_r-2.4.so.2: undefined reference to `sasl_client_step@SASL2'
/usr/lib/libldap_r-2.4.so.2: undefined reference to `sasl_client_new@SASL2'
collect2: ld returned 1 exit status
rake aborted!
Command failed with status (1): [g++ ext/common/LoggingAgent/Main.cpp -o ag...]
最好在http://code.google.com/p/phusion-passenger/issues/list上记录问题。我建议回到~3.0.2,看看是否可以。