编辑/etc/ld.so.conf,把/opt/wxWidgets的lib路径加到里面
和
设置LD_LIBRARY_PATH,把/opt/wxWidgets/lib加进去
这两个的作用是不是一样的?
【 在 hyoga 的大作中提到: 】
: 你对大前提理解错了,ldconfig不是为了更新/etc/ld.so.conf,是
: 要重新载入/etc/ld.so.conf里的路径。
: 因此你应该先编辑/etc/ld.so.conf,把/opt/wxWidgets的lib路径加到里面
: ...................
--
FROM 43.206.160.*