Error updating Plex

Joined
Jan 7, 2015
Messages
1,155
Did you try installing it?

pkg install libarchive

If its installed you might just need a symlink..

ln -s /usr/lib/libarchive.so /usr/lib/libarchive.so.6
 

goomer1979

Cadet
Joined
Dec 7, 2020
Messages
3
tried that from the shell for plex and get:

ln /usr/lib/libarchive.so.6 : Read Only File system

Tried from the main shell and get
ln /usr/lib/libarchive.so.6: File Exists
 
Joined
Jan 7, 2015
Messages
1,155
Maybe try a reforce reinstall all packages and depends. Something got wonky somewhere.

pkg upgrade -f
 

goomer1979

Cadet
Joined
Dec 7, 2020
Messages
3
I have managed to sort it by reinstalling truenas on the drive and taking over the existing disks.

Thanks
 

NealNye

Cadet
Joined
Mar 12, 2014
Messages
4
I had the exact same issue after updating my jails after upgrading FreeNAS to TrueNAS. Found this thread by searching
ld-elf.so.1: Shared object "libarchive.so.6" not found, required by "pkg"
in Google...

Did a bit more digging and found this bug which shows the solution is simply pkg-static install -f pkg
 
Top