[MacPorts] #16505: rrdtool 1.3.3 build fails (internal link edit command failed)
MacPorts
noreply at macports.org
Sun Oct 26 16:40:14 PDT 2008
#16505: rrdtool 1.3.3 build fails (internal link edit command failed)
----------------------------------+-----------------------------------------
Reporter: vinc17 at macports.org | Owner: markd at macports.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Resolution: | Keywords:
Port: rrdtool |
----------------------------------+-----------------------------------------
Comment(by vinc17 at macports.org):
The bug is in the configure file that sets TCL_SHLIB_LD to '${CC}
-dynamiclib ${CFLAGS} ${LDFLAGS} -Wl,-single_module'. It '''must not'''
contain ${LDFLAGS} since bindings/tcl/Makefile has:
{{{
$(TCL_RRD_LIB): tclrrd.o
$(TCL_SHLIB_LD) $(TCL_LD_SEARCH_FLAGS) $(LIBDIRS) $< -o $@
-lrrd_th -lm $(TCL_STUB_LIB_SPEC) $(LDFLAGS) $(LIBS)
}}}
where $(LIBDIRS) contains the source/build-related paths -L../../src/.libs
and -L../../src (which must come first). Note that $(LDFLAGS) is already
listed later.
--
Ticket URL: <http://trac.macports.org/ticket/16505#comment:22>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list