LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   broken links for Libreoffice (https://www.linuxquestions.org/questions/linux-newbie-8/broken-links-for-libreoffice-4175567879/)

relic70 01-25-2016 04:53 PM

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

huffdad 01-25-2016 05:37 PM

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.

Emerson 01-25-2016 07:03 PM

OTOH, those orphaned links probably are not needed at all.


All times are GMT -5. The time now is 06:46 PM.