Opened 12 years ago

Closed 12 years ago

#32172 closed defect (invalid)

pkgconfig: Library not loaded: /opt/local/lib/libglib-2.0.0.dylib

Reported by: PetSchul@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: pkgconfig

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

MAC OSC 10.6.8
while configuring soprano for a kdenlive installation, the following error occurred:

Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details)
Error: Failed to install soprano.

Attached is the logfile.

Attachments (1)

main.log (98.2 KB) - added by PetSchul@… 12 years ago.

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by PetSchul@…

Attachment: main.log added

comment:1 Changed 12 years ago by PetSchul@…

Cc: PetSchul@… added

Cc Me!

comment:2 Changed 12 years ago by PetSchul@…

Cc: PetSchul@… removed

Cc Me!

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…
Port: pkgconfig added
Summary: Soprano 2.7.0 Configure failure: shell command failedpkgconfig: Library not loaded: /opt/local/lib/libglib-2.0.0.dylib

The log says:

:info:configure dyld: Library not loaded: /opt/local/lib/libglib-2.0.0.dylib
:info:configure   Referenced from: /opt/local/bin/pkg-config
:info:configure   Reason: Incompatible library version: pkg-config requires version 2801.0.0 or later, but libglib-2.0.0.dylib provides version 2601.0.0

What version of glib2 is installed? It looks like it's too old somehow. Try running "sudo port selfupdate", "sudo port clean glib2" and "sudo port upgrade glib2".

comment:4 in reply to:  3 Changed 12 years ago by PetSchul@…

No glib2 had been installed. Installing solved the problem. Thank you.

comment:5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

Hmm, it should not have been possible for you to install pkgconfig without glib2, nor to uninstall glib2 after having installed pkgconfig, because pkgconfig declares a library dependency on glib2. Glad you got it worked out.

Note: See TracTickets for help on using tickets.