LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware multilib (http://www.linuxquestions.org/questions/slackware-14/slackware-multilib-4175429970/)

tuxbg 10-01-2012 06:20 PM

Slackware multilib
 
Ok i have a problem with that
I download all multilib packages from AlienBoB
run this upgradepkg --reinstall --install-new *.t?z
to upgarde glibc,gcc,to their multilib version
run this upgradepkg --install-new *-compat32/*.t?z
to upgrade the other stuff but i;ve got this error
when i type in terminal firefox or leafpad i've got this
/usr/lib/gio/modules/libgiofam.so: wrong ELF class: ELFCLASS32
Failed to load module: /usr/lib/gio/modules/libgiofam.so
firefox: symbol lookup error: /usr/lib/libgio-2.0.so.0: undefined symbol: g_type_ensure
/sbin/ldconfig: libraries libgobject-2.0.so.0.3200.4 and libgobject-2.0.so.0.3310.0 in directory /usr/lib have same soname but different type.
/sbin/ldconfig: libraries libgmodule-2.0.so.0.3200.4 and libgmodule-2.0.so.0.3310.0 in directory /usr/lib have same soname but different type.
But when i remove glib2-compat the problem is solved
System is Slackware 14

tuxbg 10-01-2012 06:55 PM

With Slack 13.37 i didnt have this problem,and,how can i resolve it ?
And when i use wine games says that i have no direct rendering and i cant play it :)
fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon HD 6670
OpenGL version string: 4.2.11903 Compatibility Profile Context

glxinfo | grep Op
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon HD 6670
OpenGL version string: 4.2.11903 Compatibility Profile Context
OpenGL shading language version string: 4.20

glxinfo | grep direct
direct rendering: Yes

Petri Kaukasoina 10-02-2012 12:17 AM

Did you install Slackware 14 on top of some other linux distro without formatting drive? Or did you install some random non-Slackware software after installing Slackware? (Slackware does not have glib 2.33.10 which you have.)

tuxbg 10-02-2012 05:36 AM

No its upgraded from 13.0 to 13.1 ti 13.37 to 14 :)
Only with that and previous version of multilib i have this errors

Petri Kaukasoina 10-02-2012 05:57 AM

So, what about my other question. Did you install glib 2.33.10 at some point? It was released 20 Aug 2012 so you might still remember it.

What do these commands output?
Code:

ls -l /usr/lib/*0.3310.0
file /usr/lib/*0.3310.0


tuxbg 10-02-2012 07:06 AM

ls -l /usr/lib/*0.3310.0
-rwxr-xr-x 1 root root 1809647 авг 24 20:08 /usr/lib/libgio-2.0.so.0.3310.0*
-rwxr-xr-x 1 root root 1352564 авг 24 20:08 /usr/lib/libglib-2.0.so.0.3310.0*
-rwxr-xr-x 1 root root 18659 авг 24 20:08 /usr/lib/libgmodule-2.0.so.0.3310.0*
-rwxr-xr-x 1 root root 394037 авг 24 20:08 /usr/lib/libgobject-2.0.so.0.3310.0*
-rwxr-xr-x 1 root root 8189 авг 24 20:08 /usr/lib/libgthread-2.0.so.0.3310.0*


file /usr/lib/*0.3310.0
/usr/lib/libgio-2.0.so.0.3310.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped
/usr/lib/libglib-2.0.so.0.3310.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped
/usr/lib/libgmodule-2.0.so.0.3310.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped
/usr/lib/libgobject-2.0.so.0.3310.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped
/usr/lib/libgthread-2.0.so.0.3310.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped

ls /var/log/packages/glib
glib2-2.32.4-x86_64-1 glibc-solibs-2.15-x86_64-7

Now i remeber i compile glib2-2.33.10 for gnome 3.4 but that package does not exist on my system from one month ago
glibc-2.15-x86_64-7

Petri Kaukasoina 10-02-2012 07:42 AM

You installed the 64-bit glib stuff in /usr/lib which is reserved for 32 bit, while the 64-bit stuff should be in /usr/lib64 in Slackware. You still have the 64-bit glib 2.33.10 installed there as your ls/file command output shows. But you didn't use the slackware package management system when you installed it. I bet you installed other libraries at wrong places at the same time without using package management when you tried to make gnome work.

I strongly suggest that you format your disk and start Slackware install from start.

tuxbg 10-02-2012 07:50 AM

Oh no that would be my second preinstall of Slackware ever.
The first time that i preinstall Slackware is when i move from 12.1 to 64 bit vers of 13 :)
Slackware is rock solid fast distro and i broke it
But that is strange becouse i compile glib2 from source with that options to C compiler
./configure --prefix=/usr --libdir=/usr/lib64 --sysconf=/etc


All times are GMT -5. The time now is 08:45 AM.