Re: [users@httpd] make error with apache 2.2.3 --with-ssl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sander,

I just managed to get the whole thing to make and make install without error. What changed? I used fink to install the latest package available for openssl on Mac that it had available, the one you cite below, 0.9.7i. The one that was on this box originally was 0.9.6m. The one I installed today was 0.9.8(h?), the one that was released yesterday to fix security issues.

Unfortunately, I never saved any of the old config.log files when I ran make clean to try again, so I'm unable to go back and tell anyone what happened there. I suspect that the problem was that despite providing the config flag --with-ssl=/usr/local/ssl, the config program was somehow still using the built-in version. Perhaps there is an issue with that config flag? I've since found a number of notes on the apache mailing list archives that reference this same type of problem, although most of them seem to be related to building mod_ssl as a DSO. They all had the same error message that I had, although it didn't crop up until start-up. And they all seem to make reference to trying to point apache config at a new version of open-ssl via --with-ssl, and having that fail.

I'll try on Monday to install certs and see if I can actually run https:// connections, but until then, things look good for now.

Cris

********************************
Cris Ewing
CME and Telehealth Web Services
Department of Radiology Web Services
University of Washington
School of Medicine
Work Phone: (206) 685-9116
Home Phone: (206) 365-3413
E-mail: cewing@xxxxxxxxxxxxxxxx
*******************************


On Fri, 29 Sep 2006, Sander Temme wrote:


On Sep 29, 2006, at 2:24 PM, William A. Rowe, Jr. wrote:

Well it seems autoconf is borked on your box, because it should be test
compiling to determine if X509_STORE_CTX_set_depth is exported from
OpenSSL.  Apparently not, on your build, but autoconf decides it is
successful.

Note that the shipping OpenSSL identifies itself as "OpenSSL 0.9.7i 14 Oct 2005". Did that have the offending symbol? Or is it 0.9.8 specific? Or the other way around? Could it be that configure found a different SSL version than ld did?

Christopher, your config.log should tell you exactly what configure did, and the last line above the Undefined symbols error message should tell you what the linker was using.

Regards,

S.

You can try forcing the ac_cv_ flag for HAVE_X509_STORE_CTX_SET_DEPTH,
I don't have the syntax offhand but someone here does, I'm sure.

cristopher pierson ewing wrote:
Howdy,

trying to build apache 2.2.3 on a Mac G4 (old, and slow) with OS X 10.4.
I'm trying to build with mod_ssl and a number of other modules, and ran
into the following error:

/usr/bin/ld: Undefined symbols:
_X509_STORE_CTX_set_depth
collect2: ld returned 1 exit status
make[1]: *** [httpd] Error 1
make: *** [all-recursive] Error 1

After make clean and a very simple ./configure (no modules added) I got
apache to build, then started adding mods in again and rebuilding.  The
error crops up every time I try to include mod_ssl.

I just built OpenSSL on this box today, v.0.9.8d (which appears to be a
release dated yesterday, with some security fixes).  It built just fine,
no errors reported, and seems to be working properly by itself.

I've googled the error message and found only one page with the same
error on a build of apache 1.3, but no replies or coments to the post,
so no joy there.  There don't seem to be any relevant posts in the MARC
archives for this list.

Any ideas what might be causing this?  Any suggestions for a fix?

Thanks tons,

Cris

********************************
Cris Ewing
CME and Telehealth Web Services
Department of Radiology Web Services
University of Washington
School of Medicine
Work Phone: (206) 685-9116
Home Phone: (206) 365-3413
E-mail: cewing@xxxxxxxxxxxxxxxx
*******************************


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
 "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




--
sctemme@xxxxxxxxxx            http://www.temme.net/sander/
PGP FP: 51B4 8727 466A 0BC3 69F4  B7B8 B2BE BC40 1529 24AF



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux