you are absolutely right. When I exchange /usr/lib/liblpsolve55.a with /usr/lib/lp_solve/liblpsolve55.so, it compiles and links perfectly. I don't know why CMake didn't search for the dynamic version of liblpsolve but for the static one. I guess it just found the static one first as it lies directly in /usr/lib and not in a subdirectory?
Hey Julian,
you are absolutely right. When I exchange /usr/lib/ liblpsolve55. a with /usr/lib/ lp_solve/ liblpsolve55. so, it compiles and links perfectly. I don't know why CMake didn't search for the dynamic version of liblpsolve but for the static one. I guess it just found the static one first as it lies directly in /usr/lib and not in a subdirectory?
Thanks for your time and help!
Manuel