diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2007-06-04 16:58:41 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2007-06-04 16:58:41 +0000 |
commit | 4467099f72c9909ac2706eda2edaeaa3a2c06939 (patch) | |
tree | 901f72a4b707b8c5416892267f283c248864081b /usr.sbin/pkg_add/OpenBSD/Dependencies.pm | |
parent | 43700a42ebfaa129fde03814012c984c650af32e (diff) |
error code: if we can't find a given libspec, we look through all
known registered libs, and tell the user why this library doesn't match.
Example:
Can't install kdelibs-3.5.7: lib not found lib/qt3/qt-mt.31.0
qt-mt.31.0: found partial match in /usr/local/lib/qt3: major=32, minor=0 (bad major)
qt-mt.31.0: found partial match in /usr/local/lib: major=31, minor=0 (bad directory)
(after altering qt to have @lib lib/qt3/libqt-mt.so.32.0)
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/Dependencies.pm')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/Dependencies.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Dependencies.pm b/usr.sbin/pkg_add/OpenBSD/Dependencies.pm index 6f51f6dba25..e5c747822be 100644 --- a/usr.sbin/pkg_add/OpenBSD/Dependencies.pm +++ b/usr.sbin/pkg_add/OpenBSD/Dependencies.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Dependencies.pm,v 1.50 2007/06/02 12:45:24 espie Exp $ +# $OpenBSD: Dependencies.pm,v 1.51 2007/06/04 16:58:40 espie Exp $ # # Copyright (c) 2005-2007 Marc Espie <espie@openbsd.org> # @@ -337,6 +337,7 @@ sub solve_wantlibs $h->{pkgname}, ": lib not found ", $lib->{name}, "\n"; $solver->dump if $okay; + OpenBSD::SharedLibs::report_problem($state->{localbase}, $lib->{name}); $okay = 0; } } |