Hi,
I was trying to update to the latest version
This is the error I get when doing ./build apache_2
/libaprutil-0.la -lexpat /usr/local/directadmin/customapache/httpd-2.0.63/srclib/apr/libapr-0.la -lrt -lm -lcrypt -lnsl -lpthread -ldl
/usr/lib/libexpat.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[2]: *** [htpasswd] Error 1
make[2]: Leaving directory `/usr/local/directadmin/customapache/httpd-2.0.63/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/customapache/httpd-2.0.63/support'
make: *** [all-recursive] Error 1
*** The make has failed, do you want to try to make again? (y,n):
I already have the 32 and 64 bit of these packages:
# rpm -qa | grep expat
expat-1.95.8-8.2.1
expat-1.95.8-8.2.1
expat-devel-1.95.8-8.2.1
expat-devel-1.95.8-8.2.1
I had searched the forums I found someone suggesting to enable 64libs in configure.apache_2, which I have it as
--enable-lib64
If I do build all, it will compile the default apache 1 without errors, but configtest shows
# apachectl configtest
Syntax error on line 96 of /etc/httpd/conf/httpd.conf:
Invalid command 'Order', perhaps mis-spelled or defined by a module not included in the server configuration
Line 96 has this:
<Directory "/var/www/html">
Options -Indexes FollowSymLinks
AllowOverride None
Order allow,deny #line 96
Allow from all
</Directory>
If I comment that, it will say Invalid Command Allow on Line 97
All my sites in this server are down now.
Please suggest what might I be missing or doing wrong.
Thanks,
I was trying to update to the latest version
This is the error I get when doing ./build apache_2
/libaprutil-0.la -lexpat /usr/local/directadmin/customapache/httpd-2.0.63/srclib/apr/libapr-0.la -lrt -lm -lcrypt -lnsl -lpthread -ldl
/usr/lib/libexpat.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[2]: *** [htpasswd] Error 1
make[2]: Leaving directory `/usr/local/directadmin/customapache/httpd-2.0.63/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/customapache/httpd-2.0.63/support'
make: *** [all-recursive] Error 1
*** The make has failed, do you want to try to make again? (y,n):
I already have the 32 and 64 bit of these packages:
# rpm -qa | grep expat
expat-1.95.8-8.2.1
expat-1.95.8-8.2.1
expat-devel-1.95.8-8.2.1
expat-devel-1.95.8-8.2.1
I had searched the forums I found someone suggesting to enable 64libs in configure.apache_2, which I have it as
--enable-lib64
If I do build all, it will compile the default apache 1 without errors, but configtest shows
# apachectl configtest
Syntax error on line 96 of /etc/httpd/conf/httpd.conf:
Invalid command 'Order', perhaps mis-spelled or defined by a module not included in the server configuration
Line 96 has this:
<Directory "/var/www/html">
Options -Indexes FollowSymLinks
AllowOverride None
Order allow,deny #line 96
Allow from all
</Directory>
If I comment that, it will say Invalid Command Allow on Line 97
All my sites in this server are down now.
Please suggest what might I be missing or doing wrong.
Thanks,