Opened 10 years ago

Closed 10 years ago

#45595 closed defect (invalid)

Unable to build/install gdk-pixbuf2

Reported by: oksmith77 Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.2
Keywords: Cc:
Port: gdk-pixbuf2

Description (last modified by ryandesign (Ryan Carsten Schmidt))

While trying to build:

pdf2svg

I got the following errors:

[snip]

--->  Fetching archive for gdk-pixbuf2
--->  Attempting to fetch gdk-pixbuf2-2.31.1_1+x11.darwin_13.x86_64.tbz2 from http://packages.macports.org/gdk-pixbuf2
--->  Attempting to fetch gdk-pixbuf2-2.31.1_1+x11.darwin_13.x86_64.tbz2.rmd160 from http://packages.macports.org/gdk-pixbuf2
--->  Installing gdk-pixbuf2 @2.31.1_1+x11
--->  Activating gdk-pixbuf2 @2.31.1_1+x11
Error: org.macports.activate for port gdk-pixbuf2 returned: 
Error: Failed to install gdk-pixbuf2
Please see the log file for port gdk-pixbuf2 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_gdk-pixbuf2/gdk-pixbuf2/main.log
Error: The following dependencies were not installed: gtk2 gdk-pixbuf2 hicolor-i

[snip]

Unless I mess things up, the log file will be attached.

Thanks!

Attachments (1)

LOGFILE.log (63.6 KB) - added by oksmith77 10 years ago.

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by oksmith77

Attachment: LOGFILE.log added

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

The log says:

:info:activate dyld: Library not loaded: /opt/local/lib/libgmodule-2.0.0.dylib
:info:activate   Referenced from: /opt/local/bin/gdk-pixbuf-query-loaders
:info:activate   Reason: Incompatible library version: gdk-pixbuf-query-loaders requires version 4201.0.0 or later, but libgmodule-2.0.0.dylib provides version 4001.0.0

Looks like your glib2 port (which provides /opt/local/lib/libgmodule-2.0.0.dylib) is unexpectedly outdated. Please try running "sudo port upgrade glib2". If that doesn't do anything, try forcibly rebuilding it with "sudo port -n upgrade --force glib2".

comment:2 Changed 10 years ago by oksmith77

sudo port upgrade glib2

Fixed the problem.

I'm not sure what needs to be changed so nobody else encounters the same error.

Thanks!

comment:3 Changed 10 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.