Bugs item #2914578, was opened at 2009-12-14 23:30
Message generated for change (Comment added) made by mbucc
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2914578&group_id=56967
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Mark Bucciarelli (mbucc)
Assigned to: Sjoerd Mullender (sjoerd)
Summary: Test for -lcrypto with -lssl not working
Initial Comment:
On OpenBSD you need -lcrypto with -lssl. It looks like
MonetDB5-server-5.16.0/aclocal.m4 is trying to check
for this, but the configure output looks wrong:
../MonetDB5-server-5.16.0/configure line 34000
if test "x$ac_cv_lib_crypto_ERR_get_error" = x""yes; then
OPENSSL_LIBS="$OPENSSL_LIBS -lcrypto"
fi
I think the right side of the test be
= "xyes"; then
When I compile the test program by hand with the -lssl and -lcrypto args it
compiles just fine.
----------------------------------------------------------------------
>Comment By: Mark Bucciarelli (mbucc)
Date: 2009-12-15 11:50
Message:
Just to be clear; I manually edited the configure file that was generated
by autoconf.
I changed: -lssl to -lssl -lcrypto in two places and the configure script
changed behavior.
Before the change, it said I didn't have OpenSSL installed. After the
change, it said my
version is too old (which is the correct answer).
The original configure did run the ERR_get_error check, but I think the
logic
in that section is somehow broken. I'm not a user of autotools, so I
couldn't
sort out what the issue was.
Here's the relevant output from a configure run from before my manual
edits:
...
checking for SSL_read in -lssl... no
checking for ERR_get_error in -lcrypto... yes
...
configure: error: MonetDB 5 requires OpenSSL (OpenSSL library not found)
$
----------------------------------------------------------------------
Comment By: Fabian (mr-meltdown)
Date: 2009-12-15 08:28
Message:
weird this is autoconf generated code, and it seems the -lssl check above
is identical, but apparently did work for you.
----------------------------------------------------------------------
Comment By: Mark Bucciarelli (mbucc)
Date: 2009-12-14 23:41
Message:
Not sure about my original analysis. But when I changed lin 33868
of ../MonetDB5-server-5.16.0/configure from
LIBS="-lssl $LIBS"
to
LIBS="-lssl -lcrypto $LIBS"
Now configure can find openssl libs (it says the version I have
is too old, when it used to say openssl not found).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2914578&group_id=56967
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs