Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Problem with PCRE when starting the web server: msg#00167

apache.mod-security.user

Subject: Problem with PCRE when starting the web server

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>
Google Custom Search

Recently Viewed:
hardware.arm.at...    cms.citadel.dev...    video.gstreamer...    java.facelets.u...    misc.basics.qna...    web.wiki.instik...    network.uip.use...    xdg.devel/2003-...    tex.bibtex.bibd...    finance.quotesp...    ietf.zeroconf/2...    redhat.blinux.g...    suse.db2/2003-0...    php.phpesp/2004...    uml.devel/2003-...    gnome.labyrinth...    qnx.openqnx.dev...    boot-loaders.gr...    db.dataperfect....    audio.audacity....    linux.uclinux.m...    editors.j.devel...    os.openbsd.tech...    kde.users.multi...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive 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

Navigation