Problems with portupgrade or db
mdh
mdh_lists at yahoo.com
Tue Oct 14 08:06:48 PDT 2008
--- On Tue, 10/14/08, Marco Beishuizen <mbeis at xs4all.nl> wrote:
> From: Marco Beishuizen <mbeis at xs4all.nl>
> Subject: Problems with portupgrade or db
> To: "FreeBSD-Questions" <questions at freebsd.org>
> Date: Tuesday, October 14, 2008, 8:08 AM
> Hi,
>
> In an attempt to upgrade db42 to db47 I seem to have broken
> some
> things. If I try to portupgrade anything I get:
>
> ...
> #portupgrade -a
> ** Makefile possibly broken: www/gnome-user-share:
> /libexec/ld-elf.so.1: Shared object
> "libdb-4.2.so.2" not found,
> required by "libaprutil-1.so.3" [: -le: argument
> expected
> gnome-user-share-0.31_2
> : Your apache does not support DSO modules
>
> /usr/local/sbin/portupgrade:1468:in `get_pkgname':
> Makefile broken
> (MakefileBrokenError) from
> /usr/local/sbin/portupgrade:622:in `main'
> from /usr/local/sbin/portupgrade:613:in `each'
> from /usr/local/sbin/portupgrade:613:in `main'
> from /usr/local/sbin/portupgrade:588:in `catch'
> from /usr/local/sbin/portupgrade:588:in `main'
> from /usr/local/lib/ruby/1.8/optparse.rb:1303:in
> `call'
> from /usr/local/lib/ruby/1.8/optparse.rb:1303:in
> `parse_in_order' from
> /usr/local/lib/ruby/1.8/optparse.rb:1299:in
> `catch' ... 6 levels...
> from /usr/local/lib/ruby/1.8/optparse.rb:785:in
> `initialize'
> from /usr/local/sbin/portupgrade:229:in `new'
> from /usr/local/sbin/portupgrade:229:in `main'
> from /usr/local/sbin/portupgrade:2208
> ...
>
> If I try to reinstall db42 (or anything else) I get the
> same error
> message.
> What can I do to make things work again?
>
> Thanks in advance,
>
> Marco
Have you tried installing db42 from ports manually? ie: (cd /usr/ports/databases/db42 && make deinstall && make clean && make install && make clean)
If that doesn't work, perhaps try installing the db42 pkg from the FreeBSD ftp servers? Personally, I try to stay away from portupgrade or anything else that comes around claiming to make something easier that's already easy enough. ;)
- mdh
More information about the freebsd-questions
mailing list