Opened 11 years ago

Last modified 11 years ago

#38617 new defect

gtk2: pkg-config --libs gtk+-2.0 does not include -lgmodule-2.0

Reported by: steve.kappel.software@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: gtk2

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

pkg-config --libs gtk+-2.0

returns

-L/opt/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0 -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 -lXfixes -lcairo -lX11 -lXext -lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -lintl

Subsequent application linking fails with undefined symbols g_module_name, g_module_open, g_module_error, etc.

OpenCSW on Solaris returns

-L/opt/csw/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lpthread -lthread -lrt -lglib-2.0 -lintl

Change History (1)

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

Description: modified (diff)
Summary: pkg-config --libs gtk+-2.0 does not include -lgmodule-2.0gtk2: pkg-config --libs gtk+-2.0 does not include -lgmodule-2.0
Note: See TracTickets for help on using tickets.