You are not logged in.
Hello
I'm currently looking to distro hop to Archlinux, from Ubuntu. Been on Ubuntu for a while and it doesn't really offer a challenge to me anymore. Grabbed the installation CD for x86_64 version, performed an install following the instructions online, and things went well.
After booting up to a prompt, I tried to compile a simple C application using gcc -c test test.c, and it worked fine. I then followed the instructions for installing alsa, X, gnome, and the gnome-network-manager. Now when I try and compile the simple C application I get:
error while loading shared libraries: libmpfr.so.1: cannot open shared object file: No such file or directory
I ran locate, and it's right, it's not there. The library libmpfr.so.4 has replaced it.
My solution to this problem was going to be to reinstall and add an exclusion to the libmpfr package, and have pacman ignore updating it. Does this sound right?
Thanks for any suggestions,
Rodney
Last edited by rdowdall (2010-06-20 21:46:07)
Rodney Dowdall
Crank Software Inc
Office: 613-595-1999
Online: http://www.cranksoftware.com
Offline
pacman -Syu
you should always do a fully update before installing new packages
Give what you have. To someone, it may be better than you dare to think.
Offline
But if I do a full update, it's going to blow away my libmpfr.so.1, and replace it with libmpfr.so.4, and break my compiler. Is your suggestion based on that if I do the full update before installing packages, then gcc will be updated and no longer have a dependency on libmpfr.so.1? I'm going to try a reinstall later tonight, so I will give your suggestion a try.
Rodney Dowdall
Crank Software Inc
Office: 613-595-1999
Online: http://www.cranksoftware.com
Offline
But if I do a full update, it's going to blow away my libmpfr.so.1, and replace it with libmpfr.so.4, and break my compiler. Is your suggestion based on that if I do the full update before installing packages, then gcc will be updated and no longer have a dependency on libmpfr.so.1? I'm going to try a reinstall later tonight, so I will give your suggestion a try.
when you do a fully update, every package in your system would be updated and therefor your gcc would be updated on the version that links to the new mpfr
Give what you have. To someone, it may be better than you dare to think.
Offline
Awesome, thanks for the help.
Rodney Dowdall
Crank Software Inc
Office: 613-595-1999
Online: http://www.cranksoftware.com
Offline
That worked. Thanks for the help, sorry about the rookie mistake.
Rodney Dowdall
Crank Software Inc
Office: 613-595-1999
Online: http://www.cranksoftware.com
Offline