Ticket #23584 (new defect)
automoc doesn't build on Tiger
|Reported by:||ryandesign@…||Owned by:||macports-tickets@…|
As reported on the mailing list, automoc has trouble building on Tiger:
can't open dynamic library: /Developer/SDKs/MacOSX10.4u.sdk/opt/local/lib/libz.1.dylib
I've seen this type of error with many other ports before, and though the simple workaround the user can use is to make a symlink of /opt inside /Developer/SDKs/MacOSX10.4u.sdk...
sudo ln -s /opt /Developer/SDKs/MacOSX10.4u.sdk/opt
...we don't want to advocate this since it modifies the SDK which is supposed to be under Apple's control, and it would not be a proper solution for MacPorts base or the port to install such a symlink there. In other ports, the solution seemed to be to ensure that the library in question is referenced in the link line, i.e. in this case ensure "-lzlib" appears in the LDFLAGS.
I will try to look into this issue later, if nobody else gets to it first.