boost.python如何处理Python 3?它只是Python 2吗?
c++ python boost boost-python python-3.x
我的应用程序链接到一个自编译的 Qt,该 Qt 位于/usr/local/lib.
/usr/local/lib
当我在构建目录中启动应用程序时,这工作正常。但是,在我安装应用程序后,/usr/local/bin/它尝试加载没有所需符号的不兼容系统 Qt 库并失败。
/usr/local/bin/
为什么?我的二进制文件的实际位置如何影响正在解析的 Qt?
如果我启动我的应用程序,LD_LIBRARY_PATH=/usr/local/lib它就会按预期工作。
LD_LIBRARY_PATH=/usr/local/lib
linux linker shared-libraries ld
boost ×1
boost-python ×1
c++ ×1
ld ×1
linker ×1
linux ×1
python ×1
python-3.x ×1
shared-libraries ×1