Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jan 2015 16:14:47 +0100
From:      Eduardo Morras <emorrasg@yahoo.es>
To:        freebsd-questions@freebsd.org
Subject:   pkg 1.4 error searching shared lib
Message-ID:  <20150113161447.ebfd607f5bf5c96ce23ea83a@yahoo.es>

next in thread | raw e-mail | index | archive | help

Hi, trying to know why amule doesn't run (crash on start)

#pkg -v
1.4.4
#pkg check -B
Checking all packages:   1%
pkg: (amule-2.3.1_12) /usr/local/bin/amule - required shared library libcryptopp.so not found
pkg: (amule-2.3.1_12) /usr/local/bin/amuled - required shared library libcryptopp.so not found
pkg: (amule-2.3.1_12) /usr/local/bin/amulegui - required shared library libcryptopp.so not found
pkg: (amule-2.3.1_12) /usr/local/bin/mulefileview - required shared library libcryptopp.so not found

It's because libcryptopp.so isn't installed, but querying which package installs it, I get:

#pkg shlib -P libcryptopp.so
pkg: sqlite error while executing SELECT p.id, p.origin, p.name, p.name p.origin as uniqueid, p.version, p.comment, p.desc, p.message, p.arch, p.maintainer, p.www, p.prefix, p.flatsize, p.time FROM packages AS p, pkg_shlibs_provided AS ps, shlibs AS s WHERE p.id = ps.package_id AND ps.shlib_id = s.id AND s.name = ?1; in file pkgdb_query.c:244: near ".": syntax error

# pkg shlib -P libcryptopp
pkg: sqlite error while executing SELECT p.id, p.origin, p.name, p.name p.origin as uniqueid, p.version, p.comment, p.desc, p.message, p.arch, p.maintainer, p.www, p.prefix, p.flatsize, p.time FROM packages AS p, pkg_shlibs_provided AS ps, shlibs AS s WHERE p.id = ps.package_id AND ps.shlib_id = s.id AND s.name = ?1; in file pkgdb_query.c:244: near ".": syntax error

I don't see anything wrong on the select and the ?1 is the expression that sqlite3_bind_text() call replace with the filename.

Any clue? Am I doing something wrong?

TIA

---   ---

Eduardo Morras <emorrasg@yahoo.es>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150113161447.ebfd607f5bf5c96ce23ea83a>