Jeff,

    Taking a queue from your comments, I re-config'ed openssl
        "./config threads no-shared no-dso no-asm"
    and then rebuilt openssl and apache.

    Apache's link failure went away ...
    ...although I'm still getting the "incorrect file suffix" warning
    messages... which you said I could ignore.

    I have yet to test the executable.

    So, the problem seems to be that I config'ed Apache as 100% static
    linking, but openssl's default seems be be creating DSO.

    Thanks for your help.

-tony

-----Original Message-----
From: Jeff Trawick [mailto:[EMAIL PROTECTED]] 
Sent: Monday, September 30, 2002 4:16 PM
To: [EMAIL PROTECTED]
Subject: Re: Build on AIX fails


"Bennett, Tony - CNF" <[EMAIL PROTECTED]> writes:

> I just downloaded 2.0.42 and attempted to build it on AIX 4.3.3
> and it failed...it appears to be building module libraries named
> 
>     lib$MODULE_NAME.al   (for example:
modules/dav/main/.libs/libmod_dav.al)
> 
> instead of 
>     lib$MODULE_NAME.a    (for example:
modules/dav/main/.libs/libmod_dav.a)

libtool and IBM's C compiler don't get along perfectly.  Luckily,
those are warnings that you can ignore.

These are the only errors, as far as I can see:

> ld: 0711-317 ERROR: Undefined symbol: .sk_new_null
> ld: 0711-317 ERROR: Undefined symbol: .X509_STORE_CTX_set_verify_cb
> ld: 0711-317 ERROR: Undefined symbol: .BIO_snprintf

Aren't these all OpenSSL-related?

If I get time I'll try to build it with SSL support.

> For background:
> 
> My configure step:
>           ./configure --prefix=/usr/local/apache2 \
>                 --enable-dav=static \
>                   --enable-dav_fs=static \
>                 --enable-ssl=static      \
>                   --with-ssl=/home/dms/openssl_dir

By the way, I always do

  CC=xlc_r ./configure --other-flags

when using IBM's C compiler for AIX.  xlc_r ensures that thread stuff
is set up correctly.

-- 
Jeff Trawick | [EMAIL PROTECTED]
Born in Roswell... married an alien...

Reply via email to