Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-07-2004, 11:24 AM
|
#1
|
|
Member
Registered: Oct 2002
Location: Houston
Distribution: Arch, PCLinuxOS, Mint
Posts: 257
Rep:
|
How do I fix a broken Symbolic Link?
Help!
I am running Netscape 7.1 on RedHat 8.0. Some of the website I visit use Java applets, and the JRE was not included in the Netscape install. I went to the Netscape site to get the plugin which directed me to the Sun site for the actual download. I was able to install the downloaded file and the resulting plugin was placed exactly where the instructions said it would be.
The instructions also said to do not copy the plugin program to the plugin directory, but to create a sybolic link, or pages containing applets would fail. When I created the link it shows on the ls display as blinking red, and in nautilus shows as a broken link.
Here are the commands I used to create the link. I am logged in as root.
cd /usr/local/netscape/plugins
ln -s /usr/java/jre1.5.0/plugin/i386/ns7/libjavaplugin_oji.so
The program does exist in the target directory with permissions 755. The broken link has permissions 777.
Any help would be appreciated. I normally try all I can think of to resolve issues like this myself but even after RTFM I couldn't find an answer.
Thanks
Dick Gregory
|
|
|
|
11-07-2004, 12:00 PM
|
#2
|
|
Member
Registered: Apr 2004
Distribution: Debian
Posts: 185
Rep:
|
You can just rm broken_link. After you remove it make the link below.
ln -s /usr/java/jre1.5.0/plugin/i386/ns7/libjavaplugin_oji.so libjavaplugin_oji.so
|
|
|
|
11-07-2004, 01:01 PM
|
#3
|
|
Member
Registered: Oct 2002
Location: Houston
Distribution: Arch, PCLinuxOS, Mint
Posts: 257
Original Poster
Rep:
|
Thanks peacebwitchu for your reply.
I still get the same results as before. I think that when you omit the name of the link you are creating it just takes it from the target filename.
Any other ideas?
Dick Gregory
|
|
|
|
11-07-2004, 04:06 PM
|
#4
|
|
Guru
Registered: Jan 2002
Posts: 6,042
Rep: 
|
Try
ln -svf /usr/java/jre1.5.0/plugin/i386/ns7/libjavaplugin_oji.so .
Do no forget the dot at the end. Its a faster way of saying libjavaplugin_oji.so when you are under /usr/local/netscape/plugins.
The above will only work if /usr/java/jre1.5.0/plugin/i386/ns7/libjavaplugin_oji.so exits. If it does not exist, you will have to find the java directory on your own.
|
|
|
|
11-07-2004, 08:08 PM
|
#5
|
|
Member
Registered: Oct 2002
Location: Houston
Distribution: Arch, PCLinuxOS, Mint
Posts: 257
Original Poster
Rep:
|
Thanks Electro. Your suggestion is just what I needed. I must have been the missing dot at the end because the other options that you addad I don't think could have affected the outcome. I went back to my installation instructions, which I had printed out, and checked with a magnifying glass. There was no dot there, so the instructions were apparently faulty.
Anyhow, my applets work now and I am a happy camper.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:48 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|