title: Unable to start apache with SVN module
body: <p>Getting error while starting apache + SVN</p>
  
  <p>Below is the error - </p>
  
  <pre><code>-bash-4.1$ ./apachectl configtest
  httpd: Syntax error on line 149 of /ngs/app/istsvnp/httpd/conf/httpd.conf: Cannot load modules/mod_dav_svn.so into server: /ngs/app/istsvnp/httpd/modules/mod_dav_svn.so: undefined symbol: svn_error_purge_tracing
  </code></pre>
  
  <p>When checking for shared library dependencies for mod_dav_svn.so - </p>
  
  <pre><code>bash-4.1$ ldd -r /ngs/app/istsvnp/httpd/modules/mod_dav_svn.so
  
              linux-vdso.so.1 =&gt;  (0x00007fff9f7ff000)
              libsvn_repos-1.so.0 =&gt; /usr/lib64/libsvn_repos-1.so.0 (0x00007f42a4b58000)
              libsvn_fs-1.so.0 =&gt; /usr/lib64/libsvn_fs-1.so.0 (0x00007f42a4950000)
              libsvn_fs_fs-1.so.0 =&gt; /usr/lib64/libsvn_fs_fs-1.so.0 (0x00007f42a4728000)
              libsvn_fs_util-1.so.0 =&gt; /usr/lib64/libsvn_fs_util-1.so.0 (0x00007f42a4526000)
              libsvn_delta-1.so.0 =&gt; /usr/lib64/libsvn_delta-1.so.0 (0x00007f42a431a000)
              libsvn_subr-1.so.0 =&gt; /usr/lib64/libsvn_subr-1.so.0 (0x00007f42a40c9000)
              libaprutil-1.so.0 =&gt; /ngs/app/istsvnp/library/lib/libaprutil-1.so.0 (0x00007f42a3ea4000)
              libexpat.so.0 =&gt; /ngs/app/istsvnp/library/lib/libexpat.so.0 (0x00007f42a3c7c000)
              libapr-1.so.0 =&gt; /ngs/app/istsvnp/library/lib/libapr-1.so.0 (0x00007f42a3a4a000)
              librt.so.1 =&gt; /lib64/librt.so.1 (0x00007f42a3842000)
              libcrypt.so.1 =&gt; /lib64/libcrypt.so.1 (0x00007f42a360a000)
              libz.so.1 =&gt; /lib64/libz.so.1 (0x00007f42a33f4000)
              libdl.so.2 =&gt; /lib64/libdl.so.2 (0x00007f42a31f0000)
              libpthread.so.0 =&gt; /lib64/libpthread.so.0 (0x00007f42a2fd2000)
              libc.so.6 =&gt; /lib64/libc.so.6 (0x00007f42a2c3e000)
              libsvn_fs_base-1.so.0 =&gt; /usr/lib64/libsvn_fs_base-1.so.0 (0x00007f42a2a0f000)
              libsqlite3.so.0 =&gt; /usr/lib64/libsqlite3.so.0 (0x00007f42a277f000)
              libexpat.so.1 =&gt; /ngs/app/istsvnp/Libexpat/lib/libexpat.so.1 (0x00007f42a2557000)
              libdb-4.7.so =&gt; /lib64/libdb-4.7.so (0x00007f42a21e3000)
              /lib64/ld-linux-x86-64.so.2 (0x00007f42a4fb9000)
              libfreebl3.so =&gt; /lib64/libfreebl3.so (0x00007f42a1f6b000)
              undefined symbol: ap_filter_flush   (/ngs/app/istsvnp/httpd/modules/mod_dav_svn.so)
              undefined symbol: svn_error_purge_tracing   (/ngs/app/istsvnp/httpd/modules/mod_dav_svn.so)
              undefined symbol: svn_repos_fs_change_rev_prop4 (/ngs/app/istsvnp/httpd/modules/mod_dav_svn.so)
              undefined symbol: svn_repos__fs_type    (/ngs/app/istsvnp/httpd/modules/mod_dav_svn.so)
              undefined symbol: dav_register_provider (/ngs/app/istsvnp/httpd/modules/mod_dav_svn.so)
              undefined symbol: ap_fputstrs   (/ngs/app/istsvnp/httpd/modules/mod_dav_svn.so)
              ......
              ......
  </code></pre>
  
  <p>I can start apache with same configuration in a test box where I have installed Apache + SVN without any issue.</p>
  
  <p>But copying all necessary binary files to a Production box and starting apache over there creating the above mentioned error.</p>
  
  <p>I have verified that there is no issue with LD_LIBRARY_PATH and all the contents of Test box is copied to production box by creating tar file and doing sftp.</p>
  
  <p>Even though I deleted all Apache + SVN reference from production box and installed Apache + SVN modules afresh in Test box and copied the binaries once again from Test box to production box, same error is occurring.</p>
  
  <p>But I can start apache module only without SVN modules (i.e by removing mod_dav_svn.so and mod_authz_svn.so from httpd.conf)</p>
  
  <p>Below is the way I have installed SVN in Test box.</p>
  
  <pre><code>tar jxf subversion-1.8.11.tar.bz2
  cd subversion-1.8.11           
  
  ./configure --prefix=/ngs/app/apstoold/ApacheAndSVN/subversion --disable-static --with-expat=/ngs/app/apstoold/ApacheAndSVN/Libexpat/include:/ngs/app/apstoold/ApacheAndSVN/Libexpat:lib --with-apxs=/ngs/app/apstoold/ApacheAndSVN/httpd/bin/apxs --with-apr=/ngs/app/apstoold/ApacheAndSVN/library/bin/apr-1-config --with-apr-util=/ngs/app/apstoold/ApacheAndSVN/library/bin/apu-1-config
  
  make
  make install
  </code></pre>
  
  <p>I have the following versions installed.</p>
  
  <pre><code>Server: Apache/2.4.12 (Unix) OpenSSL/1.0.2 SVN/1.8.11 PHP/5.5.21 
  </code></pre>
  
  <p>Can someone please help me out.</p>
  
  <p>Thanks</p>