Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Sep 2009 15:59:23 -0700
From:      chrisa@uvic.ca
To:        freebsd-questions@freebsd.org
Subject:   problems with hal in freebsd 7.2 i386
Message-ID:  <1b3000aab88ea400a8a60a56aea835c5.squirrel@wm3.uvic.ca>

next in thread | raw e-mail | index | archive | help
I have several related problems with hald on 7.2 i386. First, on one
machine (FreeBSD 7.2-RELEASE-p2), hald will not start at startup, nor by
executing the startup script /usr/local/etc/rc.d/hald start. It doesn't
exit with any error code: it simply produces no output at all, and ps -ax
| grep hal shows that it didn't start. Incidentally, the dbus and cupsd
scripts in the same directory also do nothing.

On the other machine, however (FreeBSD 7.2-RELEASE), hald doesn't *build*.
It errors out with:

/usr/local/lib/libpolkit.so: undefined reference to `strndup@FBSD_1.1'
gmake[4]: *** [hald] Error 1
gmake[4]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.11/hald'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.11/hald'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.11/hald'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.11'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/sysutils/hal.
*** Error code 1

Stop in /usr/ports/sysutils/hal.

This machine was a new install from the 7.2 i386 CD, so to save time I
used packages that had already been built on the first machine. All of
these packages were built within a day of each other, from a previously
updated ports tree with all previously installed packages removed.

Xorg and hald and dbus and everything related installed just fine, and
Xorg works, except that the mouse doesn't work, which I suspect is caused
by hald not working. On this machine, the hald that was compiled on the
first machine won't start, this time giving an error:

root@nimue /usr/local/etc/rc.d
# ./hald start
Starting hald.
                                                                                root@nimue
/usr/local/etc/rc.d
# /libexec/ld-elf.so.1: /lib/libc.so.7: version FBSD_1.1 required by
/usr/local/lib/libpolkit.so.2 not found

Any thoughts?




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