Opened 14 years ago

Last modified 13 years ago

#23584 new defect

automoc doesn't build on Tiger

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: automoc

Description

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.

Change History (1)

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Looks like nobody else got to it first…

Note: See TracTickets for help on using tickets.