[MacPorts] #15473: inventor fails to link on Leopard
MacPorts
noreply at macports.org
Sun Jun 1 07:19:01 PDT 2008
#15473: inventor fails to link on Leopard
------------------------------+---------------------------------------------
Reporter: css at macports.org | Owner: css at macports.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Keywords: |
------------------------------+---------------------------------------------
According to email, the Open Inventor port fails to link when building on
Mac OS X Leopard:
{{{
bash-3.2# port install inventor +imagelib
---> Building inventor with target all
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_inventor/work/inventor"
&& make all " returned error 2
Command output: make[1]: Nothing to be done for `all'.
/usr/bin/g++
-L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_inventor/work/destroot//opt/local/lib
-bind_at_load -multiply_defined suppress -L/usr/X11R6/lib -L/opt/local/lib
ppp.o -lm -lXm -lXt -lX11 -lGLU -lGL -liconv -ldl -o ppp
ld: cycle in dylib re-exports with /usr/X11R6/lib/libGL.dylib
collect2: ld returned 1 exit status
make[2]: *** [ppp] Error 1
make[1]: *** [all] Error 1
make: *** [all] Error 1
}}}
Apple's [http://developer.apple.com/qa/qa2007/qa1567.html QA1567]
indicates that this error results from finding duplication OpenGL
libraries. Consider adding the following line to the linker command:
{{{
-dylib_file \
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:\
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
}}}
Due to the way that the port builds, this change might require diving into
the complex series of patches.
--
Ticket URL: <http://trac.macports.org/ticket/15473>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list