|
|
Choosing A Webhost: |
Problem with PCRE when starting the web server: msg#00167apache.mod-security.user
Hello everyone, For the last days I had been trying to use mod_security2 in my AIX 5.3 (5300-03). I am using IHS as web server which is a modified Apache. After compiling without errors the mod_security2 I try to start the web server. I get: Cannot load /opt/IHS6/modules/mod_security2.so into server: rtld: 0712-001 Symbol pcre_exec was referenced\n from module /opt/IHS6/modules/mod_security2.so(), but a runtime definition\n of the symbol was not found.\nrtld: 0712-001 Symbol pcre_compile was referenced\n from module /opt/IHS6/modules/mod_security2.so(), but a runtime definition\n of the symbol was not found. I readed in the installation notes that some PCRE may appear during compilation problems. I did not have those problems when compiling or linking the module. The pcre headers are located at /opt/IHS6/include and when compiling this directory is included. Here I include an ouput line where you can see all the compile options: gcc -qHALT=E -O2 -g -Wuninitialized -Wall -Wmissing-prototypes -Wshadow -Wunused-variable -Wunused-value -Wchar-subscripts -Wsign-compare -U__STR__ -D_THREAD_SAFE -D_USE_IRS -I/blddir/IHS60/apache/srclib/apr/include -I/blddir/IHS60/apache/srclib/apr-util/include -I/blddir/IHS60/apache/srclib/apr-util/xml/expat/lib -I. -I/opt/IHS6/os/unix -I/opt/IHS6/server/mpm/worker -I/opt/IHS6/modules/http -I/opt/IHS6/modules/filters -I/opt/IHS6/modules/proxy -I/opt/IHS6/include -I/opt/IHS6/modules/dav/main -c msc_pcre.c -DPIC -o .libs/msc_pcre.lo BTW I go warnings all the time about HALT=E I tried to use the -c option from gcc, same result. gcc -v Using built-in specs. Target: powerpc-ibm-aix5.3.0.0 Configured with: ../gcc-4.1.1/configure --disable-nls Thread model: aix gcc version 4.1.1 The Makefile I am using is: builddir = . top_dir = /opt/IHS6 top_srcdir = ${top_dir} top_builddir = ${top_dir} include ${top_builddir}/build/special.mk APXS = apxs APACHECTL = apachectl #/opt/IHS6/include/ CC = gcc #INCLUDES = -I /usr/include/libxml2 #DEFS = -DWITH_LIBXML2 #LIBS = -L/opt/IHS6/include/ -lpcre CFLAGS = -O2 -g -Wuninitialized -Wall -Wmissing-prototypes -Wshadow -Wunused-variable -Wunused-value -Wchar-subscripts -Wsign-compare all: local-shared-build clean: -rm -f *.o *.lo *.slo *.la *~ .libs At this point any help is very welcome. Thanks ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: mod sec 2 and apache 1.3, Dan Rossi |
|---|---|
| Next by Date: | Core Rule Set v1.2, Ofer Shezaf |
| Previous by Thread: | mod sec 2 and apache 1.3, Dan Rossi |
| Next by Thread: | Core Rule Set v1.2, Ofer Shezaf |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |