Solved

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

Posted on 2014-09-30
3
274 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 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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ftp to port 21 4 54
Linux Desktop suggestion for Dell Inspiron 3043 13 54
Using sort and uniq to pare down large syslog 6 51
trouble on installing syslog-ng on CentOS 7 7 54
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

861 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