我在安裝pyipopt時遇到問題。問題類似於this one。 `python setup.py install'包含下一個輸出。安裝pyipopt時出現問題
/usr/bin/ld: cannot find -lipopt
/usr/bin/ld: cannot find -lcoinmumps
/usr/bin/ld: cannot find -lcoinmetis
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status
我安裝ipopt使用新立得軟件包管理器,我發現 下一個文件/usr/lib/coin/libipopt.la
,/usr/lib/coin/libipopt.la
我想這
export LD_LIBRARY_PATH=/xx/yy/zz:$LD_LIBRARY_PATH
我也試着運行ldconfig
。
可能是我做錯了什麼,但它沒有幫助我。