symlinks are corrupted even thought the destination file is on its place
i'm trying to create symlink to libjavaplugin_oji.so. i've placed java under /usr/local/java. i type the following command:
# ln -s /usr/local/java/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /usr/local/mozilla/plugin but the link is corrupted. every time i try to create it it is corrupted symlink. java won't work if i create hardlink. what the hell is wrong?! |
What do you mean by its 'corrupted'? Like it doesn't work or it gives errors when creating?
I always cd into the directory I'm going to create the symlink in so I don't confuse myself.. ;) #cd /usr/local/mozilla/ # ln -s /usr/local/java/plugin/i386/ns610-gcc32/libjavaplugin_oji.so plugin |
forgive me poor english if that confused you. well i'll describe it like this. when i try ls /dir/with/symlink it is marked with red color. i'm not a pro, but such a thing happens if we move/remove the destination file. but in this case the destination file exists!
|
Have you tried something with the full path like:
ln -s /usr/local/java/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /usr/local/mozilla/plugins/libjavaplugin_oji.so |
yeah, and it finally worked. i'll keep that in memory, thnx
|
Okay, I was under the impression you wanted to name it plugin, forgetting that is the directory. When creating links, you have to give the link an actual name. Your first go round, you were trying to link to a directory that already exists.
|
All times are GMT -5. The time now is 04:43 AM. |