将共享库与静态链接起来是不可移植的

时间:2013-05-17 11:51:00

标签: linux networking ubuntu shared-libraries

我正在尝试构建和编译 ntop ..我在这里遇到了问题..

sudo ./configure工作正常..

当我去sudo make时,我得到以下错误..

*** Warning: Linking the shared library libntop.la against the
*** static library ./nDPI/src/lib/.libs/libndpi.a is not portable!

gcc: error: ./nDPI/src/lib/.libs/libndpi.a: No such file or directory
make[2]: *** [libntop.la] Error 1
make[2]: Leaving directory `/home/ubuntu/ntop-5.0.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ubuntu/ntop-5.0.1'
make: *** [all] Error 2

我已经搜索了许多关于此问题的论坛..但我没有得到任何答案.. 非常感谢任何帮助..谢谢..

1 个答案:

答案 0 :(得分:-1)

在Debian和Ubuntu中,安装MySQL解决了这个错误!

aptitude install mysql-server