On Thu, Oct 05, 2006 at 07:01:49AM -0500, Frank Garcia wrote:
> Probably pebkac ( I haven't had my coffee yet...) but I started 'make update' 
> last night for openoffice & got this this morning at the end of the 
> apparently successful build/packaging:
> 
> ===> Updating for openoffice-2.0.4m4p0
> Upgrading from openoffice-2.0.3m179
> Can't install /usr/ports/packages/i386/all/openoffice-2.0.4m4p0.tgz: lib not 
> found curl.4.0
> Even by looking in the dependency tree:
>         glib2-2.10.3, hicolor-icon-theme-0.5p0, cairo-1.0.4p0, pango-1.12.3, 
> expat-2.0.0, gettext-0.14.5p1, atk-1.10.3p1, neon-0.24.7p0, curl-7.15.4, 
> db-4.2.52p8, jpeg-6bp3, libgpg-error-1.1p0, libsndfile-1.0.11p0, bzip2-1.0.3, 
> libiconv-1.9.2p3, tiff-3.8.2p0, python-2.3.5p4, glitz-0.4.4, png-1.2.12, 
> libxslt-1.1.17, gtk+2-2.8.20, libgcrypt-1.2.0p1, libxml-2.6.26
> Maybe it's in a dependent package, but not tagged with @lib ?
> (check with pkg_info -K -L)
> If you are still running 3.6 packages, update them.
> *** Error code 1

make update will `just' update the current package. But the build is based
on your repository of binary packages.

What's going on is that you packaged a new curl (curl-7.15.5), but you didn't
install it, so your installation still has curl-7.15.4, which is an older
shared library.

And pkg_add correctly tells you that this can't work.

In many cases, you want make update FORCE_UPDATE=Yes, so that dependencies
are evaluated using make update as well.

In this specific case, just do a pkg_add -r curl-7.15.5 before proceeding
with openoffice.

Reply via email to