NagiosEnterprises / ncpa

Nagios Cross-Platform Agent
Other
176 stars 95 forks source link

Mac Build issue #1104

Closed ne-bbahn closed 3 months ago

ne-bbahn commented 5 months ago

Building on Mac isn't working anymore.

error: cannot find file/directory named /usr/local/opt/mpdecimal/lib/libmpdec.3.dylib

Something is causing this error and needs to be fixed.

coobs1 commented 4 months ago

I had similar issues on a M1 Mac Mini runnning macOS 10.13 with NCPA 3.0.1. The workaround that finally worked for me was creating symlinks for the .dylib files located in /usr/local/ncpa/lib/ inside the /usr/local/lib directory (e.g., ln -s /usr/local/ncpa/lib/libssl.3.dylib /usr/local/lib/libssl.3.dylib)