OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Missing Libopcodes-2.9.5.0.31.so, dev-image 1.5
Snake
post Nov 21 2006, 06:29 AM
Post #1





Group: Members
Posts: 36
Joined: 26-June 04
From: Stuttgart, Germany
Member No.: 3,836



I have tried to use the dev-image 1.5 to develop some little applications on the Z. I can mount the image and source devel.sh without errors.
But if I want to compile I get the message "error while loading shared libraries: libopcodes-2.9.5.0.31.so: cannot load shared object file: No such file or directory". I'm sure this file is there and on the right place.
So what's wrong?

Regards,
Frank
Go to the top of the page
 
+Quote Post
Meanie
post Nov 21 2006, 03:33 PM
Post #2





Group: Members
Posts: 2,808
Joined: 21-March 05
From: Sydney, Australia
Member No.: 6,686



QUOTE(Snake @ Nov 22 2006, 12:29 AM)
I have tried to use the dev-image 1.5 to develop some little applications on the Z. I can mount the image and source devel.sh without errors.
But if I want to compile I get the message "error while loading shared libraries: libopcodes-2.9.5.0.31.so: cannot load shared object file: No such file or directory". I'm sure this file is there and on the right place.
So what's wrong?

Regards,
Frank
*


try running ldconfig after you mount the image.
Go to the top of the page
 
+Quote Post
Snake
post Nov 21 2006, 07:45 PM
Post #3





Group: Members
Posts: 36
Joined: 26-June 04
From: Stuttgart, Germany
Member No.: 3,836



QUOTE(Meanie @ Nov 21 2006, 03:33 PM)
try running ldconfig after you mount the image.
*


I have done, but nothing changed. sad.gif

Regards,
Frank
Go to the top of the page
 
+Quote Post
Meanie
post Nov 21 2006, 08:12 PM
Post #4





Group: Members
Posts: 2,808
Joined: 21-March 05
From: Sydney, Australia
Member No.: 6,686



QUOTE(Snake @ Nov 22 2006, 01:45 PM)
QUOTE(Meanie @ Nov 21 2006, 03:33 PM)
try running ldconfig after you mount the image.
*


I have done, but nothing changed. sad.gif

Regards,
Frank
*



in that case, does that file exist?
Go to the top of the page
 
+Quote Post
Snake
post Nov 21 2006, 09:52 PM
Post #5





Group: Members
Posts: 36
Joined: 26-June 04
From: Stuttgart, Germany
Member No.: 3,836



Okay, lets say, what I've done (maybe I'm wrong there):
- Downloaded dev-image_1.5.img from http://www.iaccarino.de/silvio/zaurusstuff.htm
- Copied dev-image_1.5.img on SD-Card
- Mount dev-image_1.5.img with mount -t cramfs /mnt/card/images/dev-image_1.5.img /mnt/card/devel -o loop
- source /mnt/card/devel/devel.sh without errors
- ldconfig
- tried gcc hw.cpp (a simple "Hello World" C++ console output programm)
-> missing libopcodes-2.9.5.0.31.so
Same error if I try to make a Qt programm.

You can find libopcodes-2.9.5.0.31.so at /mnt/card/devel/lib

Regards,
Frank
Go to the top of the page
 
+Quote Post
Meanie
post Nov 21 2006, 10:08 PM
Post #6





Group: Members
Posts: 2,808
Joined: 21-March 05
From: Sydney, Australia
Member No.: 6,686



QUOTE(Snake @ Nov 22 2006, 03:52 PM)
Okay, lets say, what I've done (maybe I'm wrong there):
- Downloaded dev-image_1.5.img from http://www.iaccarino.de/silvio/zaurusstuff.htm
- Copied dev-image_1.5.img on SD-Card
- Mount dev-image_1.5.img with mount -t cramfs /mnt/card/images/dev-image_1.5.img /mnt/card/devel -o loop
- source /mnt/card/devel/devel.sh without errors
- ldconfig
- tried gcc hw.cpp (a simple "Hello World" C++ console output programm)
-> missing libopcodes-2.9.5.0.31.so
Same error if I try to make a Qt programm.

You can find libopcodes-2.9.5.0.31.so at /mnt/card/devel/lib

Regards,
Frank
*


ok, add
/mnt/card/devel/lib
to /etc/ld.so.conf
then run ldconfig
Go to the top of the page
 
+Quote Post
Snake
post Nov 22 2006, 01:55 AM
Post #7





Group: Members
Posts: 36
Joined: 26-June 04
From: Stuttgart, Germany
Member No.: 3,836



Thx Meanie!

After added /mnt/card/devel/lib to /etc/ld.so.conf on ldconfig shows some errors linking libSDL because they are linked before, I think.

Well, libopcodes is not missing anymore. But I had to link libc_nonshared.a to /usr/lib manually. - And now, "Hello World" is showing on Zaurus' display. biggrin.gif

But If I try to compile sources using qt, I get more errors... blink.gif

Regards,
Frank
Go to the top of the page
 
+Quote Post
Meanie
post Nov 22 2006, 03:33 AM
Post #8





Group: Members
Posts: 2,808
Joined: 21-March 05
From: Sydney, Australia
Member No.: 6,686



QUOTE(Snake @ Nov 22 2006, 07:55 PM)
Thx Meanie!

After added /mnt/card/devel/lib to /etc/ld.so.conf on ldconfig shows some errors linking libSDL because they are linked before, I think.

Well, libopcodes is not missing anymore. But I had to link libc_nonshared.a to /usr/lib manually. - And now, "Hello World" is showing on Zaurus' display.  biggrin.gif

But If I try to compile sources using qt, I get more errors...  blink.gif

Regards,
Frank
*


maybe try my zgcc image instead? smile.gif
Go to the top of the page
 
+Quote Post
Snake
post Nov 22 2006, 03:53 AM
Post #9





Group: Members
Posts: 36
Joined: 26-June 04
From: Stuttgart, Germany
Member No.: 3,836



QUOTE(Meanie @ Nov 22 2006, 03:33 AM)
maybe try my zgcc image instead? smile.gif
*


I will try it if I'm back from work today. smile.gif
But hope it will better work than your X/Qt jumbo image. wink.gif
Go to the top of the page
 
+Quote Post
stefb
post Mar 26 2012, 03:11 AM
Post #10





Group: Members
Posts: 19
Joined: 22-April 08
From: Germany
Member No.: 21,662



Had similar problems, because on my 5500 3.10 or 3.13 with Sharp ROM there was no sudo package installed and user zaurus couldn't execute all instructions in the dev-image setup script. One of the instructions that failed was the symlinking of the libraries. Fix: install sudo before you install the dev-image.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 28th December 2014 - 12:51 PM