New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #15473 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

inventor fails to link on Leopard

Reported by: css@… Owned by: css@…
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

Changed 3 years ago by css@…

  • port set to inventor

Changed 3 years ago by css@…

  • status changed from new to assigned

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.

Changed 3 years ago by css@…

  • status changed from assigned to closed
  • resolution set to fixed

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

Changed 3 years ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.