Пытаюсь установить программу, но не могу найти LTDL_LIBRARY на Mac

Я пытаюсь установить программу на терминал Mac, но я застрял на этом шаге: "cmake -DCMAKE_BUILD_TYPE=Release .. && make"

Это ошибка, которую я изначально получил:

      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.

Я нашел GMP_LIBRARY и MPFR_LIBRARY, но не могу найти LTDL_LIBRARY ни на своем ноутбуке, ни в Интернете. Любая помощь?

PS Я пытался найти его в /usr, но ничего не вышло. Я также попытался установить libtool (хотя мой друг сказал, что он уже должен быть установлен по умолчанию). Ничего не появилось.

0 ответов

Другие вопросы по тегам