Solved

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

Posted on 2014-09-30
3
251 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
  • 2
3 Comments
 
LVL 61

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 61

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

758 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now