473,403 Members | 2,284 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Problems compiling Apache 2.0.49 with mod_auth_pgsql

Hi All!

Trying to upgrade to Apache 2.0.49 and getting compile errors related to
mod_auth_pgsql, any clue?:

make[1]: Entering directory `/usr/src/httpd-2.0.49'
/usr/src/httpd-2.0.49/srclib/apr/libtool --silent --mode=link gcc -pthread
-I/ =500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
-DAP_HAVE_DESIGNATED_INITIALIZER I. -I/usr/src/httpd-2.0.49/os/unix
-I/usr/src/httpd-2.0.49/server/mpm/prefork -I .49/modules/proxy
-I/usr/src/httpd-2.0.49/include -I/usr/src/httpd-2.0.49/module -o httpd
modules.lo modules/aaa/mod_access.la modules/aaa/mod_auth.la modules
s/metadata/mod_env.la modules/metadata/mod_mime_magic.la
modules/metadata/mod_ex _setenvif.la modules/ssl/mod_ssl.la
modules/http/mod_http.la modules/http/mod_mi a
modules/generators/mod_autoindex.la modules/generators/mod_asis.la
modules/gen ers/mod_dir.la modules/mappers/mod_imap.la
modules/mappers/mod_actions.la module ork/libprefork.la server/libmain.la
os/unix/libos.la -lssl -lcrypto /usr/src/htt ldb-4.0 -lexpat -liconv
/usr/src/httpd-2.0.49/srclib/apr/libapr-0.la -lrt -lm -l
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x470): In
function
: undefined reference to `PQsetdbLogin'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x482): In
function
: undefined reference to `PQstatus'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x49a): In
function
: undefined reference to `PQreset'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x4aa): In
function
: undefined reference to `PQerrorMessage'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x4d2): In
function
: undefined reference to `PQstatus'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x4e6): In
function
: undefined reference to `PQerrorMessage'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x51d): In
function
: undefined reference to `PQexec'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x53c): In
function
: undefined reference to `PQerrorMessage'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x56e): In
function
: undefined reference to `PQresultStatus'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x580): In
function
: undefined reference to `PQclear'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x59a): In
function
: undefined reference to `PQresultStatus'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x5b5): In
function
: undefined reference to `PQerrorMessage'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x5db): In
function
: undefined reference to `PQclear'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x5f5): In
function
: undefined reference to `PQntuples'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x610): In
function
: undefined reference to `PQgetvalue'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x629): In
function
: undefined reference to `PQerrorMessage'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x64f): In
function
: undefined reference to `PQclear'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x6ad): In
function
: undefined reference to `PQclear'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x6d5): In
function
: undefined reference to `PQclear'
collect2: ld returned 1 exit status
make[1]: *** [httpd] Error 1
make[1]: Leaving directory `/usr/src/httpd-2.0.49'
make: *** [all-recursive] Error 1

System is Redhat 9 running kernel 2.4.25... It still compiles fine with
apache 2.0.48... I must be missing something, because I don't see others
having similar problems... My configure command is as follows:

CFLAGS="-I/usr/kerberos/include -DSECURITY_HOLE_PASS_AUTHORIZATION"
../configure --prefix=/usr/apache2 --datadir=/www --enable-auth-digest
--enable-mime-magic --enable-expires --enable-headers --enable-usertrack
--enable-static-rotatelogs --enable-http --enable-dav --enable-dav-fs
-enable-cgi --enable-so --enable-ssl
--with-module=aaa:../mod_auth_pgsql-2.0.1/mod_auth_pgsql.c
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to ma*******@postgresql.org)

Nov 23 '05 #1
3 2300
hi ryan,
I think something is wrong with your --with-module line in the configure. Syntax should be

--with-module=module-type:module-file
Enable module-file in the modules/<module-type>
but it's not in modules/aaa {just downloaded this from their site}

[root@www httpd-2.0.49]# ls modules/aaa
config.m4 mod_access.dsp mod_auth_anon.dsp mod_auth_dbm.c mod_auth_digest.c mod_auth.exp NWGNUdigest
Makefile.in mod_access.exp mod_auth_anon.exp mod_auth_dbm.dsp mod_auth_digest.dsp NWGNUauthanon NWGNUmakefile
mod_access.c mod_auth_anon.c mod_auth.c mod_auth_dbm.exp mod_auth.dsp NWGNUauthdbm
and it's not part of the distribution, maybe it doesn't work to just put it in some directory and try to get the --with-module flag to compile it. In fact, for 1.3.x you had to compile in its separate directory and then compile apache with the --activate-module= flag, but that configure option is lost in 2.0.x. so .... and mod_auth_pgsql doesn't say it's work for 2.0.x only for 1.3.x as per their web site. I would try the apxs build. The problem with the build you are doing is that its' not linking against -lpq anywhere.

On Thu, Apr 01, 2004 at 08:58:28PM -0500, Ryan Riehle wrote:
Hi All!

Trying to upgrade to Apache 2.0.49 and getting compile errors related to
mod_auth_pgsql, any clue?:

make[1]: Entering directory `/usr/src/httpd-2.0.49'
/usr/src/httpd-2.0.49/srclib/apr/libtool --silent --mode=link gcc -pthread
-I/ =500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
-DAP_HAVE_DESIGNATED_INITIALIZER I. -I/usr/src/httpd-2.0.49/os/unix
-I/usr/src/httpd-2.0.49/server/mpm/prefork -I .49/modules/proxy
-I/usr/src/httpd-2.0.49/include -I/usr/src/httpd-2.0.49/module -o httpd
modules.lo modules/aaa/mod_access.la modules/aaa/mod_auth.la modules
s/metadata/mod_env.la modules/metadata/mod_mime_magic.la
modules/metadata/mod_ex _setenvif.la modules/ssl/mod_ssl.la
modules/http/mod_http.la modules/http/mod_mi a
modules/generators/mod_autoindex.la modules/generators/mod_asis.la
modules/gen ers/mod_dir.la modules/mappers/mod_imap.la
modules/mappers/mod_actions.la module ork/libprefork.la server/libmain.la
os/unix/libos.la -lssl -lcrypto /usr/src/htt ldb-4.0 -lexpat -liconv
/usr/src/httpd-2.0.49/srclib/apr/libapr-0.la -lrt -lm -l
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x470): In
function
: undefined reference to `PQsetdbLogin'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x482): In
function
: undefined reference to `PQstatus'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x49a): In
function
: undefined reference to `PQreset'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x4aa): In
function
: undefined reference to `PQerrorMessage'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x4d2): In
function
: undefined reference to `PQstatus'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x4e6): In
function
: undefined reference to `PQerrorMessage'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x51d): In
function
: undefined reference to `PQexec'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x53c): In
function
: undefined reference to `PQerrorMessage'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x56e): In
function
: undefined reference to `PQresultStatus'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x580): In
function
: undefined reference to `PQclear'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x59a): In
function
: undefined reference to `PQresultStatus'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x5b5): In
function
: undefined reference to `PQerrorMessage'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x5db): In
function
: undefined reference to `PQclear'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x5f5): In
function
: undefined reference to `PQntuples'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x610): In
function
: undefined reference to `PQgetvalue'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x629): In
function
: undefined reference to `PQerrorMessage'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x64f): In
function
: undefined reference to `PQclear'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x6ad): In
function
: undefined reference to `PQclear'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x6d5): In
function
: undefined reference to `PQclear'
collect2: ld returned 1 exit status
make[1]: *** [httpd] Error 1
make[1]: Leaving directory `/usr/src/httpd-2.0.49'
make: *** [all-recursive] Error 1

