1.) Got to http://packages.ubuntu.com/ and download the libgmp3c2 package (not the -dev package, only the library will do I think).
2.) Unpack it using the command ar -x libgmp3c2_4.2.2+dfsg-1ubuntu2_i386.deb
3.) You'll get a data.tar.gz file. Unpack it and copy the contents of usr/lib/ to your directory /usr/lib32
That's all I think.
------------------------------------------------------------
Hi!
I'm running Ubuntu 8.04 and had some problems upgrading to devkitARM 22. On my 32bit laptop could resolve them by installing the libgmp3-dev package. But on my AMD64 desktop PC (running Ubuntu 8.04 64bit) it's not so easy.
I still get this error even though the development package of libgmp is installed. I assume it's because the installed package is the 64bit version.
Code: Select all
/usr/local/devkitPro/devkitARM/bin/../libexec/gcc/arm-eabi/4.3.0/cc1plus: error while loading shared libraries: libgmp.so.3: cannot open shared object file: No such file or directory
Code: Select all
/usr/local/devkitPro/devkitARM/bin/../libexec/gcc/arm-eabi/4.3.0/cc1: error while loading shared libraries: libgmp.so.3: wrong ELF class: ELFCLASS64
Any suggestions how to solve this?