port mpkg not packaging dependencies

Ryan Schmidt ryandesign at macports.org
Sat Jun 16 02:19:19 PDT 2012

On Jun 16, 2012, at 02:27, Dirk wrote:

> Am 15.06.12 06:56, schrieb Jeremy Huddleston:
>> On Jun 14, 2012, at 11:35, Dirk<dirk.schulz at kinzesberg.de>  wrote:
>>> Hi all,
>>> I have freshly installed the current MacPorts on a new OS X Lion installation and run "port mpkg nagios-plugins".
>>> It runs fine, but when I install the resulting (m)pkgs on another Lion instance then all Nagios checks fail because of missing libraries (libintlX, libiconvX, ...). According to documentation mpkg also packages dependencies.
>>> Am I overlooking something here? Is there some undokumented parameter to "port mpkg"?
>>> Any hint or help is appreciated.
>> It's possible that there are dependencies which were not properly listed in the port.  What is the exact error message?
> Remote command execution failed: dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib
> And if I copy this lib manually there, then the next one is named. I did not copy all of them manually, yet.

The nagios-plugins port does not list *any* library dependencies. Sounds like you need to file a bug report so the maintainer can add the necessary library dependencies to that port.

More information about the macports-users mailing list