System is Redhat 9 running kernel 2.4.25... It still compiles fine with
apache 2.0.48... I must be missing something, because I don't see others
having similar problems... My configure command is as follows:

CFLAGS="-I/usr/kerberos/include -DSECURITY_HOLE_PASS_AUTHORIZATION"
./configure --prefix=/usr/apache2 --datadir=/www --enable-auth-digest
--enable-mime-magic --enable-expires --enable-headers --enable-usertrack
--enable-static-rotatelogs --enable-http --enable-dav --enable-dav-fs
-enable-cgi --enable-so --enable-ssl
--with-module=aaa:../mod_auth_pgsql-2.0.1/mod_auth_pgsql.c
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to ma*******@postgresql.org)


--
joe speigle
www.sirfsup.com

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Nov 23 '05 #2
I'm using mod_auth_pgsq, version 2.0.1... it's for use with apache 2.0.x got
it from their site: http://www.giuseppetanzilli.it/mod%5Fauth%5Fpgsql2/

-Ryan
-----Original Message-----
From: pg*****************@postgresql.org
[mailto:pg*****************@postgresql.org] On Behalf Of joseph speigle
Sent: Thursday, April 01, 2004 10:55 PM
To: pg***********@postgresql.org
Subject: Re: [GENERAL] Problems compiling Apache 2.0.49 with mod_auth_pgsql
hi ryan,
I think something is wrong with your --with-module line in the configure.
Syntax should be

