Geomview port does not work with xorg-libs of MacPorts

Raphael Straub raphael at ira.uka.de
Tue Jan 20 10:00:00 PST 2009


Hi,

I'm the maintainer of the geomview port and I just discovered that it  
does not work anymore. The problem seems to be the new port:xorg-libs  
dependency.

After installing Geomview with MacPorts (and even after adding "--x- 
includes=${prefix}/include --x-libraries=${prefix}/lib" to  
configure.args) "gvx" (the Geomview binary, "geomview" is just a start  
script) is linked against the following libraries:

 > otool -L /opt/local/libexec/geomview/gvx
/opt/local/libexec/geomview/gvx:
	/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/ 
libGL.dylib (compatibility version 1.0.0, current version 1.0.0)
	/opt/local/lib/libXm.4.dylib (compatibility version 5.0.0, current  
version 5.1.0)
	/opt/local/lib/libXp.6.dylib (compatibility version 9.0.0, current  
version 9.0.0)
	/opt/local/lib/libXft.2.dylib (compatibility version 4.0.0, current  
version 4.13.0)
	/usr/X11/lib/libX11.6.dylib (compatibility version 9.0.0, current  
version 9.0.0)
	/usr/X11/lib/libXau.6.dylib (compatibility version 7.0.0, current  
version 7.0.0)
	/usr/X11/lib/libXdmcp.6.dylib (compatibility version 7.0.0, current  
version 7.0.0)
	/opt/local/lib/libXrender.1.dylib (compatibility version 5.0.0,  
current version 5.0.0)
	/opt/local/lib/libfontconfig.1.dylib (compatibility version 5.0.0,  
current version 5.0.0)
	/opt/local/lib/libiconv.2.dylib (compatibility version 7.0.0, current  
version 7.0.0)
	/opt/local/lib/libexpat.1.dylib (compatibility version 7.0.0, current  
version 7.2.0)
	/opt/local/lib/libfreetype.6.dylib (compatibility version 10.0.0,  
current version 10.19.0)
	/opt/local/lib/libjpeg.62.dylib (compatibility version 63.0.0,  
current version 63.0.0)
	/opt/local/lib/libpng12.0.dylib (compatibility version 35.0.0,  
current version 35.0.0)
	/opt/local/lib/libXmu.6.dylib (compatibility version 9.0.0, current  
version 9.0.0)
	/opt/local/lib/libgeomview-1.9.4.dylib (compatibility version 0.0.0,  
current version 0.0.0)
	/usr/X11/lib/libGL.1.dylib (compatibility version 1.2.0, current  
version 1.2.0)
	/usr/X11/lib/libGLU.1.dylib (compatibility version 1.3.0, current  
version 1.3.0)
	/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current  
version 1.2.3)
	/opt/local/lib/libXt.6.dylib (compatibility version 7.0.0, current  
version 7.0.0)
	/opt/local/lib/libSM.6.dylib (compatibility version 7.0.0, current  
version 7.0.0)
	/opt/local/lib/libICE.6.dylib (compatibility version 10.0.0, current  
version 10.0.0)
	/opt/local/lib/libXext.6.dylib (compatibility version 11.0.0, current  
version 11.0.0)
	/opt/local/lib/libX11.6.dylib (compatibility version 9.0.0, current  
version 9.0.0)
	/opt/local/lib/libXau.6.dylib (compatibility version 7.0.0, current  
version 7.0.0)
	/opt/local/lib/libXdmcp.6.dylib (compatibility version 7.0.0, current  
version 7.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current  
version 111.1.3)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current  
version 1.0.0)

As you can see, some libraries are double in this list. In addition,  
there is no ${prefix}/lib/libGL.dylib and no ${prefix}/lib/ 
libGLU.dylib to link against so /usr/X11/lib/libGL.1.dylib and /usr/ 
X11/lib/libGLU.1.dylib are taken. The resulting binary just exits with  
no error message.

Does anybody have an idea how to solve the problem without  
reinstalling all xorg-* ports with the system_x11 variant?

Regards,
	Raphael
-- 
Raphael Straub                              E-Mail: raphael at ira.uka.de
Universität Karlsruhe                       Tel.  : +49 721 608-4383
Institut für Betriebs- und Dialogsysteme    Fax   : +49 721 608-8330
Am Fasanengarten 5, 76128 Karlsruhe         Geb. 50.34, Raum 127



More information about the macports-dev mailing list