ejabberd unable to load driver '/lib/ejabberd/priv/lib/sha_drv.so'
2011-10-19 18:23
821 查看
今天我本本升级ubuntu 到11.10后,发现之前安装的ejabberd启动出现这个错误:
=ERROR REPORT==== 18-Aug-2011::20:01:01 ===
C(<0.39.0>:sha:53) : unable to load driver '/lib/ejabberd/priv/lib/sha_drv.so': wrong ELF class: ELFCLASS32
大概知道编译出了问题,google了一翻,原来是openssl libary 的路径可能改变了,查看一下安装在哪了:
>ldconfig -p | grep ssl
libssl3.so (libc6) => /usr/lib/i386-linux-gnu/libssl3.so
libssl.so.1.0.0 (libc6) => /lib/i386-linux-gnu/libssl.so.1.0.0
libssl.so.1.0.0 (libc6) => /usr/lib/i386-linux-gnu/libssl.so.1.0.0
libssl.so.0.9.8 (libc6) => /lib/libssl.so.0.9.8
libssl.so.0.9.8 (libc6) => /usr/lib/libssl.so.0.9.8
libssl.so (libc6) => /usr/lib/i386-linux-gnu/libssl.so
libgnutls-openssl.so.26 (libc6) => /usr/lib/i386-linux-gnu/libgnutls-openssl.so.26
重新编译ejabberd
./make clean
./configure --with-openssl=/usr/lib/i386-linux-gnu/
make
make install
搞掂
=ERROR REPORT==== 18-Aug-2011::20:01:01 ===
C(<0.39.0>:sha:53) : unable to load driver '/lib/ejabberd/priv/lib/sha_drv.so': wrong ELF class: ELFCLASS32
大概知道编译出了问题,google了一翻,原来是openssl libary 的路径可能改变了,查看一下安装在哪了:
>ldconfig -p | grep ssl
libssl3.so (libc6) => /usr/lib/i386-linux-gnu/libssl3.so
libssl.so.1.0.0 (libc6) => /lib/i386-linux-gnu/libssl.so.1.0.0
libssl.so.1.0.0 (libc6) => /usr/lib/i386-linux-gnu/libssl.so.1.0.0
libssl.so.0.9.8 (libc6) => /lib/libssl.so.0.9.8
libssl.so.0.9.8 (libc6) => /usr/lib/libssl.so.0.9.8
libssl.so (libc6) => /usr/lib/i386-linux-gnu/libssl.so
libgnutls-openssl.so.26 (libc6) => /usr/lib/i386-linux-gnu/libgnutls-openssl.so.26
重新编译ejabberd
./make clean
./configure --with-openssl=/usr/lib/i386-linux-gnu/
make
make install
搞掂
相关文章推荐
- PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20121212/pdo_mysql.so' - /us
- PHP Warning Unable to load dynamic library 'E:/lib/php-5.2.17/ext/php_mysqli.dll'
- fatal error: malformed or corrupted AST file: 'Unable to load module Darwin.pcm 问题解决
- MAVEN Error:HV000183: Unable to load 'javax.el.ExpressionFactory'. Check that you have the EL depend
- Malformed or corrupted AST file: 'Unable to load module "...
- FreeBSD下编译Fontconfig时提示src/.libs/libfontconfig.so: undefined reference to `xmlCreatePushParserCtxt' 的解决办法
- PHP Warning: PHP Startup: Unable to load dynamic library './php_mysql.dll' - /xd5/xd2/xb2/xbb/xb5/xbd/xd6/xb8/xb6/xa8/xb5/xc4/x
- libGL error: unable to load driver: i965_dri.so
- Swift使用CoreData报错:CoreData: warning: Unable to load class named 'xxx' for entity 'xxx'.
- Unable to load DLL 'SQLite.Interop.dll' 问题的解决方案
- Warning: PHP Startup: Unable to load dynamic library 'php/ext\php_pgsql.dll' - %1 不是有效的 Win32 应用程序
- Android Studio导入Fresco项目编译报错unable to expand TAR 'imagepipeline\build\downloads\libjpeg-turbo-1.3.1.tar.gz'解决
- myeclipse Can't load library: /tmp/swtlib-32/libswt-mozilla-gtk.so解决
- fatal error: malformed or corrupted AST file: 'Unable to load module Darwin.pcm 问题解决
- 使用不同版本XCode出现的问题fatal error: malformed or corrupted AST file: 'Unable to load module
- Fix: 'Unable to load one or more of the requested types' Errors
- Unable to load DLL 'OraOps10.dll
- libhighgui.so: undefined reference to `cvCreateCameraCapture_V4L(int)'
- malformed or corrupted AST file: 'Unable to load module "/Users/smile/Library/Developer/Xcode/Deri的解
- fatal error: malformed or corrupted AST file: 'Unable to load module Darwin.pcm 问题解决