#13075 closed defect (fixed)
KcacheGrind ld: cycle in dylib re-exports with /usr/X11/lib/libGL.dylib
Reported by: | tachu1@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.5.0 |
Keywords: | Cc: | ||
Port: |
Description
Installing such port gives out following error
Building kcachegrind 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_kcachegrind/work/kcachegrind-0.4.6" && make all " returned error 2 Command output: Makefile:833: warning: overriding commands for target `clean-bcheck' Makefile:796: warning: ignoring old commands for target `clean-bcheck' Makefile:838: warning: overriding commands for target `bcheck-am' Makefile:801: warning: ignoring old commands for target `bcheck-am' make all-recursive Makefile:833: warning: overriding commands for target `clean-bcheck' Makefile:796: warning: ignoring old commands for target `clean-bcheck' Makefile:838: warning: overriding commands for target `bcheck-am' Makefile:801: warning: ignoring old commands for target `bcheck-am' Making all in kcachegrind /bin/sh ../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -O2 -O2 -fno-exceptions -fno-check-new -fno-common -L/opt/local/lib -o kcachegrind -L/usr/X11/lib -L/opt/local/lib/qt3/lib -L/opt/local/lib -L/opt/local/lib -R /opt/local/lib -R /opt/local/lib/qt3/lib -R /usr/X11/lib -R /opt/local/lib loader.o cachegrindloader.o treemap.o pool.o kwidgetaction.o main.o configuration.o functionselection.o coverage.o partgraph.o toplevel.o stackselection.o stackbrowser.o subcost.o tracedata.o partselection.o configdlg.o utils.o fixcost.o traceitemview.o instrview.o tabview.o sourceview.o callmapview.o callview.o coverageview.o costtypeview.o partview.o listutils.o costtypeitem.o multiview.o callitem.o coverageitem.o sourceitem.o costlistitem.o partlistitem.o functionitem.o instritem.o stackitem.o callgraphview.o functionselectionbase.o stackselectionbase.o partselectionbase.o configdlgbase.o -lkio -lkdeui -lqt-mt -lz -lpng -lz -lm -lXext -lX11 -lSM -lICE -lpthread ld: cycle in dylib re-exports with /usr/X11/lib/libGL.dylib collect2: ld returned 1 exit status make[2]: * [kcachegrind] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2
Error: Status 1 encountered during processing.
Change History (6)
comment:1 Changed 17 years ago by tachu1@…
comment:2 Changed 17 years ago by tachu1@…
Compiled but wont open any files gives a malformed url Issue when exploring.
comment:3 Changed 17 years ago by afb@…
This is the same issue as: http://wiki.finkproject.org/index.php/Fink:Packaging:Preparing_for_10.5#OpenGL_Bug
This workaround might help:
configure.ldflags-append -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
comment:4 Changed 17 years ago by nox@…
Milestone: | → Port Bugs |
---|
comment:5 Changed 17 years ago by raimue (Rainer Müller)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Committed in r34328.
Doing couple of tests and feedback from other Posts I did a simlink from /usr/X11/lib/libGl.dylib to /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
I know this is a hack but it compiled. perhaps changing it in the make file will fix it but i dont know how
Thanks for your help
T