You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Bill Tantzen <ta...@tc.umn.edu> on 2008/09/03 20:40:19 UTC
[users@httpd] problems installing apache module
I am having major problems with what should be a simple task -- installing a
module as a DSO, specifically mod_fastcgi. I have a have a hunch that the
problem is not with fastcgi, but instead with something I am doing wrong
while installing, and I'm hoping somebody can point me in a better
direction.
The error I see when I do a configtest is:
Syntax error on line 248 of /software/apache/conf/httpd.conf:
Cannot load /software/apache/libexec/mod_fastcgi.so into server:
/software/apache/libexec/mod_fastcgi.so: undefined symbol: OS_FcgiConnect
I have googled this error, and I got zip.
libfcgi.so is where the function is defined, and it is located in a
non-standard directory, /software/lib. I tried passing these options to
apxs:
-Wl,-L/software/lib -W1,-R/software/lib
However, I'm still getting the same error from configtest.
This is apache 1.34 on RHEL 4.x (fastcgi 2.4.0)
Any ideas?
TIA,
Bill
Bill Tantzen
University of Minnesota Libraries
tantz001@tc.umn.edu
612-626-9949 (office) 612-325-1777 (cell)
________________________________________________________________
Penny for your thoughts now, my boy Bill. -- Bruce Springsteen
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: [users@httpd] problems installing apache module
Posted by Bill Tantzen <ta...@tc.umn.edu>.
Davide,
Thanks, I tried that as well, but still no luck. And the library should be
the same version - it's from the same distribution. Crazy. I'm going to
see if there's maybe an older version of libfcgi hanging around.
Bill
Bill Tantzen
University of Minnesota Libraries
tantz001@tc.umn.edu
612-626-9949 (office) 612-325-1777 (cell)
________________________________________________________________
Penny for your thoughts now, my boy Bill. -- Bruce Springsteen
> -----Original Message-----
> From: users-return-82852-tantz001=tc.umn.edu@httpd.apache.org
> [mailto:users-return-82852-tantz001=tc.umn.edu@httpd.apache.or
g] On Behalf Of Davide Bianchi
> Sent: Thursday, September 04, 2008 1:58 AM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] problems installing apache module
>
> Bill Tantzen wrote:
> > The error I see when I do a configtest is:
> > Syntax error on line 248 of /software/apache/conf/httpd.conf:
> > Cannot load /software/apache/libexec/mod_fastcgi.so into server:
> > /software/apache/libexec/mod_fastcgi.so: undefined symbol:
> > OS_FcgiConnect
>
> The module is trying to load a library but the library is of
> a different version than expected or is not there.
>
> > libfcgi.so is where the function is defined, and it is located in a
> > non-standard directory, /software/lib. I tried passing
> these options
> > to
> > apxs:
>
> Add /software/lib to your /etc/ld.so.conf file and run (as
> root) ldconfig.
>
> Davide
>
> --
> A four-year-old child could understand that. Run out and find
> me a four-year-old child, I can't make head or tail out of it.
> -- Julius Henry "Groucho" Marx
> (http://en.wikiquote.org/wiki/Groucho_Marx)
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP
> Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] problems installing apache module
Posted by Davide Bianchi <da...@onlyforfun.net>.
Bill Tantzen wrote:
> The error I see when I do a configtest is:
> Syntax error on line 248 of /software/apache/conf/httpd.conf:
> Cannot load /software/apache/libexec/mod_fastcgi.so into server:
> /software/apache/libexec/mod_fastcgi.so: undefined symbol: OS_FcgiConnect
The module is trying to load a library but the library is of a different
version than expected or is not there.
> libfcgi.so is where the function is defined, and it is located in a
> non-standard directory, /software/lib. I tried passing these options to
> apxs:
Add /software/lib to your /etc/ld.so.conf file and run (as root) ldconfig.
Davide
--
A four-year-old child could understand that. Run out and find me
a four-year-old child, I can't make head or tail out of it.
-- Julius Henry "Groucho" Marx (http://en.wikiquote.org/wiki/Groucho_Marx)
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: [users@httpd] problems installing apache module -- SOLVED
Posted by Bill Tantzen <ta...@tc.umn.edu>.
Ah Ha! I found an antiquated version of libfcgi that the mod was apparently
trying to load. Nuked it, and problem solved. Thanks to all who replied!
Bill
Bill Tantzen
University of Minnesota Libraries
tantz001@tc.umn.edu
612-626-9949 (office) 612-325-1777 (cell)
________________________________________________________________
Penny for your thoughts now, my boy Bill. -- Bruce Springsteen
> -----Original Message-----
> From: users-return-82846-tantz001=tc.umn.edu@httpd.apache.org
> [mailto:users-return-82846-tantz001=tc.umn.edu@httpd.apache.or
> g] On Behalf Of Bill Tantzen
> Sent: Wednesday, September 03, 2008 1:40 PM
> To: users@httpd.apache.org
> Subject: [users@httpd] problems installing apache module
>
> I am having major problems with what should be a simple task
> -- installing a module as a DSO, specifically mod_fastcgi. I
> have a have a hunch that the problem is not with fastcgi, but
> instead with something I am doing wrong while installing, and
> I'm hoping somebody can point me in a better direction.
>
> The error I see when I do a configtest is:
> Syntax error on line 248 of /software/apache/conf/httpd.conf:
> Cannot load /software/apache/libexec/mod_fastcgi.so into server:
> /software/apache/libexec/mod_fastcgi.so: undefined symbol:
> OS_FcgiConnect
>
> I have googled this error, and I got zip.
>
> libfcgi.so is where the function is defined, and it is
> located in a non-standard directory, /software/lib. I tried
> passing these options to
> apxs:
>
> -Wl,-L/software/lib -W1,-R/software/lib
>
> However, I'm still getting the same error from configtest.
>
> This is apache 1.34 on RHEL 4.x (fastcgi 2.4.0)
>
> Any ideas?
>
> TIA,
> Bill
>
> Bill Tantzen
> University of Minnesota Libraries
> tantz001@tc.umn.edu
> 612-626-9949 (office) 612-325-1777 (cell)
> ________________________________________________________________
> Penny for your thoughts now, my boy Bill. -- Bruce Springsteen
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP
> Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org