Solved

Shared object "libarchive.so.5" not found, required by "pkg"

Posted on 2014-09-30
3
296 Views
Last Modified: 2016-02-11
Hello, Dear experts!
I have the following problem on FreeBSD

Shared object "libarchive.so.5" not found, required by "pkg"

Any command with pkg -v gives me the output above.

How to solve this problem

Regards,
Nusrat
0
Comment
Question by:Nusrat Nuriyev
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 62

Accepted Solution

by:
gheist earned 500 total points
ID: 40352469
Hello my friend. You here again with messed up FreeBSD upgrades.
Install a clean system and read the manual when upgrading FreeBSD - first kernel, then ALL userland, then ALL ports
0
 

Author Comment

by:Nusrat Nuriyev
ID: 40355281
Could you tell me all ways to mess up FreeBSD upgrades? Is it an infinite number?
0
 
LVL 62

Expert Comment

by:gheist
ID: 40356304
Well I have little experience with them.

All i know that libarchive.5 can be mappedto libarchive.6 by libmap.conf, and then you can fix the pkg installation.
First you need to ensure kernel and userland (including pkg) works fine, otherwise you get pkg-s with dependencies in both versions of FreeBSD.

Normally one sticks with 9-RELENG or 10-RELENG, and when that gets retired server is so old they install new server with new release.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question