Reaction score: 10
I am running 11.0-PRERELEASE and am attempting to upgrade to the latest revision of stable/11. When building world I get linker issues involving ZFS libraries. Some experimentation I have done indicates that the builder is actually trying to link to my own system's ZFS libraries. As a test I copied libzfs.so.2 from /usr/obj into /lib and was able to get further into the build where I am now getting this error:
It does not make sense to me that the build system would be attempting to link my host system's libraries. Hopefully someone with a bit more experience can enlighten me.
ztest.o: In function `ztest_resume_thread': /usr/src/cddl/usr.bin/ztest/../..//contrib/opensolaris/cmd/ztest/ztest.c:5416: undefined reference to `zfs_compressed_arc_enabled' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1