#40086: dblatex @0.3.4 - compile failure in Poppler ------------------------+-------------------------------- Reporter: duboisj@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: dblatex | ------------------------+-------------------------------- Changes (by ryandesign@…): * keywords: dblatex, poppler => * cc: ryandesign@… (added) Comment: Replying to [ticket:40086 duboisj@…]:
I am trying to install dblatex on OS X 10.8.4 with the following command:
{{{ sudo port -v install dblatex +no_x11 }}}
Note that the dblatex port does not have a no_x11 variant so specifying "+no_x11" does nothing for dblatex. Since variants are passed to dependencies, it might do something for them, but note that the "no_" variant naming prefix is deprecated since some years already. So if you want to disable X11 support, the modern way to do that is by specifying "-x11". Unfortunately not all ports have been updated to the modern method yet so specifying both "-x11" and "+no_x11" is still a good idea. If you want this (or another variant) generally, you probably want to specify it in your variants.conf file.
{{{ ImportError: dlopen(/opt/local/lib/gobject- introspection/giscanner/_giscanner.so, 2): Library not loaded: /opt/local/lib/libgio-2.0.0.dylib Referenced from: /opt/local/lib/gobject- introspection/giscanner/_giscanner.so Reason: Incompatible library version: _giscanner.so requires version 3601.0.0 or later, but libgio-2.0.0.dylib provides version 3201.0.0 }}}
This is the problem. Your gio library is an older version than the one MacPorts should be providing. This should never have happened. What's the output of this: {{{ port provides /opt/local/lib/libgio-2.0.0.dylib }}} It should say it's provided by glib2. What's the output of this: {{{ port -v installed glib2 }}} If your ports are up-to-date, it should say glib2 @2.36.4 is installed. What's the output of this: {{{ otool -L /opt/local/lib/libgio-2.0.0.dylib }}} It should show what library version number libgio is, which if everything were installed properly would be 3601.4.0 but we already know something is wrong here. -- Ticket URL: <https://trac.macports.org/ticket/40086#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X