Question : Unable to load mod_dav modules in apache on AIX5.3

Hi

I'm trying to install Subversion 1.4.4 on AIX 5.3 and have compiled ARP, ARP-UTIL, APACHE and Subversion.
Apache was configured with the following options:
env CC=cc ./configure --prefix=$base_dir/apache2.2 --with-apr=$base_dir/apache2.2/bin/apr-1-config --with-apr-util=$base_dir/apache2.2/bin/apu-1-config --enable-static=no --enable-shared=yes --enable-so --enable-dav --enable-dav-fs --enable-deflate --enable-rewrite --with-berkeley-db=/$base_dir/BerkeleyDB4.4.2

In httpd.conf file I have the following lines:
LoadModule dav_svn_module     modules/mod_dav_svn.so
LoadModule authz_svn_module   modules/mod_authz_svn.so

When I start i get this error:
y26u001:/u0/svn/apache2.2 # ./bin/apachectl start
httpd: Syntax error on line 53 of /u0/svn/apache2.2/conf/httpd.conf: Cannot load /u0/svn/apache2.2/modules/mod_dav_svn.so into server: rtld: 0712-001 Symbol dav_new_error_tag was referenced\n      from module /u0/svn/apache2.2/modules/mod_dav_svn.so(), but a runtime definition\n      of the symbol was not found.\nrtld: 0712-001 Symbol dav_push_error was referenced\n      from module /u0/svn/apache2.2/modules/mod_dav_svn.so(), but a runtime definition\n      of the symbol was not found.

...and so it continues with more symbols

If I remove these LoadModule lines from httpd.conf Apache starts fine.

Have anyone resolved this problem before?

Answer : Unable to load mod_dav modules in apache on AIX5.3

Sorry for the very long delay in responding here!!

gheist - the order of the module didn't affect anything - not for this problem at least.

I actually found the answer to why Apache didn't work properly:
As it turned out I found out that since I had used IBMs own C compiler did not manage to link properly and that if I replaced CC=cc with CC=gcc (and had installed the linux gcc rpm from the IBM linux toolbox) then Apache compiled happily and also started without any errors when loading the above mentioned modules.

Regards,
KMS

Random Solutions  
 
programming4us programming4us