Opened 12 years ago
Closed 12 years ago
#34434 closed defect (fixed)
gkrellm: undefined symbols _g_module_close _g_module_open etc
Reported by: | ballapete (Peter "Pete" Dyballa) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.4 |
Keywords: | Cc: | markd@…, owaritengu@… | |
Port: | gkrellm |
Description
When launching gkrellm I received ion shell:
(process:9843): GLib-GObject-CRITICAL **: gtype.c:2708: You forgot to call g_type_init() (process:9843): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed (process:9843): GLib-GObject-CRITICAL **: gtype.c:2708: You forgot to call g_type_init() (process:9843): GLib-GObject-WARNING **: invalid cast from `(null)' to `<invalid>'
So I decided to rebuild gkrellm by uninstalling the old version which was using
/opt/local/lib/libgtk-x11-2.0.0.dylib (compatibility version 2401.0.0, current version 2401.8.0) /opt/local/lib/libgdk-x11-2.0.0.dylib (compatibility version 2401.0.0, current version 2401.8.0) /opt/local/lib/libatk-1.0.0.dylib (compatibility version 20210.0.0, current version 20210.1.0) /opt/local/lib/libpangocairo-1.0.0.dylib (compatibility version 2801.0.0, current version 2801.4.0) /opt/local/lib/libXext.6.dylib (compatibility version 11.0.0, current version 11.0.0) /opt/local/lib/libXrender.1.dylib (compatibility version 5.0.0, current version 5.0.0) /opt/local/lib/libXinerama.1.dylib (compatibility version 2.0.0, current version 2.0.0) /opt/local/lib/libXi.6.dylib (compatibility version 8.0.0, current version 8.0.0) /opt/local/lib/libXrandr.2.dylib (compatibility version 5.0.0, current version 5.0.0) /opt/local/lib/libXcursor.1.dylib (compatibility version 2.0.0, current version 2.2.0) /opt/local/lib/libXcomposite.1.dylib (compatibility version 2.0.0, current version 2.0.0) /opt/local/lib/libXdamage.1.dylib (compatibility version 3.0.0, current version 3.0.0) /opt/local/lib/libgdk_pixbuf-2.0.0.dylib (compatibility version 2401.0.0, current version 2401.0.0) /opt/local/lib/libpangoft2-1.0.0.dylib (compatibility version 2801.0.0, current version 2801.4.0) /opt/local/lib/libgio-2.0.0.dylib (compatibility version 3001.0.0, current version 3001.2.0) /opt/local/lib/libXfixes.3.dylib (compatibility version 5.0.0, current version 5.0.0) /opt/local/lib/libcairo.2.dylib (compatibility version 11003.0.0, current version 11003.2.0) /opt/local/lib/libX11.6.dylib (compatibility version 10.0.0, current version 10.0.0) /opt/local/lib/libpango-1.0.0.dylib (compatibility version 2801.0.0, current version 2801.4.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.7) /opt/local/lib/libfreetype.6.dylib (compatibility version 15.0.0, current version 15.0.0) /opt/local/lib/libfontconfig.1.dylib (compatibility version 6.0.0, current version 6.4.0) /opt/local/lib/libgobject-2.0.0.dylib (compatibility version 3001.0.0, current version 3001.2.0) /opt/local/lib/libgmodule-2.0.0.dylib (compatibility version 3001.0.0, current version 3001.2.0) /opt/local/lib/libgthread-2.0.0.dylib (compatibility version 3001.0.0, current version 3001.2.0) /opt/local/lib/libglib-2.0.0.dylib (compatibility version 3001.0.0, current version 3001.2.0) /opt/local/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.1.0) /opt/local/lib/libSM.6.dylib (compatibility version 7.0.0, current version 7.1.0) /opt/local/lib/libICE.6.dylib (compatibility version 10.0.0, current version 10.0.0) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 476.19.0) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0) /opt/local/lib/libssl.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0) /opt/local/lib/libcrypto.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0) /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
and installing again. This fails now:
/usr/bin/gcc-4.0 main.o alerts.o battery.o base64.o clock.o cpu.o disk.o fs.o hostname.o inet.o mail.o mem.o net.o proc.o sensors.o uptime.o chart.o panel.o config.o gui.o krell.o plugins.o pixops.o client.o utils.o sysdeps-unix.o deprecated.o log.o winops-x11.o -o gkrellm \ -L/opt/local/lib -arch ppc `pkg-config --libs gtk+-2.0 gthread-2.0` -L/usr/X11R6/lib -lX11 -lSM -lICE -framework CoreFoundation -framework IOKit -L/opt/local/lib -lssl -lcrypto -lm -Wl,-bind_at_load Undefined symbols: "_g_module_close", referenced from: _install_plugin in plugins.o _install_plugin in plugins.o "_g_module_open", referenced from: _install_plugin in plugins.o "_g_module_error", referenced from: _install_plugin in plugins.o _install_plugin in plugins.o "_g_module_supported", referenced from: _install_plugin in plugins.o "_g_module_symbol", referenced from: _install_plugin in plugins.o ld: symbol(s) not found collect2: ld returned 1 exit status gnumake[2]: *** [gkrellm] Error 1 gnumake[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_sysutils_gkrellm/gkrellm/work/gkrellm-2.3.5/src' gnumake[1]: *** [darwin9] Error 2 gnumake[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_sysutils_gkrellm/gkrellm/work/gkrellm-2.3.5/src' gnumake: *** [darwin9] Error 2
Attachments (1)
Change History (4)
Changed 12 years ago by ballapete (Peter "Pete" Dyballa)
comment:1 Changed 12 years ago by ballapete (Peter "Pete" Dyballa)
comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | owaritengu@… added |
---|---|
Owner: | changed from macports-tickets@… to ryandesign@… |
Status: | new → assigned |
Summary: | gkrellm 2.3.5 cannot be built on PPC Leopard Mac OS X 10.5.8 with gtk2 @2.24.10 → gkrellm: undefined symbols _g_module_close _g_module_open etc |
Has duplicate #35705.
comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Peter, thanks for finding the solution. Committed in r96672.
Note: See
TracTickets for help on using
tickets.
is the wrong invocation! The missing functions are in libgmodule-2.0, so the invocation should be
So
needs to be patched to contain gmodule-2.0 as well.