--with-module=module-type:module-file
Enable module-file in the modules/<module-type>
but it's not in modules/aaa {just downloaded this from their site}

[root@www httpd-2.0.49]# ls modules/aaa
config.m4 mod_access.dsp mod_auth_anon.dsp mod_auth_dbm.c
mod_auth_digest.c mod_auth.exp NWGNUdigest
Makefile.in mod_access.exp mod_auth_anon.exp mod_auth_dbm.dsp
mod_auth_digest.dsp NWGNUauthanon NWGNUmakefile
mod_access.c mod_auth_anon.c mod_auth.c mod_auth_dbm.exp
mod_auth.dsp NWGNUauthdbm
and it's not part of the distribution, maybe it doesn't work to just put it
in some directory and try to get the --with-module flag to compile it. In
fact, for 1.3.x you had to compile in its separate directory and then
compile apache with the --activate-module= flag, but that configure option
is lost in 2.0.x. so .... and mod_auth_pgsql doesn't say it's work for
2.0.x only for 1.3.x as per their web site. I would try the apxs build.
The problem with the build you are doing is that its' not linking against
-lpq anywhere.

On Thu, Apr 01, 2004 at 08:58:28PM -0500, Ryan Riehle wrote:
Hi All!

Trying to upgrade to Apache 2.0.49 and getting compile errors related
to mod_auth_pgsql, any clue?:

