Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unable to connect pinguino on Linux
11-01-2012, 02:42 PM,
#11
RE: Unable to connect pinguino on Linux
John:

How do you fix the issue? Please help me because I can't connect it yet! IDE is now working but dmesg still showing:

"Board: PIC32 Pinguino OTG
Proc: 32MX440F256H
/home/Nokasho/Pinguino/pinguino208/linux/p32/bin/../libexec/gcc/mips-elf/4.5.2/cc1: error while loading shared libraries: libmpc.so.2: cannot open shared object file: No such file or directory
/home/Nokasho/Pinguino/pinguino208/linux/p32/bin/../libexec/gcc/mips-elf/4.5.2/cc1: error while loading shared libraries: libmpc.so.2: cannot open shared object file: No such file or directory
/home/Nokasho/Pinguino/pinguino208/linux/p32/bin/../libexec/gcc/mips-elf/4.5.2/cc1: error while loading shared libraries: libmpc.so.2: cannot open shared object file: No such file or directory
/home/Nokasho/Pinguino/pinguino208/linux/p32/bin/../libexec/gcc/mips-elf/4.5.2/cc1: error while loading shared libraries: libmpc.so.2: cannot open shared object file: No such file or directory
error while linking /home/Nokasho/Pinguino/pinguino208/examples/1.Basics/Blink/Blink.o "

Thank you for you help! =D
Reply
11-01-2012, 02:52 PM,
#12
RE: Unable to connect pinguino on Linux
if you change permissions, these file missing.

checkout svn =)

http://code.google.com/p/pinguino32/source/checkout

Reply
11-01-2012, 03:08 PM, (This post was last modified: 11-01-2012, 03:14 PM by pingotg.)
#13
RE: Unable to connect pinguino on Linux
(11-01-2012, 02:52 PM)N3XT Wrote: if you change permissions, these file missing.

checkout svn =)

http://code.google.com/p/pinguino32/source/checkout
When I installed it I didn't do that but the files were missing. It was just a bug in the IDE. It needed files which it did not include. Simple.

I fixed it for my own use, then I reported it and expected it to be fixed. Also simple.

Please stop making it sound like it was something I did or did not do because it wasn't.

John
(11-01-2012, 02:42 PM)nokasho Wrote: John:

How do you fix the issue? Please help me because I can't connect it yet! IDE is now working but dmesg still showing:

"Board: PIC32 Pinguino OTG
Proc: 32MX440F256H
/home/Nokasho/Pinguino/pinguino208/linux/p32/bin/../libexec/gcc/mips-elf/4.5.2/cc1: error while loading shared libraries: libmpc.so.2: cannot open shared object file: No such file or directory
snip
"

That's not dmesg output.

I run 32-bit Linux and I had no problem finding a file that would fix the missing one. You'll probably have to do as was said about the 32-bit libs.

You might try svn but my experience was poor when I did that. Again I had to do things to get it working and frankly it was more trouble than it was worth.

John
Reply
11-01-2012, 06:04 PM, (This post was last modified: 11-01-2012, 06:05 PM by regis.)
#14
RE: Unable to connect pinguino on Linux
Here are attached the 2 files you need.
Rename them by deleting the .txt extension (I add it because the forum does not allowed them without).
Put libmpc.so.2 and libmpc.so.2.0.0 in linux/p32/bin and start Pinguino again.


(11-01-2012, 03:08 PM)pingotg Wrote:
(11-01-2012, 02:52 PM)N3XT Wrote: if you change permissions, these file missing.

checkout svn =)

http://code.google.com/p/pinguino32/source/checkout
When I installed it I didn't do that but the files were missing. It was just a bug in the IDE. It needed files which it did not include. Simple.

I fixed it for my own use, then I reported it and expected it to be fixed. Also simple.

Please stop making it sound like it was something I did or did not do because it wasn't.

John
(11-01-2012, 02:42 PM)nokasho Wrote: John:

How do you fix the issue? Please help me because I can't connect it yet! IDE is now working but dmesg still showing:

"Board: PIC32 Pinguino OTG
Proc: 32MX440F256H
/home/Nokasho/Pinguino/pinguino208/linux/p32/bin/../libexec/gcc/mips-elf/4.5.2/cc1: error while loading shared libraries: libmpc.so.2: cannot open shared object file: No such file or directory
snip
"

