I had to compile a really old version of ACE for my advisor and SSL was being a pain - here is what I did to remove it from the equation without hacking the vanilla ACE wrapper 5.7.5 code
../configure --with-openssl=/usr/local/ssl/--with-openssl-include=/usr/local/ssl/include/ --with-openssl-libdir=/usr/local/ssl/lib/ LDFLAGS=-L/usr/local/ssl/lib/ CFLAGS=-I/usr/local/ssl/include CXXFLAGS="-I/usr/local/ssl/include -L/usr/local/ssl/lib" LIBS=-L/usr/local/ssl/lib --disable-ace-examples --disable-ace-tests
It seems that the tests and examples are unable to link to openssl in /usr/local/ssl
-
x509.o:x509.c:(.text+0x25e4): more undefined references to `BIO_printf' follow
-
x509.o: In function `x509_main':
-
x509.c:(.text+0x2609): undefined reference to `NETSCAPE_X509_it'
-
x509.c:(.text+0x2635): undefined reference to `ASN1_item_i2d_bio'
-
x509.c:(.text+0x2656): undefined reference to `BIO_printf'
-
x509.c:(.text+0x2662): undefined reference to `ERR_print_errors'
-
x509.c:(.text+0x2684): undefined reference to `PEM_write_bio_X509_AUX'
-
x509.c:(.text+0x2691): undefined reference to `i2d_X509_bio'
-
x509.c:(.text+0x26c8): undefined reference to `X509_cmp_time'
This also fixes the missing openssl/bio.h and other associated header issues
Add new comment