My Solaris 10 build (on sparc and x86) is consistently failing while building
libtopo with the following error:
ld: fatal: library -lzfs: not found
ld: fatal: File processing errors. No output written to libtopo.so.1
*** Error code 1
make: Warning: Target `install' not remade because of errors
Current working directory /builds/achartre/on10u7-file/usr/src/lib/fm/topo/libtopo/sparc
ld: fatal: library -lzfs: not found
ld: fatal: File processing errors. No output written to libtopo.so.1
*** Error code 1
make: Warning: Target `install' not remade because of errors
Current working directory /builds/achartre/on10u7-file/usr/src/lib/fm/topo/libtopo/sparcv9
Work Around
Bug 6774936: ON build can fail because libtopo depends on libzfs
Workaround: edit usr/src/lib/Makefile:
fm: \
libexacct \
libipmi \
libzfs \
$(FM_$(MACH)_DEPLIBS)
alex.