![]() ![]() |
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 |
|
|
|
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. But If I try to compile sources using qt, I get more errors... Regards, Frank maybe try my zgcc image instead? |
|
|
|
Nov 22 2006, 03:53 AM
Post
#9
|
|
![]() Group: Members Posts: 36 Joined: 26-June 04 From: Stuttgart, Germany Member No.: 3,836 |
|
|
|
|
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.
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 19th June 2013 - 05:58 PM |