From: Christopher W. <geg...@ya...> - 2008-01-07 18:35:02
|
Hi, I can't seem to compile kmymoney2-shlibs-0.8.7-1001 on Leopard (10.5.1). The problem occurs when make is trying to link libs/kmm_ofximport.so using g++ -Wl,-bind_at_load -o .libs/kmm_ofximport.so -bundle .libs/ofximporterplugin.o /usr/lib/libc.dylib /usr/lib/libpthread.dylib /usr/lib/libz.dylib /usr/X11/lib/libfreetype.dylib /usr/lib/libexpat.dylib /usr/X11/lib/libXfixes.3.1.0.dylib /usr/X11/lib/libXt.6.0.0.dylib /usr/X11/lib/libICE.dylib /usr/X11/lib/libSM.dylib /usr/X11/lib/libXext.dylib /usr/X11/lib/libXft.dylib /usr/X11/lib/libXinerama.dylib /usr/X11/lib/libXcursor.dylib /usr/X11/lib/libXrandr.dylib /usr/X11/lib/libXrender.dylib /usr/X11/lib/libXmu.dylib /usr/X11/lib/libGL.dylib -L/sw/lib/freetype219/lib -L/sw/lib -L/sw/lib/qt3/lib -L/usr/X11/lib -L/sw/lib/flex/lib -L/sw/lib/system-openssl/lib -L/usr/X11R6/lib /sw/lib/libkhtml.dylib /sw/lib/libjpeg.dylib /sw/lib/libkjs.dylib /sw/lib/libpcreposix.dylib /sw/lib/libpcre.dylib /sw/lib/libkdeprint.dylib /sw/lib/libkparts.dylib /sw/lib/libkutils.dylib /sw/lib/libkio.dylib /sw/lib/libkdeui.dylib /sw/lib/libkdesu.dylib /sw/lib/libkwalletclient.dylib /sw/lib/libkdecore.dylib /sw/lib/libDCOP.dylib -lutil /sw/lib/libart_lgpl_2.dylib /sw/lib/libidn.dylib /sw/lib/libkdefx.dylib /sw/lib/qt3/lib/libqt-mt.dylib -lresolv -lGL /usr/X11/lib/libXmu.6.2.0.dylib /usr/X11/lib/libXrandr.2.0.0.dylib /usr/X11/lib/libXcursor.1.0.2.dylib /usr/X11/lib/libXinerama.1.0.0.dylib /usr/X11/lib/libXft.2.1.2.dylib /sw/lib/freetype219/lib/libfreetype.dylib /usr/X11/lib/libfontconfig.dylib -ldl /sw/lib/libpng12.dylib -lm /usr/X11/lib/libXext.6.4.0.dylib /usr/X11/lib/libSM.6.0.0.dylib /usr/X11/lib/libICE.6.3.0.dylib /usr/X11/lib/libXrender.1.3.0.dylib /usr/X11/lib/libX11.dylib /usr/X11/lib/libXau.6.0.0.dylib /usr/X11/lib/libXdmcp.6.0.0.dylib -lz /sw/lib/libofx.dylib /sw/lib/libosp.dylib -lpthread /sw/lib/libintl.dylib /sw/lib/libiconv.dylib -lc -lstdc++ ../.libs/libkmm_plugin.dylib ../../../kmymoney2/mymoney/.libs/libkmm_mymoney.dylib -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Os -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fexceptions This produces the error ld: cycle in dylib re-exports with /usr/X11/lib/libGL.dylib collect2: ld returned 1 exit status I'm pretty new to Mac/Darwin development, so I have no idea what this means. 'cycle' is not an exported symbol of /usr/X11/lib/libGL.dylib (at least, according to nm (1)). The g++ I'm using is the one that comes with Xcode (4.0.1 (Apple Inc. build 5465)). Any non-voodoo solutions? Thanks, Christopher |