Author Topic: Cannot Create Symlink  (Read 5797 times)

Misiurei

  • Newbie
  • *
  • Posts: 15
    • View Profile
Cannot Create Symlink
« on: May 02, 2005, 07:50:39 am »
Hi, when installing to sd (for example kopi) I get the message "Cannot create symlink" to various places, e.g. "./opt/QTPalmtop/lib/linmikrokcal.so.1 to libmikrokcal.so."
Then I ipkg-link mount to sd, which runs fine, reset and: there is the applet and it works sometimes (as in the case of kopi) but in others not.  What is wrong - or: What do I do wrong?
Thanx for help

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Cannot Create Symlink
« Reply #1 on: May 02, 2005, 09:33:55 am »
What format is the SD card?

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

Misiurei

  • Newbie
  • *
  • Posts: 15
    • View Profile
Cannot Create Symlink
« Reply #2 on: May 03, 2005, 03:01:59 am »
Quote
What format is the SD card?

Si
[div align=\"right\"][a href=\"index.php?act=findpost&pid=77866\"][{POST_SNAPBACK}][/a][/div]

VFAT - for I needed it for flashing.

aereinha

  • Newbie
  • *
  • Posts: 20
    • View Profile
Cannot Create Symlink
« Reply #3 on: May 04, 2005, 06:16:25 pm »
It needs to be in ext2 format for the linking to work properly

w14

  • Full Member
  • ***
  • Posts: 180
    • View Profile
    • http://
Cannot Create Symlink
« Reply #4 on: May 05, 2005, 04:08:02 am »
But beware - in my experience, and I believe others have said the same, if your card is a sandisk, ext2 is unreliable to say the least. Search the forums for more.

Mike.
sl-c3100
pdaxrom 1.1.0 beta1

zenyatta

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
Cannot Create Symlink
« Reply #5 on: May 05, 2005, 08:25:21 am »
Misiurei: you will probably benefit by setting up multiple partitions on your SD card. Instructions are at https://www.oesf.org/index.php?title=Multip..._a_CF_/_SD_card. Keep the first partition as VFAT and set up a second one as ext2. Then make sure you install packages to the second partition (edit /etc/ipkg.conf accordingly).

z.
SL-5500, 256MB Kingston CF card, 128MB EDGE SD card, Thomson HED-155 headphones
OpenZaurus 3.5.3 / Opie (kernel 64-0)

craigtyson

  • Sr. Member
  • ****
  • Posts: 462
    • View Profile
Cannot Create Symlink
« Reply #6 on: May 05, 2005, 08:38:29 am »
Or use Ktrove to move the app once installed to RAM.  This will alow you to keep VFAT on the CF / SD cards so they can be used to reflash your zaurus if required.
Craig
SL-C1000, Angstrom GPE 2007.12r13
Ambicom WL1100C, SanDisk UltraII 1GB SD
 
Old Faithfull - SL-5500 battery out of the C750 (see below) TKC v1 (New) 1GB SD
Dead - SL-C750, Cacko 1.23 lite (Dropped, very messy!)
Ambicom WL1100C, SanDisk Dead - 1GB SD
Keep your Z on a bungee, you never know.....

Misiurei

  • Newbie
  • *
  • Posts: 15
    • View Profile
Cannot Create Symlink
« Reply #7 on: May 05, 2005, 09:05:47 am »
Quote
Misiurei: you will probably benefit by setting up multiple partitions on your SD card. Instructions are at https://www.oesf.org/index.php?title=Multip..._a_CF_/_SD_card. Keep the first partition as VFAT and set up a second one as ext2. Then make sure you install packages to the second partition (edit /etc/ipkg.conf accordingly).

z.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=78355\"][{POST_SNAPBACK}][/a][/div]

Thanx all for help - especially the last hint is helpfull. But strange things are happening since my post. Most programs I have installed (on Zaurus SL6000L) like opie-writer/reader, kstars, etc.. do in fact work on the Vfat-SD card; only Gutenbrowser produces probs, but I have just managed to test-download two texts which I can read. If this behaviour remains/sustains (I am not sure about the right word), then I won't change the format (in my case I would mean to re-install all the programs)

Also: When flashing OZ I made the mistake to format my SDcard with ext2, and then had to re-format it. Suddendy neither my notebook nor the Zaurus could recognise the SD card, so I repeated the procedure again and again. Don't want to have it again.
By the way: Is there any explaination for the need to have a VFAt card for flashing and an ext2 card for software???

Zismylaptop

  • Newbie
  • *
  • Posts: 12
    • View Profile
    • http://
Cannot Create Symlink
« Reply #8 on: May 08, 2005, 10:16:28 pm »
Quote
Misiurei: you will probably benefit by setting up multiple partitions on your SD card. Instructions are at https://www.oesf.org/index.php?title=Multip..._a_CF_/_SD_card. Keep the first partition as VFAT and set up a second one as ext2. Then make sure you install packages to the second partition (edit /etc/ipkg.conf accordingly).

z.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=78355\"][{POST_SNAPBACK}][/a][/div]

The instructions on the page Zenyatta (May 5) references are good, but the ipk with fdisk, mkfs, and mkswap is missing from Killefiz.de . Does anybody know how to dind it elsewhere? Incidentally, 3.5.3 includes fdisk, so the absence of the others is rather disconcerting when you get parteay through the partition-creating process.

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
Cannot Create Symlink
« Reply #9 on: May 08, 2005, 11:31:22 pm »
Quote
The instructions on the page Zenyatta (May 5) references are good, but the ipk with fdisk, mkfs, and mkswap is missing from Killefiz.de . Does anybody know how to dind it elsewhere? Incidentally, 3.5.3 includes fdisk, so the absence of the others is rather disconcerting when you get parteay through the partition-creating process.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=78825\"][{POST_SNAPBACK}][/a][/div]

Please do not use any ipks from killefiz when the same apps are available from the official feeds.
Webmaster of hentges.net & Embedded Linux Developer.

grog

  • Hero Member
  • *****
  • Posts: 692
    • View Profile
    • http://
Cannot Create Symlink
« Reply #10 on: May 09, 2005, 10:59:25 am »
Quote
The instructions on the page Zenyatta (May 5) references are good, but the ipk with fdisk, mkfs, and mkswap is missing from Killefiz.de . Does anybody know how to dind it elsewhere? Incidentally, 3.5.3 includes fdisk, so the absence of the others is rather disconcerting when you get parteay through the partition-creating process.[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
[a href=\"https://www.oesf.org/forums/index.php?act=ST&f=69&t=7196]This post[/url] will lead you in the right direction. Helped me
GROG!

Misiurei

  • Newbie
  • *
  • Posts: 15
    • View Profile
Cannot Create Symlink
« Reply #11 on: May 14, 2005, 09:34:46 am »
Thank you again for help and hints. But: I didn't change anything until now. When first install didn't work I ve tried another one. Just ignored the symlink-messages. With this maybe diletant procedure  there are running on VFAt formated CF and SD cards (both 256Mb) without probs on my Zaurus 6000:
+KoPi
+opie record
+opie-write
+ wellenreiter
+ U-Bahn-Navigator
+ Gutenbrowser
+ formatter
+ Kstars
+ Dict
+ various themes, fonts and extensions
+opie-embedded console.

The installing procedure is always the following:
install (best via console, for packagemanager likes to hang), then ipkg-link mount the card, then reboot, then have fun...

Only I am missing a good word processor for I am writing a lot... But this subject has already been discussed. Hancom Word doesnot install. We need to have a light office-package!!!

So: Is there an explaination why it works in this case against all recommendations?
« Last Edit: May 14, 2005, 09:36:30 am by Misiurei »

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Cannot Create Symlink
« Reply #12 on: May 14, 2005, 10:56:08 am »
These apps don't require any symlinks to be created between files on the card.

This is why any libs or apps with libs will probably fail to install as they create symlinks from the .so.X.x to .so.X and .so.X to .so files.

There may possibly be other problems which could be caused by the lack of permissions on the fat card.


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

Misiurei

  • Newbie
  • *
  • Posts: 15
    • View Profile
Cannot Create Symlink
« Reply #13 on: May 16, 2005, 02:43:29 am »
Convinced!
So I reformated my cf-card to etx2 and reflashed gpe (because of the availibility of abiword). The sd-card with VFAT will be used for file transfer.
Everything seems to be fine (to have a good word processor is really something) UNTIL I have tried to install an e-mail client (by the way: why is there none with the image?).
Sylpheed and Thunderbird are complaining about the same missing library (libx11-6) - but it is there; when I want to install it via ipkg it says it is up-to-date.
What to do?

Tnanx again for help.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Cannot Create Symlink
« Reply #14 on: May 16, 2005, 05:28:58 am »
Use -force-depends in this case - it may be that the diet-x11 lib is named differently (different minor version or something), or perhaps the apps in question were built against a slightly later build of x11/diet-x11.

In any case, it shouldn't make any difference, just force it.


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