I'm trying to install a program on Mac terminal, but I've been stuck on this step: "cmake -DCMAKE_BUILD_TYPE=Release .. && make"
This is the error I initially got:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
GMP_LIBRARY
linked by target "ipknot" in directory /Users/samuellee/Downloads/ipknot-master
LTDL_LIBRARY
linked by target "ipknot" in directory /Users/samuellee/Downloads/ipknot-master
MPFR_LIBRARY
linked by target "ipknot" in directory /Users/samuellee/Downloads/ipknot-master
CMake Warning at CMakeLists.txt:77 (target_link_libraries):
Target "ipknot" requests linking to directory "/usr/local/lib". Targets
may link only to libraries. CMake is dropping the item.
CMake Warning at CMakeLists.txt:77 (target_link_libraries):
Target "ipknot" requests linking to directory
"/Library/gurobi1001/macos_universal01/macos_universal2/lib". Targets may link only to
libraries. CMake is dropping the item.
CMake Warning at CMakeLists.txt:77 (target_link_libraries):
Target "ipknot" requests linking to directory
"/Library/gurobi1001/macos_universal2/lib". Targets may link only to
libraries. CMake is dropping the item.
I found GMP_LIBRARY and MPFR_LIBRARY but I can't find LTDL_LIBRARY anywhere on my laptop nor on the internet. Any help?
P.S. I tried finding it in /usr but nothing came up. I also tried installing libtool (even though my friend said that it should already be installed by default). Nothing came up.