Author Topic: Library Linking Issue?  (Read 2031 times)

ToadMan8

  • Newbie
  • *
  • Posts: 2
    • View Profile
Library Linking Issue?
« on: August 08, 2005, 07:46:49 pm »
I have a 5500 and my heavier apps (Gaim and Konqueror are two examples of particular interest) don't want to run.  "Error while loading shared libraries: (insert app specific library here, e.g. libpcreposix.so.0 in the case  of konqueror, libgaim.so.0 for gaim) cannot open shared object file:No such file or directory exists.

I installed the newest Rom and kernel from Hentges page and went through CardFS setup.  Apps wouldn't launch from the icons so I went to the console and got the above error.  For a while it worked if I was in the directory /mnt/card/usr/lib (where the actual libs are, /usr/lib contains symlinks mostly to /mnt/card/usr/lib).  The files that Kon and Gaim are looking for are in /mnt/card/usr/lib and linked to from /usr/lib but it can't find them.  I replaced the destination files with a snapshot of my friend's (he did the identical install today with his and his works fine).  Something is different along the way and I'm not sure what.  

Oh, and I have no CF storage (it holds my wifi card) - I was using CardFS to store things on my 256 SD card which seems to have worked for the most part.  Everything else works, like WIFI and stuff, I can SSH around and mess with things....

Ideas?  Sorry if any of this is really n00b-ish, I am to Zaurus a n00b (but know Linux a good deal).  And sorry if this is already addressed, my feeble searching turned up little .

Thanks all

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Library Linking Issue?
« Reply #1 on: August 10, 2005, 08:11:56 am »
It appears that you did use ipkg-link to create the symlinks from the SD card to the root directory.

What format is the SD card? The libs often create symlinks like so:

libsomething.so.X.x -> libsomething.so.X
libsomething.so.X -> libsomething.so

Therefore if your SD card is fat, the symlink won't be created and the lib won't be found.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

ToadMan8

  • Newbie
  • *
  • Posts: 2
    • View Profile
Library Linking Issue?
« Reply #2 on: August 10, 2005, 01:04:57 pm »
Quote
It appears that you did use ipkg-link to create the symlinks from the SD card to the root directory.
...
Therefore if your SD card is fat, the symlink won't be created and the lib won't be found.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=91365\"][{POST_SNAPBACK}][/a][/div]
I used CardFS, and my SD card is ext2 - CardFS bult that filesystem for me.