problems with hal in freebsd 7.2 i386

chrisa at chrisa at
Tue Sep 29 23:18:26 UTC 2009

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/ undefined reference to `strndup at 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 at nimue /usr/local/etc/rc.d
# ./hald start
Starting hald.
                                                                                root at nimue
# /libexec/ /lib/ version FBSD_1.1 required by
/usr/local/lib/ not found

Any thoughts?

More information about the freebsd-questions mailing list