Thank you for your reply. I was able to fix the immediate error by linking with libcrypto
as suggested.
Now I get
gcc -o cmd/zdb/zdb -pipe -Wall -s cmd/zdb/zdb.o cmd/zdb/zdb_il.o cmd/zdb/ptrace.o
lib/libavl/libavl.a lib/libnvpair/libnvpair-user.a lib/libumem/libumem.a
lib/libzfs/libzfs.a lib/libzpool/libzpool-user.a lib/libzfscommon/libzfscommon-user.a
lib/libuutil/libuutil.a lib/libsolcompat/libsolcompat.a -lrt -lpthread -ldl -lz -lm -laio
-lssl -lcrypto
lib/libzfs/libzfs.a(libzfs_pool.o): In function `zpool_valid_proplist':
libzfs_pool.c:(.text+0x3355): undefined reference to `S_ISDIR'
This time there is no suggestion for what to link to. Do you have a suggestion?
On May 22, 2010, at 11:37 PM, Rahul Sundaram wrote:
On 05/23/2010 03:04 AM, Uwe Kubosch wrote:
> Hi all!
>
> I am having trouble building zfs-fuse for F-13 and devel:
>
> /usr/bin/ld: lib/libzfs/libzfs.a(libzfs_sendrecv.o): undefined reference to symbol
'SHA256_Init'
> /usr/bin/ld: note: 'SHA256_Init' is defined in DSO /usr/lib64/libcrypto.so.10
so try adding it to the linker command line
> /usr/lib64/libcrypto.so.10: could not read symbols: Invalid operation
>
>
> I have openssl-devel as a build dependency, but something has changed
> in F-13 and devel to break the build.
>
Refer to
http://fedoraproject.org/wiki/UnderstandingDSOLinkChange
Rahul
--
With kind regards
Uwe Kubosch
Kubosch Consulting
uwe(a)kubosch.no
http://kubosch.no/