libipopt.so.1: Cannot open shared object file
问题 Upon performing the basic installation of Ipopt, I'm able to compile the example they provided in Ipopt-3.12.5/Ipopt/examples/hs071_cpp successfully using the command g++ hs_071_main.cpp hs071_nlp.cpp -I/path/to/build/include/coin -L/path/to/build/lib -lipopt -llapack -lblas -lm -ldl But when I try to run ./a.out , I get the error: error while loading shared libraries: libipopt.so.1: cannot open shared object file: No such file or directory I've defined $LD_LIBRARY_PATH in .bashrc , and I've