Pages: [1]   Go Down
Author Topic: Error message on new install  (Read 1454 times)
0 Members and 1 Guest are viewing this topic.
Cairns - Green Island for Winter
Offline Offline
Full Member
***
Karma: 2
Posts: 148
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Looks like the best spot to post this

Have gone through the troubleshooting page and I see there are 2 previously unanswered posts on this?

I'm doing a new install using Puppy 5.28 Linux
Got the IDE Ok and trying to run the Test Suite I get the following library error

/usr/lib/gcc/avr/4.3.4/cc1plus: error while loading shared libraries: libmpfr.so.1: cannot open shared object file: No such file or directory

I'm a bit rusty now ,does anyone recognise this, or can you tell me what package this is part of or how to get past this ?

Added -I have been searching around and noticed how to see the libraries as so
sh-4.1#  ldd /usr/lib/gcc/avr/4.3.4/cc1
   linux-gate.so.1 =>  (0xffffe000)
   libmpfr.so.1 => not found
   libgmp.so.3 => not found
   libc.so.6 => /lib/libc.so.6 (0xb7671000)
   /lib/ld-linux.so.2 (0xb77dc000)

I remember that libmpfr  and libgmp used to be separately loaded back in 0017 days but saw no mention of them on the install page this time?

Hmm back to the bad old days I guess
I was able to locate and install both libraries in their respective packages from Ubuntu-libgmp3c2
So I got past that

 ldd /usr/lib/gcc/avr/4.3.4/cc1
   linux-gate.so.1 =>  (0xffffe000)
   libmpfr.so.1 => /usr/lib/libmpfr.so.1 (0xb784f000)
   libgmp.so.3 => /usr/lib/libgmp.so.3 (0xb77ee000)
   libc.so.6 => /lib/libc.so.6 (0xb7694000)
   /lib/ld-linux.so.2 (0xb7891000)



Nah     Belay that me hearties -were away I think
« Last Edit: January 06, 2012, 05:27:33 pm by tytower » Logged

Governments should do what they were designed to do only.
Manage the larger issues best done by Government.
My Family and my Property are no

Oregon
Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm getting this error message, building a .pde sketch using antipasto_arduino that I built from source on Ubuntu Linux 11.10:

/home/mstevens/code2/antipasto_arduino/antipasto_arduino/build/linux/work/hardware/tools/avr/bin/../libexec/gcc/avr/4.3.3/cc1plus: error while loading shared libraries: libmpfr.so.1: cannot open shared object file: No such file or directory

It looks like I have libmpfr.so.4, but not .1:

mstevens@helium:/usr/lib$ ls libmpfr*
libmpfr.so.4  libmpfr.so.4.0.1



I will try to get the .1 library and see how it goes...

Logged

Oregon
Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I downloaded the package from here: http://packages.ubuntu.com/hardy/i386/libmpfr1ldbl/download  and installed it.  Then it worked!  smiley

BEFORE DOWNLOADING:
mstevens@helium:~/code2/antipasto_arduino/antipasto_arduino/build/linux/work/hardware/tools/avr/libexec/gcc/avr/4.3.3$ ldd cc1
   linux-gate.so.1 =>  (0x00116000)
   libmpfr.so.1 => not found
   libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0x001d7000)
   /lib/ld-linux.so.2 (0x00733000)
mstevens@helium:~/code2/antipasto_arduino/antipasto_arduino/build/linux/work/hardware/tools/avr/libexec/gcc/avr/4.3.3$ ldd cc1plus
   linux-gate.so.1 =>  (0x008ec000)
   libmpfr.so.1 => not found
   libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0x00c9e000)
   /lib/ld-linux.so.2 (0x007c5000)



AFTER DOWNLOADING:
mstevens@helium:/usr/lib$ ls *mpfr*
libmpfr.so.1  libmpfr.so.1.1.1  libmpfr.so.4  libmpfr.so.4.0.1

mstevens@helium:~/code2/antipasto_arduino/antipasto_arduino/build/linux/work/hardware/tools/avr/libexec/gcc/avr/4.3.3$ ldd cc1plus
   linux-gate.so.1 =>  (0x004c4000)
   libmpfr.so.1 => /usr/lib/libmpfr.so.1 (0x0080f000)
   libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0x00e63000)
   libgmp.so.3 => /usr/lib/libgmp.so.3 (0x005ab000)
   /lib/ld-linux.so.2 (0x007e9000)


FYI


Logged

Cairns - Green Island for Winter
Offline Offline
Full Member
***
Karma: 2
Posts: 148
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yeh when you download version 4 of anything it is supposed to make a link for each previous version I think . I would say some versions are probably not compatable so they don't create the link in that case.

With yours I would say the link wasn't created for who knows what reason . Perhaps a "Guru" could tell us here
Logged

Governments should do what they were designed to do only.
Manage the larger issues best done by Government.
My Family and my Property are no

Pages: [1]   Go Up
Jump to: