Author Topic: Symbolic Links  (Read 1889 times)

alexanderdg

  • Newbie
  • *
  • Posts: 2
    • View Profile
Symbolic Links
« on: December 30, 2004, 08:42:40 am »
First off, apologies if I have dropped this into the wrong forum.

I have been lurking for a while after deciding to 'play' with my 5500.

I have flashed to OZ and added a few things which seem to working - after a few days of head scratching, re-flashing, lots of searching of forums/web etc.

I am now at a stage where most things are starting to work but I have a problem with some sym links disappearing after a reboot. I suspect it is something simple but coming from a Windows background the answer is beyond my grasp at the mo.

A prime example are the links for libglib. I install everything from the command line with ipkg to sd card (ext2 format).

After the install I had problems getting Zethereal running but eventually found the problems and one of them was the necessity to create some links. The one below is the general type of thing I have done to create them:

cd /usr/lib
ln -s /mnt/card/usr/lib/libglib-1.2.so.0 libglib-1.2.so.0

This works and Zethereal plays ball until I reboot after which the links have disappeared and I have to re-create them. This does not seem to affect all links just some of them.

Is there anyone out there that can point out the error I am making?

Many thanks in advance.
SL-5500
OZ 3.5.1 (64/0)
256MB SD (ext2)
Socket CF 10/100
Origo CF 802.11b

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
Symbolic Links
« Reply #1 on: December 30, 2004, 01:25:33 pm »
Sounds like the famous symlinkbug in 3.5.1 to me.
The work-around has been posted on this board somewhere.
Or just upgrade to 3.5.2
« Last Edit: December 30, 2004, 01:25:54 pm by CoreDump »
Webmaster of hentges.net & Embedded Linux Developer.

alexanderdg

  • Newbie
  • *
  • Posts: 2
    • View Profile
Symbolic Links
« Reply #2 on: December 31, 2004, 06:50:44 am »
Thanks for the pointer - I guess this should have been in the OZ forum, I had just assumed it was something I was doing wrong.

Refined my search and found half the answer but decided the easiest option was to re-flash to 3.5.2, it works now.

Thanks again  
SL-5500
OZ 3.5.1 (64/0)
256MB SD (ext2)
Socket CF 10/100
Origo CF 802.11b