ACE SSL Errors

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

  1. x509.o:x509.c:(.text+0x25e4): more undefined references to `BIO_printf' follow
  2. x509.o: In function `x509_main':
  3. x509.c:(.text+0x2609): undefined reference to `NETSCAPE_X509_it'
  4. x509.c:(.text+0x2635): undefined reference to `ASN1_item_i2d_bio'
  5. x509.c:(.text+0x2656): undefined reference to `BIO_printf'
  6. x509.c:(.text+0x2662): undefined reference to `ERR_print_errors'
  7. x509.c:(.text+0x2684): undefined reference to `PEM_write_bio_X509_AUX'
  8. x509.c:(.text+0x2691): undefined reference to `i2d_X509_bio'
  9. x509.c:(.text+0x26c8): undefined reference to `X509_cmp_time'

This also fixes the missing openssl/bio.h and other associated header issues

Blog tags: 

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.