version XZ_5.0 required by /usr/lib/libarchive.so.5

Hello,

I've got problems with fresh install 8.2 Release.
I was trying install xz package in jail and everytime I get:

Code:
Fetching [url]ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/Latest/xz.tbz.../libexec/ld-elf.so.1:[/url] 
/usr/local/lib/liblzma.so.5: version XZ_5.0 required by /usr/lib/libarchive.so.5 not defined

I can do the same on 8.1-Release without problems.
 
Read /usr/ports/UPDATING:
20090921:
AFFECTS: users of archivers/lzmautils, archivers/lzmautils-devel
AUTHOR: Christian Weisgerber <naddy@FreeBSD.org>

The XZ Utils distribution has superseded LZMA Utils, so the xz port has
been added and the lzmautils ports have been removed. To perform the
move, run one of the following commands:

If using portupgrade:

# portupgrade -o archivers/xz lzmautils\*

If using portmaster:

# portmaster -o archivers/xz archivers/lzmautils
or
# portmaster -o archivers/xz archivers/lzmautils-devel

as applicable.
 
Ok, but what about packages ?

I did :

Code:
%pkg_add -r gettext  
Fetching [url]ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/Latest/gettext.tbz.../libexec/ld-elf.so.1:[/url] 
/usr/local/lib/liblzma.so.5: version XZ_5.0 required by /usr/lib/libarchive.so.5 not defined
 
SirDice said:
Try removing lzmautils or lzmautils-devel first with pkg_delete(1).

There is no lzmautils nor lzmautils-devel.

Code:
# pkg_add -r postfix
Fetching [url]ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/Latest/postfix.tbz.../libexec/ld-elf.so.1:[/url] 
/usr/local/lib/liblzma.so.5: version XZ_5.0 required by /usr/lib/libarchive.so.5 not defined
 
Hi,

I have experinced the same problem today.
I have fixed it with:
1) chroot to jail and install locally there xz package
2) in the chrooted jail I have run /etc/rc.d/ldconfig start

Good luck!
 
Back
Top