make[1]: Entering directory `/usr/src/httpd-2.0.49'
/usr/src/httpd-2.0.49/srclib/apr/libtool --silent --mode=link gcc
-pthread -I/ =500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
-DAP_HAVE_DESIGNATED_INITIALIZER I. -I/usr/src/httpd-2.0.49/os/unix
-I/usr/src/httpd-2.0.49/server/mpm/prefork -I .49/modules/proxy
-I/usr/src/httpd-2.0.49/include -I/usr/src/httpd-2.0.49/module -o
httpd modules.lo modules/aaa/mod_access.la modules/aaa/mod_auth.la
modules s/metadata/mod_env.la modules/metadata/mod_mime_magic.la
modules/metadata/mod_ex _setenvif.la modules/ssl/mod_ssl.la
modules/http/mod_http.la modules/http/mod_mi a
modules/generators/mod_autoindex.la modules/generators/mod_asis.la
modules/gen ers/mod_dir.la modules/mappers/mod_imap.la
modules/mappers/mod_actions.la module ork/libprefork.la
server/libmain.la os/unix/libos.la -lssl -lcrypto /usr/src/htt ldb-4.0
-lexpat -liconv /usr/src/httpd-2.0.49/srclib/apr/libapr-0.la -lrt -lm
-l
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x470): In
function
: undefined reference to `PQsetdbLogin'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x482): In
function
: undefined reference to `PQstatus'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x49a): In
function
: undefined reference to `PQreset'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x4aa): In
function
: undefined reference to `PQerrorMessage'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x4d2): In
function
: undefined reference to `PQstatus'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x4e6): In
function
: undefined reference to `PQerrorMessage'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x51d): In
function
: undefined reference to `PQexec'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x53c): In
function
: undefined reference to `PQerrorMessage'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x56e): In
function
: undefined reference to `PQresultStatus'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x580): In
function
: undefined reference to `PQclear'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x59a): In
function
: undefined reference to `PQresultStatus'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x5b5): In
function
: undefined reference to `PQerrorMessage'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x5db): In
function
: undefined reference to `PQclear'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x5f5): In
function
: undefined reference to `PQntuples'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x610): In
function
: undefined reference to `PQgetvalue'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x629): In
function
: undefined reference to `PQerrorMessage'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x64f): In
function
: undefined reference to `PQclear'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x6ad): In
function
: undefined reference to `PQclear'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x6d5): In
function
: undefined reference to `PQclear'
collect2: ld returned 1 exit status
make[1]: *** [httpd] Error 1
make[1]: Leaving directory `/usr/src/httpd-2.0.49'
make: *** [all-recursive] Error 1

System is Redhat 9 running kernel 2.4.25... It still compiles fine
with apache 2.0.48... I must be missing something, because I don't see
others having similar problems... My configure command is as follows:

CFLAGS="-I/usr/kerberos/include -DSECURITY_HOLE_PASS_AUTHORIZATION"
./configure --prefix=/usr/apache2 --datadir=/www --enable-auth-digest
--enable-mime-magic --enable-expires --enable-headers
--enable-usertrack --enable-static-rotatelogs --enable-http
--enable-dav --enable-dav-fs -enable-cgi --enable-so --enable-ssl
--with-module=aaa:../mod_auth_pgsql-2.0.1/mod_auth_pgsql.c
---------------------------(end of
broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to ma*******@postgresql.org)


--
joe speigle
www.sirfsup.com

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 23 '05 #3
ryan, did you do this?

- edit config_vars.mk
vi build/config_vars.mk
add "-I/usr/local/pgsql/include" to the end of EXTRA_INCLUDES
add "-lpq -L/usr/local/pgsql/lib" to the end of EXTRA_LIBS

?
On Fri, Apr 02, 2004 at 12:49:43AM -0500, Ryan Riehle wrote:
I'm using mod_auth_pgsq, version 2.0.1... it's for use with apache 2.0.x got
it from their site: http://www.giuseppetanzilli.it/mod%5Fauth%5Fpgsql2/

-Ryan
-----Original Message-----
From: pg*****************@postgresql.org
[mailto:pg*****************@postgresql.org] On Behalf Of joseph speigle
Sent: Thursday, April 01, 2004 10:55 PM
To: pg***********@postgresql.org
Subject: Re: [GENERAL] Problems compiling Apache 2.0.49 with mod_auth_pgsql
hi ryan,
I think something is wrong with your --with-module line in the configure.
Syntax should be

--with-module=module-type:module-file
Enable module-file in the modules/<module-type>
but it's not in modules/aaa {just downloaded this from their site}

[root@www httpd-2.0.49]# ls modules/aaa
config.m4 mod_access.dsp mod_auth_anon.dsp mod_auth_dbm.c
mod_auth_digest.c mod_auth.exp NWGNUdigest
Makefile.in mod_access.exp mod_auth_anon.exp mod_auth_dbm.dsp
mod_auth_digest.dsp NWGNUauthanon NWGNUmakefile
mod_access.c mod_auth_anon.c mod_auth.c mod_auth_dbm.exp
mod_auth.dsp NWGNUauthdbm
and it's not part of the distribution, maybe it doesn't work to just put it
in some directory and try to get the --with-module flag to compile it. In
fact, for 1.3.x you had to compile in its separate directory and then
compile apache with the --activate-module= flag, but that configure option
is lost in 2.0.x. so .... and mod_auth_pgsql doesn't say it's work for
2.0.x only for 1.3.x as per their web site. I would try the apxs build.
The problem with the build you are doing is that its' not linking against
-lpq anywhere.

On Thu, Apr 01, 2004 at 08:58:28PM -0500, Ryan Riehle wrote:
Hi All!

Trying to upgrade to Apache 2.0.49 and getting compile errors related
to mod_auth_pgsql, any clue?:

make[1]: Entering directory `/usr/src/httpd-2.0.49'
/usr/src/httpd-2.0.49/srclib/apr/libtool --silent --mode=link gcc
-pthread -I/ =500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
-DAP_HAVE_DESIGNATED_INITIALIZER I. -I/usr/src/httpd-2.0.49/os/unix
-I/usr/src/httpd-2.0.49/server/mpm/prefork -I .49/modules/proxy
-I/usr/src/httpd-2.0.49/include -I/usr/src/httpd-2.0.49/module -o
httpd modules.lo modules/aaa/mod_access.la modules/aaa/mod_auth.la
modules s/metadata/mod_env.la modules/metadata/mod_mime_magic.la
modules/metadata/mod_ex _setenvif.la modules/ssl/mod_ssl.la
modules/http/mod_http.la modules/http/mod_mi a
modules/generators/mod_autoindex.la modules/generators/mod_asis.la
modules/gen ers/mod_dir.la modules/mappers/mod_imap.la
modules/mappers/mod_actions.la module ork/libprefork.la
server/libmain.la os/unix/libos.la -lssl -lcrypto /usr/src/htt ldb-4.0
-lexpat -liconv /usr/src/httpd-2.0.49/srclib/apr/libapr-0.la -lrt -lm
-l
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x470): In
function
: undefined reference to `PQsetdbLogin'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x482): In
function
: undefined reference to `PQstatus'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x49a): In
function
: undefined reference to `PQreset'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x4aa): In
function
: undefined reference to `PQerrorMessage'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x4d2): In
function
: undefined reference to `PQstatus'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x4e6): In
function
: undefined reference to `PQerrorMessage'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x51d): In
function
: undefined reference to `PQexec'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x53c): In
function
: undefined reference to `PQerrorMessage'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x56e): In
function
: undefined reference to `PQresultStatus'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x580): In
function
: undefined reference to `PQclear'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x59a): In
function
: undefined reference to `PQresultStatus'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x5b5): In
function
: undefined reference to `PQerrorMessage'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x5db): In
function
: undefined reference to `PQclear'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x5f5): In
function
: undefined reference to `PQntuples'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x610): In
function
: undefined reference to `PQgetvalue'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x629): In
function
: undefined reference to `PQerrorMessage'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x64f): In
function
: undefined reference to `PQclear'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x6ad): In
function
: undefined reference to `PQclear'
modules/aaa/.libs/mod_auth_pgsql.al(mod_auth_pgsql.lo)(.text+0x6d5): In
function
: undefined reference to `PQclear'
collect2: ld returned 1 exit status
make[1]: *** [httpd] Error 1
make[1]: Leaving directory `/usr/src/httpd-2.0.49'
make: *** [all-recursive] Error 1

