Author Topic: Missing Libopcodes-2.9.5.0.31.so  (Read 14085 times)

Snake

  • Newbie
  • *
  • Posts: 36
    • View Profile
    • http://www.wide-eye.de
Missing Libopcodes-2.9.5.0.31.so
« 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
SL5500(G), Modified  64-0-CackoROM, 256MB HiSpeed Panasonic SD
SL-C1000, CackoROM 1.23 light, 1GB 80x Transcend SD
German SharpROM HowTo: http://www.wide-eye.de...

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Missing Libopcodes-2.9.5.0.31.so
« Reply #1 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.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Snake

  • Newbie
  • *
  • Posts: 36
    • View Profile
    • http://www.wide-eye.de
Missing Libopcodes-2.9.5.0.31.so
« Reply #2 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
SL5500(G), Modified  64-0-CackoROM, 256MB HiSpeed Panasonic SD
SL-C1000, CackoROM 1.23 light, 1GB 80x Transcend SD
German SharpROM HowTo: http://www.wide-eye.de...

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Missing Libopcodes-2.9.5.0.31.so
« Reply #3 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?
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Snake

  • Newbie
  • *
  • Posts: 36
    • View Profile
    • http://www.wide-eye.de
Missing Libopcodes-2.9.5.0.31.so
« Reply #4 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
- 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
SL5500(G), Modified  64-0-CackoROM, 256MB HiSpeed Panasonic SD
SL-C1000, CackoROM 1.23 light, 1GB 80x Transcend SD
German SharpROM HowTo: http://www.wide-eye.de...

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Missing Libopcodes-2.9.5.0.31.so
« Reply #5 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
- 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
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Snake

  • Newbie
  • *
  • Posts: 36
    • View Profile
    • http://www.wide-eye.de
Missing Libopcodes-2.9.5.0.31.so
« Reply #6 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
SL5500(G), Modified  64-0-CackoROM, 256MB HiSpeed Panasonic SD
SL-C1000, CackoROM 1.23 light, 1GB 80x Transcend SD
German SharpROM HowTo: http://www.wide-eye.de...

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Missing Libopcodes-2.9.5.0.31.so
« Reply #7 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?
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Snake

  • Newbie
  • *
  • Posts: 36
    • View Profile
    • http://www.wide-eye.de
Missing Libopcodes-2.9.5.0.31.so
« Reply #8 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.  
SL5500(G), Modified  64-0-CackoROM, 256MB HiSpeed Panasonic SD
SL-C1000, CackoROM 1.23 light, 1GB 80x Transcend SD
German SharpROM HowTo: http://www.wide-eye.de...

stefb

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • http://
Missing Libopcodes-2.9.5.0.31.so
« Reply #9 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.
5500G (misc.)
C1000 (Sharp)
C3200 (Cacko)
Interests: GCC/SDK, Python, µC&Electronics