Re: undefined reference to symbol 'SHA256_Init'

2010-05-24 Thread Siddhesh Poyarekar
On Sun, May 23, 2010 at 12:58:32AM +0200, Uwe Kubosch wrote: >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

Re: undefined reference to symbol 'SHA256_Init'

2010-05-22 Thread Uwe Kubosch
Never mind. Missing #include On May 23, 2010, at 12:58 AM, Uwe Kubosch wrote: > 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 li

Re: undefined reference to symbol 'SHA256_Init'

2010-05-22 Thread Uwe Kubosch
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/

Re: undefined reference to symbol 'SHA256_Init'

2010-05-22 Thread Rahul Sundaram
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.