Forum OpenACS Q&A: Re: Red Hat 9 and OpenACS 4.6.2

Collapse
Posted by Lachlan Myers on
I had the same problem, and approached Scott Goodwin.
His response follows (it worked for me):

Hi,

the problem is a changed #define in openssl. Edit the nsopenssl.h file
and change THREADS to OPENSSL_THREADS near the top. That should do it.

/s.

On Tuesday, March 18, 2003, at 05:17  PM, mailto:lachmyers@netscape.net wrote:

<blockquote> A comment on

http://scottg.net/webtools/aolserver/modules/nsopenssl/installation/
index.htm

was added to the scottg comment realm:

I'm compiling the OpenSSL 0.9.7a from the source
tarball, and having trouble compiling with thread
support. At least, nsopenssl is still complaining
that "OpenSSL was compiled without thread support!".

I used

/config --prefix=/usr
--openssldir=/usr/local/openssl threads -D_REENTRANT

make CC="gcc -fPIC"

Thanks

from mailto:lachmyers@netscape.net (Lach Myers)
</blockquote>

Collapse
Posted by Joel Aufrecht on
As per this bug, the openssl in Red Hat 9 requires a bunch of kerberos stuff, which apparently requires each application that uses the openssl libraries to know about kerberos. *sigh* The fix is to change this line in /usr/local/src/aolserver/nsopenssl-2.1/Makefile:
CFLAGS   +=  -I$(OPENSSL)/include -
to
CFLAGS   +=  -I$(OPENSSL)/include -I/usr/kerberos/include
Collapse
Posted by Sean Harrison on
Under Slackware 9, in addition to this change I had to change line 42 in thread.c from

    #ifndef THREADS

to

    #ifndef OPENSSL_THREADS

then the compile worked.

Shawn