RE: Apache Child Seg Fault using Web Datablade
Posted in 2000
> Paul, thanks for the response. I commented out the Informix > directories > in Configuration.tmpl while trying to debug a loadModule error and > never put them back :-0. After editing the file again along with the > mod_include.c, http_request.c, and the httpd.conf I get the following > error when executing the configure command: > > Creating Configuration.apaci in src > cd ..; gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite > `./apaci` > -L/opt/informix2000/lib -L/opt/informix2000/lib/esql - > L/opt/informix2000/extend/ > web.4.00.UC1/apache -o helpers/dummy helpers/dummy.c -lifxw -lifsql - > lifasf -li > fgen -lifos -lifgls /opt/informix2000/lib/esql/checkapi.o -lifglx - > lifsql -lifas > f -lifgen -lifos -lifgls -lm -lm > /opt/informix2000/lib/libifasf.so: undefined reference to `dlclose' > /opt/informix2000/lib/libifasf.so: undefined reference to `dlopen' > /opt/informix2000/lib/esql/libifos.so: undefined reference to `crypt' > /opt/informix2000/lib/libifasf.so: undefined reference to `dlsym' Is your LD_LIBRARY_PATH set correctly?? If JL is listening he might recognise the calls. > collect2: ld returned 1 exit status > make: *** [dummy] Error 1 > Creating Makefile in src > + configured for Linux platform > + setting C compiler to gcc > + setting C pre-processor to gcc -E > + checking for system header files > + adding selected modules > + checking sizeof various data types > + doing sanity check on compiler and options > ** A test compilation with your Makefile configuration > ** failed. The below error output from the compilation ... > > Support suggested reinstalling Apache but this seems like an error in > the informix libraries. Hmmm, one other idea. The apache build must be done in a different directory from the target installation, ie if you want to deploy to /usr/local/apache do the build /usr/local/tmp and not /usr/local/apache. It will install (ish) but you get weird and wonderful problems > > The driver.log file states that the initialization completed > ok and the INFORMIXDIR is set correctly. Thats is good, but it doesn't confirm your entire environment in correct Paul Watson # WF Software Ltd # All answers are +44 1435 674629 # pure fantasy +44 1436 678693 # www.wfsoftware.com/informix #