LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem with installing gtk+ (https://www.linuxquestions.org/questions/linux-software-2/problem-with-installing-gtk-660388/)

grndfl 08-04-2008 12:17 PM

Problem with installing gtk+
 
Hi
I'm trying to install GTK+ 2.12.11 on my openSUSE 10.3 64-bit machine, configuration and building works without any errors. But when I execute the "make install" command I get a bunch of error after a while.

Code:

........................
Cannot load module /usr/lib/gtk-2.0/2.10.0/immodules/im-cyrillic-translit.so: /usr/lib/gtk-2.0/2.10.0/immodules/im-cyrillic-translit.so: wrong ELF class: ELFCLASS32
/usr/lib/gtk-2.0/2.10.0/immodules/im-cyrillic-translit.so does not export GTK+ IM module API: /usr/lib/gtk-2.0/2.10.0/immodules/im-cyrillic-translit.so: wrong ELF class: ELFCLASS32
..................
Cannot load module /usr/lib/gtk-2.0/2.10.0/immodules/im-xim.so: /usr/lib/gtk-2.0/2.10.0/immodules/im-xim.so: wrong ELF class: ELFCLASS32
/usr/lib/gtk-2.0/2.10.0/immodules/im-xim.so does not export GTK+ IM module API: /usr/lib/gtk-2.0/2.10.0/immodules/im-xim.so: wrong ELF class: ELFCLASS32
Cannot load module /usr/lib/gtk-2.0/2.10.0/immodules/im-multipress.so: /usr/lib/gtk-2.0/2.10.0/immodules/im-multipress.so: wrong ELF class: ELFCLASS32
/usr/lib/gtk-2.0/2.10.0/immodules/im-multipress.so does not export GTK+ IM module API: /usr/lib/gtk-2.0/2.10.0/immodules/im-multipress.so: wrong ELF class: ELFCLASS32
Cannot load module /usr/lib/gtk-2.0/2.10.0/immodules/im-ti-er.so: /usr/lib/gtk-2.0/2.10.0/immodules/im-ti-er.so: wrong ELF class: ELFCLASS32
/usr/lib/gtk-2.0/2.10.0/immodules/im-ti-er.so does not export GTK+ IM module API: /usr/lib/gtk-2.0/2.10.0/immodules/im-ti-er.so: wrong ELF class: ELFCLASS32
make[4]: *** [install-data-hook] Error 1

I haven't been able to find any information about the problem, and I appreciate any help I can get.

thanks in advance
Dan Lavigne

forrestt 08-04-2008 12:42 PM

You are mixing 64 bit and 32 bit code. Make sure all the dependencies are the correct bit versions.

HTH

Forrest

grndfl 08-04-2008 01:05 PM

Thanks for you reply, do you have any suggestion of what dependency it might be?:confused:

forrestt 08-04-2008 01:15 PM

GTK requires the dependencies from this site. Check with those first, and then check on any dependencies they may have.

HTH

Forrest

grndfl 08-04-2008 02:37 PM

Since the error stated above tries to execute files in the "/usr/lib/" directory, my best guess is that somewhere the configuration is "/usr/lib/" but should be "/usr/lib64/".
I've tried to search most files but haven't managed to find any, to my knowledge, faults.

So, does anybody know what might be wrong?

edit:
I found this post on another site that stated the very same problem that I have LINK. Unfortuantely I can't get much sense to the solution. Anyone?

jason.liu 08-05-2008 02:45 AM

have you install glib?

you must install glib before install gtk+


All times are GMT -5. The time now is 10:34 PM.