coin-or / Ipopt

COIN-OR Interior Point Optimizer IPOPT
https://coin-or.github.io/Ipopt
Other
1.36k stars 272 forks source link

Error while loading shared libraries #750

Closed Huang-XN closed 3 months ago

Huang-XN commented 4 months ago

Hi there,

I have successfully installed Ipopt following the instructions. But when I ran ipopt -v or ipopt -h, it always reported an error as follow: ipopt: error while loading shared libraries: libcoinhsl.so.2: cannot open shared object file: No such file or directory.

My system is Ubuntu 22.04.4 LTS, 64 bit.

Could you tell me how to solve it?

Xingnan

svigerske commented 4 months ago

Add the path with the Ipopt libraries to your library search path, e.g., LD_LIBRARY_PATH environment variable.