Ticket #15473 (closed defect: fixed)
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
Note: See
TracTickets for help on using
tickets.

