Missing libgmp on 64bit Ubuntu
Posted: Sat Apr 26, 2008 2:50 pm
Edit: I finally got it to work. Here's how I did it:
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.
When I set the environment variables manually to point to the library I get the following error:
What I also tried was downloading the 32bit package and putting the libraries in my /usr/lib32/ directory. But that doesn't solve it either, even when LD_LIBRARY_PATH links there.
Any suggestions how to solve this?
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?