Re: ERROR: library `archive' does not exist

Jan Wielemaker <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>
On 12/19/2013 08:19 AM, z_axis wrote:
> hi,.friends
> 
> ?- pack_install(lambda).
> Install [email protected] from
> http://www.swi-prolog.org/download/pack/lambda-1.0.0.tgz Y/n?
> ERROR: library `archive' does not exist
>    Exception: (10)
> prolog_pack:pack_archive_info('/home/***/prolog/lib/swipl-6.6.0/pack/Downloads/lambda-1.0.0.tgz',
> lambda, _G2368, _G2369) ? a
> ...
> 
> $find /usr/local/lib/ -name "libarchiv*"
> /usr/local/lib/libarchive.a
> /usr/local/lib/libarchive.la
> /usr/local/lib/libarchive.so
> /usr/local/lib/libarchive.so.14
> /usr/local/lib/compat/libarchive.so.2

I assume you built Prolog yourself on some platform?  Did you
build the whole lot, including all packages?  If so, check the
config.log in packages/archive to see why it didn't pick up
the library.  Possibly the headers are missing?  Or /usr/local
is not in the search path for includes and libraries?

	Cheers --- Jan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.