System is Redhat 9 running kernel 2.4.25... It still compiles fine
with apache 2.0.48... I must be missing something, because I don't see
others having similar problems... My configure command is as follows:

CFLAGS="-I/usr/kerberos/include -DSECURITY_HOLE_PASS_AUTHORIZATION"
./configure --prefix=/usr/apache2 --datadir=/www --enable-auth-digest
--enable-mime-magic --enable-expires --enable-headers
--enable-usertrack --enable-static-rotatelogs --enable-http
--enable-dav --enable-dav-fs -enable-cgi --enable-so --enable-ssl
--with-module=aaa:../mod_auth_pgsql-2.0.1/mod_auth_pgsql.c
---------------------------(end of
broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to ma*******@postgresql.org)


--
joe speigle
www.sirfsup.com

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html


--
joe speigle
www.sirfsup.com

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ma*******@postgresql.org so that your
message can get through to the mailing list cleanly

Nov 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: jon rogers | last post by:
Thanks for the advice I got, but I still cannot install PHP. >./configure --with-mysql --with-apxs2=/path/to/apxs2 > >http://uk.php.net/manual/en/install.apache2.php So what is my...
6
by: Andres Rosado-Sepulveda | last post by:
Hello, I'm having trouble compiling PHP 4.3.4 on Solaris 8. This is the error message it is showing: -- start -- Undefined first referenced symbol ...
1
by: Thomas Findeisen | last post by:
I tried to use ant for compiling my Jsp-Sides to servlets, it runs for some jsps and stops after a while with the following error (output slightly scrolled to the right side): ...
3
by: Alan Krueger | last post by:
Greetings, I've been able to cache Transformer objects in a Tomcat-based servlet application to avoid unnecessary Transformer rebuilding, except for certain ones on certain machines. I'm...
3
by: MBS | last post by:
As far as I know PHP code is always a script which is interpreted by the PHP interpreter, compiled to machine code, then executed by the CPU. Much like Java, one could say. (I am not talking...
3
by: Molly Gibson | last post by:
Hi all, I have recently installed Apache/1.3.28 + mod_auth_pgsql-0.9.12 (http://www.giuseppetanzilli.it/mod_auth_pgsql/) The only way I have been able to get it to successfully authenticate...
5
by: Bruno BAGUETTE | last post by:
> Yes, the mod_auth_pgsql series for Apache 2 is broken as you > describe. It does not release the connection, but the change > is intentional. Looking at the Changelog I see: > > - now we...
2
by: chaitanyaraju | last post by:
please give me solution for this root cause Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK...
3
by: Newt | last post by:
I've compiled MySQL 4.1, PHP 4.4.7 and Apache 1.3.37. When I try to use phpinfo() to ensure everything is OK, I get the following message: Warning:...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.