Error on Apache make

started at 18 Mar 2008 by yudixue
  • yudixue
    18 Mar 2008

    Hi there,

    I have followed this post http://diymacserver.com/2007/11/17/compiling-apache-on-leopard/

    However, I got error from executing make:

    Undefined symbols:
    "_BIO_set_callback_arg", referenced from:
    _start_connect in ab.o
    "_BIO_get_callback_arg", referenced from:
    _ssl_print_cb in ab.o
    "_SSL_CTX_set_info_callback", referenced from:
    _main in ab.o
    "_BIO_set_callback", referenced from:
    _start_connect in ab.o

    I have been poking around net and a couple of guys have same problem I had, but no solution has been posted.

    Can anyone help? thanks a lot!

    Yudi

  • Richard
    18 Mar 2008

    Could you tell me which version of apache you are trying to install ? 2.2.8 still has issues with SSL.

  • yudixue
    18 Mar 2008

    the config.log has been sent to your email, thanks!

  • Richard
    19 Mar 2008

    Thanks for mailing. There is an issue with Leopard and Apache 2.2.8, more about that here: http://diymacserver.com/2008/02/18/update-on-apache-228-and-mod_ssl/ and the bug: https://issues.apache.org/bugzilla/show_bug.cgi?id=44384. In short it has to do with the libtool.

    The config.log you send is trying to reference the include files in the /usr directory and finds the default installation. If you change the location of the openssl stuff in the ./configure statement you might be able to solve the issue.

    Let me know how you get on.

  • yudixue
    20 Mar 2008

    The openssl in macport management has been annoying and it's the same version with the openssl that comes with Leopard. The only reason I have it
    is that macport needed it to build an outdated wget. I've uninstalled both of them and build the latest wget to /usr/local, so the 'which openssl' returns the original
    '/usr/bin/openssl'

    I have modified the --with-ssl part to '--with-ssl=/usr/include/openssl \' , and the make part is successful. Before I start sudo make install and work on the buggy SSL,
    I want to thank you for your help.

    Besides, I have emailed the new config.log to your email just in case.

  • jc1782
    11 Apr 2009

    When I type in make it gives me this error at the end
    make[3]: *** [libapr-1.la] Error 1
    make[2]: *** [all-recursive] Error 1
    make[1]: *** [all-recursive] Error 1
    make: *** [all-recursive] Error 1

    does any one know how to fix this?

  • Richard
    11 Apr 2009

    Could be many things. Can you mail me your config.log (diymacserver at gmail.com) and soem more of the output that cam before the error. Also tell me which version of Mac OS X and if you are on a PPC or intel box.

Topic Closed

This topic has been closed to new replies.