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
-
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
-
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.
-
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
-
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?
-
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
-
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
-
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
-
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?
-
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.
-
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.