ld cannot find -l

前端 未结 4 1190
时光取名叫无心
时光取名叫无心 2021-01-01 17:23

I am having trouble installing pyipopt on ubuntu 12.04. During linking, I receive the error:

/usr/bin/ld: cannot find -lcoinhsl

Even though I know tha

4条回答
  •  猫巷女王i
    2021-01-01 17:54

    I had a similar problem with another library and the reason why it didn't found it, was that I didn't run the make install (after running ./configure and make) for that library. The make install may require root privileges (in this case use: sudo make install). After running the make install you should have the so files in the correct folder, i.e. here /usr/local/lib and not in the folder mentioned by you.

提交回复
热议问题