Forum OpenACS Q&A: Help with AOLServer, openssl, PostgreSQL, RedHat 9

I am installing aolserver and am upto the step of installing the aolserver nsopenssl-2.1.tar.gz

I read the following info in the forum

changed the makefile CFLAGS to
CFLAGS += -I$(OPENSSL)/include -I/usr/kerberos/include

and now start to make openasc

[root@fast01 nsopenssl-2.1]# make OPENSSL=/usr/share/ssl gcc -I/usr/share/ssl/include -I/usr/kerberos/include -I../aolserver/include -D_REENTRANT=1 -DNDEBUG=1 -g -fPIC -Wall -Wno-unused -mcpu=i686 -DHAVE_CMMSG=1 -DUSE_FIONREAD=1 -DHAVE_COND_EINTR=1 -c -o thread.o thread.c thread.c:42:2: #error "OpenSSL was not compiled with thread support!" make: *** [thread.o] Error 1 [root@fast01 nsopenssl-2.1]#

Opps it doesnt work. The goods news is it appears to be solved by Lachlan Myers by doing this:

./config --prefix=/usr --openssldir=/usr/local/openssl threads -D_REENTRANT
make CC="gcc -fPIC"

...sorry to ask dumb questions, but ./config doesnt work as it is not compile yet. What exactly do I need to do to compile openssl ?

Posted by Joel Aufrecht on
1) OpenSSL isn't required to run OpenACS, especially if you are just trying it out, so you might want to postpone this step.

2) This thread: outlines one or more answers, but after reading it start to finish I still can't tell what the right answer is.

Posted by Glenn Cadman on
In regard to your reply.
  1. That's what I did moved on without it, however I would like to get openssl working.
  2. I suppose this is the core of the issue as per my orginal post I read twice, 3 and 4 times and couldnt devine the solution....hence my posting to this forum. I need help.

I would have to say that installation is one of the big hurdles to getting openacs to the level of critical mass.

No big deal, but I would love to hear from anyone who has gotten openacs, RH9 and openssl working.

Posted by Joel Aufrecht on
After I made this change (, my last post), it compiled on Debian.  Could you try this on Red Hat 9 and let me know so I can update the docs?
Posted by Glenn Cadman on
Great,it works! your my hero!

I have updated the steps for clarity in the thread 92882.