You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Matt Goyer <mg...@fairtunes.com> on 2001/11/12 23:17:42 UTC
apxs:Error: no config variable LDFLAGS_SHLIB
I'm compiling mod_webapp (1.0) on Solaris 8 with Apache 1.3.22 installed and
get the following error message.
I see from Googling that another tomcat-user had the same problem but I
couldn't find a follow-up reply or solution.
Any help would be appreciated,
Matt.
--
make[2]: Entering directory `/home/mgoyer/webapp-module-1.0-tc40/apache-1.3'
{ APXS_LDFLAGS_SHLIB="`/usr/local/apache/bin/apxs -q LDFLAGS_SHLIB` \
\
-lm -liconv -lsocket -lnsl -ldl" ; \
APXS_LDFLAGS_SHLIB=`/usr/local/bin/echo ${APXS_LDFLAGS_SHLIB}` ; \
APXS_CFLAGS="`/usr/local/apache/bin/apxs -q CFLAGS` \
-g -O2 \
\
\
-DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT \
-I/home/mgoyer/webapp-module-1.0-tc40/apr/include \
-I/home/mgoyer/webapp-module-1.0-tc40/include \
" ; \
APXS_CFLAGS=`/usr/local/bin/echo ${APXS_CFLAGS}` ; \
/usr/local/apache/bin/apxs \
-S CFLAGS="${APXS_CFLAGS}" \
-S LDFLAGS_SHLIB="${APXS_LDFLAGS_SHLIB}" \
-o "mod_webapp.so" \
-c "mod_webapp.c" \
"/home/mgoyer/webapp-module-1.0-tc40/lib/libwebapp.a" \
"/home/mgoyer/webapp-module-1.0-tc40/lib/libapr.a" ; \
}
apxs:Error: no config variable LDFLAGS_SHLIB
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
RE: apxs:Error: no config variable LDFLAGS_SHLIB
Posted by Dan Silcox <ds...@chemconnect.com>.
I had the same problem and it was solved if I deleted and then
re-compiled/installed apache with the apxs flag and mod_so module compiled
in.
-----Original Message-----
From: Matt Goyer [mailto:mgoyer@fairtunes.com]
Sent: Monday, November 12, 2001 5:18 PM
To: Tomcat Users
Subject: apxs:Error: no config variable LDFLAGS_SHLIB
I'm compiling mod_webapp (1.0) on Solaris 8 with Apache 1.3.22 installed and
get the following error message.
I see from Googling that another tomcat-user had the same problem but I
couldn't find a follow-up reply or solution.
Any help would be appreciated,
Matt.
--
make[2]: Entering directory `/home/mgoyer/webapp-module-1.0-tc40/apache-1.3'
{ APXS_LDFLAGS_SHLIB="`/usr/local/apache/bin/apxs -q LDFLAGS_SHLIB` \
\
-lm -liconv -lsocket -lnsl -ldl" ; \
APXS_LDFLAGS_SHLIB=`/usr/local/bin/echo ${APXS_LDFLAGS_SHLIB}` ; \
APXS_CFLAGS="`/usr/local/apache/bin/apxs -q CFLAGS` \
-g -O2 \
\
\
-DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT \
-I/home/mgoyer/webapp-module-1.0-tc40/apr/include \
-I/home/mgoyer/webapp-module-1.0-tc40/include \
" ; \
APXS_CFLAGS=`/usr/local/bin/echo ${APXS_CFLAGS}` ; \
/usr/local/apache/bin/apxs \
-S CFLAGS="${APXS_CFLAGS}" \
-S LDFLAGS_SHLIB="${APXS_LDFLAGS_SHLIB}" \
-o "mod_webapp.so" \
-c "mod_webapp.c" \
"/home/mgoyer/webapp-module-1.0-tc40/lib/libwebapp.a" \
"/home/mgoyer/webapp-module-1.0-tc40/lib/libapr.a" ; \
}
apxs:Error: no config variable LDFLAGS_SHLIB
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>