On Sun, May 14, 2017 at 01:56:44PM -0600, Benjamin Slade wrote:
> On 2017-05-14T13:48:59-0600, Toyam Cox <to...@borealis.com> wrote:
>  > Void Linux uses isync with libressl without this patch.
> 
>  > > patch socket.c:43 to:
>  > > # if OPENSSL_VERSION_NUMBER < 0x10100000L || 
> defined(LIBRESSL_VERSION_NUMBER)
>  > >
>
> The isync package in Void is the 1.2.1 release.
> 
> I couldn't get the current("git") version of isync to build on Void w/o
> this patch.
> 
> I would get:
> 
> ....
> gcc  -g -O2 -pipe -W -Wall -Wshadow -Wstrict-prototypes -std=c99 -pedantic 
> -Wno-overlength-strings   -o mbsync main.o sync.o config.o util.o socket.o 
> driver.o drv_imap.o drv_maildir.o drv_proxy.o -ldb -lssl -lcrypto  -lsasl2 -lz
> socket.o: In function `verify_cert_host':
> /home/USER/bin/isync-isync/src/socket.c:178: undefined reference to 
> `X509_OBJECT_get0_X509'
> socket.o: In function `init_ssl_ctx':
> /home/USER/bin/isync-isync/src/socket.c:229: undefined reference to 
> `X509_STORE_get0_objects'
> collect2: error: ld returned 1 exit status
> .....
> 
well, i presume libressl follows openssl's api change, so we need to
make that version-dependent as well. Somebody (TM) needs to identify the
right version and variable to query.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to