[MacPorts] #23584: automoc doesn't build on Tiger
MacPorts
noreply at macports.org
Sat Feb 6 18:36:40 PST 2010
#23584: automoc doesn't build on Tiger
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.2
Keywords: | Port: automoc
-------------------------------------+--------------------------------------
As [http://lists.macosforge.org/pipermail/macports-
users/2010-February/018754.html 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.
--
Ticket URL: <http://trac.macports.org/ticket/23584>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list