You are not logged in.

#1 2010-06-20 21:45:40

rdowdall
Member
From: Canada
Registered: 2010-06-20
Posts: 8
Website

After installing gnome packages, gcc no longer works

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

#2 2010-06-20 21:48:39

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: After installing gnome packages, gcc no longer works

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

#3 2010-06-20 21:52:51

rdowdall
Member
From: Canada
Registered: 2010-06-20
Posts: 8
Website

Re: After installing gnome packages, gcc no longer works

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

#4 2010-06-20 21:54:38

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: After installing gnome packages, gcc no longer works

rdowdall wrote:

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

#5 2010-06-20 21:55:28

rdowdall
Member
From: Canada
Registered: 2010-06-20
Posts: 8
Website

Re: After installing gnome packages, gcc no longer works

Awesome, thanks for the help.


Rodney Dowdall
Crank Software Inc
Office: 613-595-1999
Online: http://www.cranksoftware.com

Offline

#6 2010-06-21 13:47:38

rdowdall
Member
From: Canada
Registered: 2010-06-20
Posts: 8
Website

Re: After installing gnome packages, gcc no longer works

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

Board footer

Powered by FluxBB