Хочу собрать проект https://github.com/markmal/freeship-plus-in-lazarus под Маком
ФриШип перетащен под лазарус хорошими людьми
Линковщик ругается на невозможность найти библиотеку magic
- Код: Выделить всё
Debug: Setting up resource writer...
Debug: Writing output file /Users/pda/work/projects/freeship/freeship-plus-in-lazarus/lib/x86_64-darwin/FreeShip.or...
Debug: Output file /Users/pda/work(9015) Linking /Users/pda/work/projects/freeship/freeship-plus-in-lazarus/FreeShip
ld: library not found for -lmagic
An error occurred while linking
FreeShip.dpr(311) Error: (9013) Error while linking
FreeShip.dpr(311) Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: /usr/local/bin/ppcx64 returned an error exitcode
libmagic установлен и в каталогах /usr/local/lib лежат библиотеки libmagic.a и libmagic.dylib
Для сессии установлена переменная среды LD_LIBRARY_PATH на /usr/local/lib
Что делать?