LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   slackware-current: libpango problems? (https://www.linuxquestions.org/questions/slackware-14/slackware-current-libpango-problems-4175463440/)

swatnio 05-25-2013 06:33 PM

slackware-current: libpango problems?
 
hello there, i have just upgraded my slackware-current... I haven't upgraded it for like 2 months.. so... it was heavy, but after the slackpkg upgrade-all and the slackpkg install-new, i couldn't run some applications, saying that it couldn't find a function in the pango library... i restarted the PC, and now it doesn't boot, says something like:

(pango-querymodules-32:2195) GLib-GObject-CRITICAL **: gtypce.c:2722: You forgot to call g_type_init()
...
some asserts() that failed, etc.

am i the only one with this problem?

thanks.

willysr 05-25-2013 07:10 PM

i think you missed the glib2 package

swatnio 05-25-2013 10:28 PM

I have installed (as pkgtool tells me):
glib-1.2.10
glib-networking-2.36.2
glib2-2.26.2
glibc-2.17

but, doing ldd /usr/bin/pango-querymodules-32 | grep glib
it says that it is linking to /usr/local/lib/.... and the glib I've got there is glib 2.32, and the one that I have in /usr/lib is 2.36...

so... i don't have idea how that happened... and I see that there are some libraries installed there...

I moved the /usr/local/lib to other place, and made an empty /usr/local/lib, I runned ldconfig, and now everything is OK (everything I runned so far)

my question now is.... if I have a "clean" slackware system, with no extra libraries... should there be anything in /usr/local/lib?

Thanks.

willysr 05-25-2013 10:45 PM

nope, there shouldn't be any libraries in /usr/local/lib unless you compiled it manually from source and not using the slackbuilds

here's on my system:
Code:

willysr@desktop:~$ ldd /usr/bin/pango-querymodules-32 | grep glib
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb5a5c000)


swatnio 05-26-2013 11:25 AM

Thanks :)


All times are GMT -5. The time now is 12:13 PM.