Passenger 安装失败并显示“RAKE APACHE2”给出 libldap_r-2.4.so.2: “对 `sasl_... 的未定义引用”
我在 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...]
I installed Passenger 3.0.7 (also happens with 3.0.6) on Ubuntu on EC2.
I can't get it to install. When I run: RAKE APACHE2
I get the error:
/usr/lib/libldap_r-2.4.so.2: undefined reference to `sasl_global_listmech@SASL2'
Does anyone know why? Or how to fix it?
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...]
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
最好在 http://code.google.com/ 上记录问题p/phusion-passenger/issues/list 。我建议回到 ~3.0.2 并看看是否有效。
It might be good to log an issue on http://code.google.com/p/phusion-passenger/issues/list . I'd suggest going back to ~3.0.2 and seeing if that works.