[MacPorts] #17558: connection errors when macports libs are used with Tiger X11 headers

MacPorts noreply at macports.org
Wed Dec 10 18:14:02 PST 2008


#17558: connection errors when macports libs are used with Tiger X11 headers
---------------------------------+------------------------------------------
 Reporter:  vinc17@…             |       Owner:  jeremyhu@…           
     Type:  defect               |      Status:  assigned             
 Priority:  High                 |   Milestone:  Port Bugs            
Component:  ports                |     Version:  1.6.0                
 Keywords:  crash                |        Port:  gtk2                 
---------------------------------+------------------------------------------

Comment(by cjdeloye@…):

 I have been having the same X11 error when trying to get gtk2 working on a
 i386 running OS X 10.4.11.  I went through the suggestions above to no
 avail.  However, I did check the libraries which gtk-demo was trying to
 use:

 {{{
 otool -L `which gtk-demo`
 /opt/local/bin/gtk-demo:
         /opt/local/lib/libgdk_pixbuf-2.0.0.dylib (compatibility version
 1401.0.0, current version 1401.4.0)
         /opt/local/lib/libgdk-x11-2.0.0.dylib (compatibility version
 1401.0.0, current version 1401.4.0)
         /opt/local/lib/libgtk-x11-2.0.0.dylib (compatibility version
 1401.0.0, current version 1401.4.0)
         /usr/X11R6/lib/libXi.6.dylib (compatibility version 6.0.0, current
 version 6.0.0)
         /usr/X11R6/lib/libXinerama.1.dylib (compatibility version 1.0.0,
 current version 1.0.0)
         /usr/X11R6/lib/libXext.6.dylib (compatibility version 6.4.0,
 current version 6.4.0)
         /usr/X11R6/lib/libXcursor.1.dylib (compatibility version 1.0.0,
 current version 1.0.0)
         /opt/local/lib/libpangocairo-1.0.0.dylib (compatibility version
 2204.0.0, current version 2204.0.0)
         /opt/local/lib/libatk-1.0.0.dylib (compatibility version 2410.0.0,
 current version 2410.1.0)
         /opt/local/lib/libcairo.2.dylib (compatibility version 10803.0.0,
 current version 10803.4.0)
         /opt/local/lib/libpixman-1.0.dylib (compatibility version 13.0.0,
 current version 13.0.0)
         /opt/local/lib/libXrender.1.dylib (compatibility version 5.0.0,
 current version 5.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)
         /opt/local/lib/libgio-2.0.0.dylib (compatibility version 1801.0.0,
 current version 1801.3.0)
         /opt/local/lib/libpangoft2-1.0.0.dylib (compatibility version
 2204.0.0, current version 2204.0.0)
         /opt/local/lib/libpango-1.0.0.dylib (compatibility version
 2204.0.0, current version 2204.0.0)
         /opt/local/lib/libfontconfig.1.dylib (compatibility version 5.0.0,
 current version 5.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.18.0)
         /opt/local/lib/libgobject-2.0.0.dylib (compatibility version
 1801.0.0, current version 1801.3.0)
         /opt/local/lib/libgmodule-2.0.0.dylib (compatibility version
 1801.0.0, current version 1801.3.0)
         /opt/local/lib/libglib-2.0.0.dylib (compatibility version
 1801.0.0, current version 1801.3.0)
         /opt/local/lib/libintl.8.dylib (compatibility version 9.0.0,
 current version 9.2.0)
         /opt/local/lib/libiconv.2.dylib (compatibility version 7.0.0,
 current version 7.0.0)
         /opt/local/lib/libtiff.3.dylib (compatibility version 12.0.0,
 current version 12.2.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 88.3.10)
         /opt/local/lib/libpng12.0.dylib (compatibility version 34.0.0,
 current version 34.0.0)
         /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current
 version 1.2.3)
         /opt/local/lib/libjasper.1.dylib (compatibility version 2.0.0,
 current version 2.0.0)
         /opt/local/lib/libjpeg.62.dylib (compatibility version 63.0.0,
 current version 63.0.0)
 }}}

 From this, there are apparently several X11 dependencies of gtk2 satisfied
 by /usr/X11R6 branch libraries.

 I uninstalled gtk2, installed the corresponding xorg library ports, and
 then reinstalled gtk2.  This seems to have solved the problem; gtk-demo
 ran normally afterwards.

-- 
Ticket URL: <http://trac.macports.org/ticket/17558#comment:23>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list