[MacPorts] #38617: gtk2: pkg-config --libs gtk+-2.0 does not include -lgmodule-2.0 (was: pkg-config --libs gtk+-2.0 does not include -lgmodule-2.0)

MacPorts noreply at macports.org
Mon Apr 1 13:07:00 PDT 2013


#38617: gtk2: pkg-config --libs gtk+-2.0 does not include -lgmodule-2.0
--------------------------------------+--------------------------------
  Reporter:  steve.kappel.software@…  |      Owner:  macports-tickets@…
      Type:  defect                   |     Status:  new
  Priority:  Normal                   |  Milestone:
 Component:  ports                    |    Version:  2.1.3
Resolution:                           |   Keywords:
      Port:  gtk2                     |
--------------------------------------+--------------------------------
Description changed by ryandesign@…:

Old description:

> 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

New description:

 {{{
 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
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/38617#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list