Forum OpenACS Q&A: Re: AOL installation problem
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../..crit.0:(.init+0x0): first defined here collect2: ld returned 1 exit status
make: *** [libnsthread.so] Error 1
make: Leaving directory '/usr/local/aolserver4/aolserver-4.0.10/nsthread'
make: *** [Error 1
I am using Kernel 2.6.18-92.el5xen
Glibc version 2.5-24
GNU make 3.81
Threads are enables in TCL and the AOL server. I've run make clean a couple of times to no avail.
I've found an OpenACS document in the discussions that demonstrate this exact problem. I've followed the directions there and have had no success. The message id in the discussion group is 160320. What are my options now? Thanks.
where the relevant line is
/home/dcarter/tmp/aolserver-4.0.9/nsthread/pthread.c:70: multiple definition of `_init'which which have for some reason omitted.
The solution to this problem is to add "-nostartfiles" to the link command (for linking nsd). The quickest approach is to edit the Makefile.
Btw, it is not recommend to use Tcl 8.4.13 (use 8.4.19 instead).
Since I've told it to compile without startups, I don't seem to have the nsd command to start the server. Can you tell me how to start the server at this point.
Testing aolserver is described in https://openacs.org/test-doc/aolserver#install-aolserver-permissions