?
Solved

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

Posted on 2014-09-30
3
Medium Priority
?
314 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 2000 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

Learn by Doing. Anytime. Anywhere.

Do you like to learn by doing?
Our labs and exercises give you the chance to do just that: Learn by performing actions on real environments.

Hands-on, scenario-based labs give you experience on real environments provided by us so you don't have to worry about breaking anything.

Question has a verified solution.

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

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
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…
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.
Suggested Courses
Course of the Month11 days, 6 hours left to enroll

752 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