[funtoo] Libs issues; g_realloc_n / g_malloc_n errors

354 views
Skip to first unread message

vervurax

unread,
May 19, 2010, 7:12:04 PM5/19/10
to Funtoo
Hi!
Since last `emerge -NuD` I have some problems with software and I
actually missed the exact moment when it all started.
Some examples:
vervurax@wuodek ~ $ audacious2
audacious2: symbol lookup error: /usr/lib64/libaudcore.so.1:
undefined symbol: g_realloc_n
vervurax@wuodek ~ $ gimp
gimp: symbol lookup error: gimp: undefined symbol: g_realloc_n
vervurax@wuodek ~ $ inkscape
inkscape: symbol lookup error: inkscape: undefined symbol:
g_realloc_n
It also occurs for a few other apps (sometimes with g_malloc_n).
Here is my revdep-rebuild -pv output:
http://dpaste.com/hold/196797/
When launched without -pv it crashes on gimp ((...)undefined reference
to `g_malloc_n' (...)), here is full output:
http://dpaste.com/hold/196800/ - emerge --info =media-gfx/
gimp-2.6.8
http://dpaste.com/hold/196816/ - build.log
http://paste.pocoo.org/show/215997/ - build environment
All those errors repeats for a few more packets. If you need more
pastes to help me, just say.
Someone adviced me to rebuild zlib & glib & glibc. I did - no effect.
Thanks in advance for any help!

--
You received this message because you are subscribed to the Google Groups "Funtoo" group.
To post to this group, send email to funto...@googlegroups.com.
To unsubscribe from this group, send email to funtoo-dev+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/funtoo-dev?hl=en.

Guy Fontaine

unread,
May 19, 2010, 7:27:34 PM5/19/10
to funto...@googlegroups.com
Hi !

You have that issue because libpng has been upgraded to 1.4.2.

Many applications still require lipng12 and there are no symlink. You must reinstall lbpng-1.2.43-r2 (slot), run lafailefixer and create symlink.

Follow this link (http://forums.gentoo.org/viewtopic-t-827262-start-0-postdays-0-postorder-asc-highlight-libpng.html) to get the whole story and the so many ways to fix it.

If you understand French, you may visit gentoo-quebec.org. Here are two threads about libpng :

http://www.gentoo-quebec.org/forum/viewtopic.php?f=9&t=3095

http://www.gentoo-quebec.org/forum/viewtopic.php?f=4&t=3069

Regards,

Guy Fontaine (aramis_qc)


2010/5/19 vervurax <verv...@gmail.com>

Piotr Karbowski

unread,
May 20, 2010, 5:21:15 AM5/20/10
to funto...@googlegroups.com
Don't forget to rebuild cairo and pango after libpng upgrade.

Marcin Drozd

unread,
May 20, 2010, 5:37:24 PM5/20/10
to funto...@googlegroups.com
Ok SOLVED, I emerged libpng-1.2 in slot and then rebuilt poppler, which I think was the most important.
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../lib64/libpoppler-glib.so: undefined reference to `g_malloc_n'
so it looks like problem with libpoppler-glib not the g_malloc_n which is just pointed in libs.
Eventually revdep-rebuild succeded, broken packages (audacious, syslog, mc and others) needed rebuild and that's it - everything works fine.
[I also added -preserve-libs to FEATURES, but dunno if it really matters]
Thanks for attention ;)
 
2010/5/20 Piotr Karbowski <jabbe...@gmail.com>
Reply all
Reply to author
Forward
0 new messages