Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#15473 closed defect (fixed)

inventor fails to link on Leopard

Reported by: cssdev Owned by: cssdev
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: al@…
Port: inventor

Description

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 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.

Change History (4)

comment:1 Changed 15 years ago by cssdev

Port: inventor added

comment:2 Changed 15 years ago by cssdev

Status: newassigned

I realized this morning that the port probably needs to only depend on dlcompat when building on pre-Tiger systems, since those functions are now built into Mac OS X.

comment:3 Changed 15 years ago by cssdev

Resolution: fixed
Status: assignedclosed

As of r44641, inventor now builds on Leopard. See #17568 for more information, but I'm marking this bug closed.

comment:4 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.