Forum OpenACS Q&A: Help with AOLServer, openssl, PostgreSQL, RedHat 9
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
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 ?
2) This thread: https://openacs.org/forums/message-view?message_id=92882 outlines one or more answers, but after reading it start to finish I still can't tell what the right answer is.
- That's what I did moved on without it, however I would like to get openssl working.
- I suppose this is the core of the issue as per my orginal post I read https://openacs.org/forums/message-view?message_id=92882 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.
I have updated the steps for clarity in the thread 92882.