You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Akash <ak...@gmail.com> on 2005/11/04 03:37:28 UTC

[users@httpd] error installing mod_proxy_html

I am trying to install mod_proxy_html work. Using the following command

$ /usr/local/apache/bin/apxs -c -I /usr/local/apache/include/libxml2/
-i mod_proxy_html.c

I end up with the following errors
--------
mod_proxy_html.c: In function `proxy_html_filter':
mod_proxy_html.c:802: `XML_PARSE_RECOVER' undeclared (first use in
this function)
mod_proxy_html.c:802: (Each undeclared identifier is reported only once
mod_proxy_html.c:802: for each function it appears in.)
mod_proxy_html.c:802: `XML_PARSE_NONET' undeclared (first use in this function)
mod_proxy_html.c:803: `XML_PARSE_NOBLANKS' undeclared (first use in
this function)
mod_proxy_html.c:803: `XML_PARSE_NOERROR' undeclared (first use in
this function)
mod_proxy_html.c:803: `XML_PARSE_NOWARNING' undeclared (first use in
this function)
apxs:Error: Command failed with rc=65536
--------

I googled around a bit and stumbled across this page on webservertalk.com forums
http://tinyurl.com/bpebc

Has anyone else come across this error. And has anyone successfully
used the work around suggested. I did try that but end up with another
error.

If any one wants to have a look will post it.

regards

Akash

Re: [users@httpd] error installing mod_proxy_html

Posted by Akash <ak...@gmail.com>.
On 11/4/05, Nick Kew <ni...@webthing.com> wrote:
> Did you look in the code around that line, where the fix is a
> commandline option when compiling?  Or at the mod_proxy_html
> webpage, which tells you in more detail?

A bit late but thank you for your reply. I was able to compile the
module successfully.

I am facing another problem now.

As soon as I try ./apachectl start I get the following error

# /usr/local/apache/bin/apachectl start
httpd: Syntax error on line 61 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/modules/mod_proxy_html.so into server:
ld.so.1: /usr/local/apache/bin/httpd: fatal: relocation error: file
/usr/local/apache/modules/mod_proxy_html.so: symbol
htmlFreeParserCtxt: referenced symbol not found

I searched around and found another email to the group for the same
error http://www.apache-httpd.com/msg/9005.html

I have the file libxml2.so in path and being called for loading.

from httpd.conf
LoadFile /usr/lib/sparcv9/libxml2.so
LoadModule proxy_html_module modules/mod_proxy_html.so

This is a solaris 9 box.  Any help is more than appreciated.

TIA

regards
akash

Re: [users@httpd] error installing mod_proxy_html

Posted by Nick Kew <ni...@webthing.com>.
On Friday 04 November 2005 02:37, Akash wrote:
> I am trying to install mod_proxy_html work. Using the following command
>
> $ /usr/local/apache/bin/apxs -c -I /usr/local/apache/include/libxml2/
> -i mod_proxy_html.c
>
> I end up with the following errors
> --------
> mod_proxy_html.c: In function `proxy_html_filter':
> mod_proxy_html.c:802: `XML_PARSE_RECOVER' undeclared (first use in
> this function)

Did you look in the code around that line, where the fix is a
commandline option when compiling?  Or at the mod_proxy_html
webpage, which tells you in more detail?

-- 
Nick Kew

---------------------------------------------------------------------
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