That's not dmesg output.

I run 32-bit Linux and I had no problem finding a file that would fix the missing one. You'll probably have to do as was said about the 32-bit libs.

You might try svn but my experience was poor when I did that. Again I had to do things to get it working and frankly it was more trouble than it was worth.

John



Attached Files
.txt   libmpc.so.2.txt (Size: 69.84 KB / Downloads: 8)
.txt   libmpc.so.2.0.0.txt (Size: 69.84 KB / Downloads: 7)
It is easier to complain than it is to do, but it is better to do than it is to complain.
Reply
11-01-2012, 10:15 PM,
#15
RE: Unable to connect pinguino on Linux
This was the solution to this issue in Fedora =D:

# yum install libmpc.i686 (easy, is'nt it? xD )
Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit
Loading mirror speeds from cached hostfile
* fedora: fedora.c3sl.ufpr.br
* livna: rpm.livna.org
* rpmfusion-free: mirror.us.leaseweb.net
* rpmfusion-free-updates: mirror.us.leaseweb.net
* rpmfusion-nonfree: mirror.us.leaseweb.net
* rpmfusion-nonfree-updates: mirror.us.leaseweb.net
* updates: fedora.c3sl.ufpr.br
http://repos.fedorapeople.org/repos/luya...repomd.xml: [Errno 14] HTTP Error 404 - Not Found : http://repos.fedorapeople.org/repos/luya...repomd.xml
Trying other mirror.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package libmpc.i686 0:0.8.3-0.3.svn855.fc15 will be installed
--> Processing Dependency: libmpfr.so.4 for package: libmpc-0.8.3-0.3.svn855.fc15.i686
--> Processing Dependency: libgmp.so.3 for package: libmpc-0.8.3-0.3.svn855.fc15.i686
--> Running transaction check
---> Package gmp.i686 1:4.3.2-3.fc15 will be installed
---> Package mpfr.i686 0:3.0.0-4.fc15 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
libmpc i686 0.8.3-0.3.svn855.fc15 fedora 49 k
Installing for dependencies:
gmp i686 1:4.3.2-3.fc15 fedora 335 k
mpfr i686 3.0.0-4.fc15 fedora 167 k

Transaction Summary
================================================================================
Install 3 Package(s)

Total download size: 550 k
Installed size: 1.5 M
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 550 k
(1/3): gmp-4.3.2-3.fc15.i686.rpm | 335 kB 00:01
(2/3): libmpc-0.8.3-0.3.svn855.fc15.i686.rpm | 49 kB 00:00
(3/3): mpfr-3.0.0-4.fc15.i686.rpm | 167 kB 00:00
--------------------------------------------------------------------------------
Total 225 kB/s | 550 kB 00:02
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : 1:gmp-4.3.2-3.fc15.i686 1/3
Installing : mpfr-3.0.0-4.fc15.i686 2/3
Installing : libmpc-0.8.3-0.3.svn855.fc15.i686 3/3

Installed:
libmpc.i686 0:0.8.3-0.3.svn855.fc15

Dependency Installed:
gmp.i686 1:4.3.2-3.fc15 mpfr.i686 0:3.0.0-4.fc15

Complete! "

THANKs to everybody who want to help me with my first problem in Pinguino! =D
Reply
11-01-2012, 11:08 PM,
#16
RE: Unable to connect pinguino on Linux
Hey! Good News!!
Reply
12-01-2012, 10:12 AM,
#17
RE: Unable to connect pinguino on Linux
I'm not convinced packaging libraries like 'libmpc.so' is generally a good idea. The solution by Nokasho is better I think. It is not that the IDE package is missing those, it is the environment on the machine that is not suitable. The library provided by Regis may not be working on all systems and produce more problems. Can someone put 'the Fedora way' on the Wiki?
Reply
12-01-2012, 11:06 AM,
#18
RE: Unable to connect pinguino on Linux
More importantly, any library that is required should be clearly stated as being required. And when a specific version is needed, that needs to be clear, too, of course.

Further, if the library is part of a package, that package needs to be clearly identified.

Otherwise, users face a cliff to climb just to get started.

John
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)