LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 01-25-2016, 05:53 PM   #1
relic70
LQ Newbie
 
Registered: Oct 2009
Posts: 6

Rep: Reputation: 0
broken links for Libreoffice


After uninstalling and reinstalling Libreoffice I have some broken links for Libreoffice.

They occur in the /usr/lib/ directory. I want to restore or fix those links. I'll use one of them as an example.

The example broken link is found in

/usr/lib/libuno_sal.so.3 with the message "link(broken)(inode/symlink)

The target is listed as

/usr/lib/libreoffice/program/libuno_sal.so.3

I'm assuming that I must restore a "symbolic" link in the libreoffice/program directory. If that is so, can anyone show me how to do that? I can easily repeat that for all of the other broken links for libreoffice.

Thanks in advance,

Bob
 
Old 01-25-2016, 06:37 PM   #2
huffdad
Member
 
Registered: Jan 2006
Location: Missouri
Distribution: Slackware & LFS
Posts: 31

Rep: Reputation: 6
If the link is in the same directory as the link's target:
Code:
ln -sfv libuno_sal.so.3 libuno_sal.so
Or if the target is in a different directory:
Code:
ln -sfv ../lib/libuno_sal.so.3 libuno_sal.so
The syntax for making a link is:
ln -options <target> <link_name>

-s makes it a soft/symbolic link
-f means force/overwrite if it already exists
-v means verbose, report the link that was just created

I don't know that program very well, so I don't know what filenames you actually need. The examples I used are just a guess based on the way libraries are commonly linked. Hopefully this is enough info to get you started.
 
Old 01-25-2016, 08:03 PM   #3
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,155

Rep: Reputation: Disabled
OTOH, those orphaned links probably are not needed at all.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: PDF import for LibreOffice in Debian Backports is broken -- here's how to fix it LXer Syndicated Linux News 0 12-16-2011 08:20 AM
DHCP-3.0.5 links broken Paulsuk Linux From Scratch 2 12-04-2007 12:32 AM
Broken simbolic links ale_murakami Amigo 2 05-20-2005 07:06 AM
Broken links? danthehat Linux - Newbie 4 02-03-2005 04:06 PM
Konqueror and broken links lachlan Linux - Software 0 07-29-2002 10:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration