Try -lcrypto

On Oct 13, 8:34 pm, Roberto Saccon <[EMAIL PROTECTED]> wrote:
> ok, so I started my legwork, first added the definition  you suggested
> and I got this
>
> -------------------------------
>
> rsmac:~/code/s3fs rsaccon$ make
> g++ -Wall -D__FreeBSD__=10 -D_FILE_OFFSET_BITS=64 -D__FreeBSD__=10 -
> D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse  -L/usr/local/lib -
> lfuse   -lcurl -I/opt/local/include/libxml2 -I/opt/local/include -L/
> opt/local/lib -lxml2 -lz -lpthread -L/opt/local/lib -liconv -lm -ggdb
> s3fs.cpp -o s3fs
> s3fs.cpp: In function 'int s3fs_read(const char*, char*, size_t,
> off_t, fuse_file_info*)':
> s3fs.cpp:497: warning: format '%u' expects type 'unsigned int', but
> argument 3 has type 'size_t'
> s3fs.cpp:497: warning: format '%u' expects type 'unsigned int', but
> argument 4 has type 'size_t'
> /usr/bin/ld: Undefined symbols:
> _BIO_ctrl
> _BIO_f_base64
> _BIO_free_all
> _BIO_new
> _BIO_push
> _BIO_s_mem
> _BIO_write
> _EVP_sha1
> _HMAC
> collect2: ld returned 1 exit status
>
> -------------------------------------
>
> that looks to me like it can't find OpenSSL lib, so I added "-L/usr/
> lib" (that is where I found libssl.dynlib at my machine) to the
> compiling options, unfortunately the error remained the same.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"macfuse-devel" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/macfuse-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to