OpenSolaris

Printable Version Enter a New Search
Bug ID 6774936
Synopsis ON build can fail because libtopo depends on libzfs
State 10-Fix Delivered (Fix available in build)
Category:Subcategory library:fm
Keywords
Responsible Engineer Stephen Hanson
Reported Against solaris_10u7
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_105
Fixed In snv_105
Release Fixed solaris_nevada(snv_105) , solaris_10u7(s10u7_03) (Bug ID:2170093)
Related Bugs 6663874
Submit Date 21-November-2008
Last Update Date 17-December-2008
Description
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.
Comments
N/A