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 |
|
|
|
![]() |
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. |
|
|
|
Nov 21 2006, 07:45 PM
Post
#3
|
|
![]() Group: Members Posts: 36 Joined: 26-June 04 From: Stuttgart, Germany Member No.: 3,836 |
|
|
|
|
Nov 21 2006, 08:12 PM
Post
#4
|
|
![]() Group: Members Posts: 2,808 Joined: 21-March 05 From: Sydney, Australia Member No.: 6,686 |
|
|
|
|
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 |
|
|
|
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 |
|
|
|
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. But If I try to compile sources using qt, I get more errors... Regards, Frank |
|
|
|
Snake Missing Libopcodes-2.9.5.0.31.so Nov 21 2006, 06:29 AM
Meanie QUOTE(Snake @ Nov 22 2006, 07:55 PM)Thx Meani... Nov 22 2006, 03:33 AM
Snake QUOTE(Meanie @ Nov 22 2006, 03:33 AM)maybe tr... Nov 22 2006, 03:53 AM
stefb Had similar problems, because on my 5500 3.10 or 3... Mar 26 2012, 03:11 AM![]() ![]() |
|
Lo-Fi Version | Time is now: 24th May 2013 - 09:13 AM |