Ubuntu,从 1.46 更新到 1.52,链接器要求 1.46

Ubuntu,从 1.46 更新到 1.52,链接器要求 1.46

我在使用 boost 编译一个软件时遇到了一些问题(wt,http://www.webtoolkit.eu/wt)。我知道(通过另一台机器的测试)从 1.46 更新可以解决我的问题。我用 apt 删除了旧的 bo​​ost 库。然后我从源代码下载并构建了 1.52。它完成了所有目标的构建。

现在,在编译期间链接器返回以下内容:

g++ entry.cpp  -std=c++11 -lwt -lwtfcgi -lboost_signals -lboost_system -lwtdbo -lwtdbosqlite3
/usr/bin/ld: warning: libboost_thread.so.1.46.1, needed by /usr/local/lib/libwt.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libboost_regex.so.1.46.1, needed by /usr/local/lib/libwt.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libboost_signals.so.1.46.1, needed by /usr/local/lib/libwt.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libboost_system.so.1.46.1, needed by /usr/local/lib/libwt.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libboost_filesystem.so.1.46.1, needed by /usr/local/lib/libwt.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libboost_date_time.so.1.46.1, needed by /usr/local/lib/libwt.so, not found (try using -rpath or -rpath-link)

编译 boost 1.52 后,我从源代码重新编译了 Wt。我在另一台机器上验证了 wt 能够使用 boost 1.52。我怀疑这只是某种配置问题,但 Google 尚未提供帮助!

我正在运行 Ubuntu Server 12.04。

有什么想法吗?提前感谢你的帮助 :)

相关内容