OESF Portables Forum

Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => Qt/Qtopia => Topic started by: Snake on November 21, 2006, 09:29:30 am

Title: Missing Libopcodes-2.9.5.0.31.so
Post by: Snake on November 21, 2006, 09:29:30 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
Title: Missing Libopcodes-2.9.5.0.31.so
Post by: Meanie on November 21, 2006, 06:33:28 pm
Quote
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
[div align=\"right\"][a href=\"index.php?act=findpost&pid=146826\"][{POST_SNAPBACK}][/a][/div]

try running ldconfig after you mount the image.
Title: Missing Libopcodes-2.9.5.0.31.so
Post by: Snake on November 21, 2006, 10:45:56 pm
Quote
try running ldconfig after you mount the image.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=146873\"][{POST_SNAPBACK}][/a][/div]

I have done, but nothing changed.

Regards,
Frank
Title: Missing Libopcodes-2.9.5.0.31.so
Post by: Meanie on November 21, 2006, 11:12:23 pm
Quote
Quote
try running ldconfig after you mount the image.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=146873\"][{POST_SNAPBACK}][/a][/div]

I have done, but nothing changed.

Regards,
Frank
[div align=\"right\"][a href=\"index.php?act=findpost&pid=146895\"][{POST_SNAPBACK}][/a][/div]

in that case, does that file exist?
Title: Missing Libopcodes-2.9.5.0.31.so
Post by: Snake on November 22, 2006, 12:52:15 am
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 (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
Title: Missing Libopcodes-2.9.5.0.31.so
Post by: Meanie on November 22, 2006, 01:08:57 am
Quote
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 (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
[div align=\"right\"][a href=\"index.php?act=findpost&pid=146906\"][{POST_SNAPBACK}][/a][/div]

ok, add
/mnt/card/devel/lib
to /etc/ld.so.conf
then run ldconfig
Title: Missing Libopcodes-2.9.5.0.31.so
Post by: Snake on November 22, 2006, 04:55:27 am
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.  

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

Regards,
Frank
Title: Missing Libopcodes-2.9.5.0.31.so
Post by: Meanie on November 22, 2006, 06:33:32 am
Quote
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.   

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

Regards,
Frank
[div align=\"right\"][a href=\"index.php?act=findpost&pid=146918\"][{POST_SNAPBACK}][/a][/div]

maybe try my zgcc image instead?
Title: Missing Libopcodes-2.9.5.0.31.so
Post by: Snake on November 22, 2006, 06:53:48 am
Quote
maybe try my zgcc image instead?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=146923\"][{POST_SNAPBACK}][/a][/div]

I will try it if I'm back from work today.  
But hope it will better work than your X/Qt jumbo image.  
Title: Missing Libopcodes-2.9.5.0.31.so
Post by: stefb on March 26, 2012, 07:11:07 am
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.