Since this might be an apxs issue I'm forwarding this here.
Any clues?

Sander

-----Original Message-----
From: Philip Martin [mailto:pm@localhost]On Behalf Of Philip Martin
Sent: 12 April 2002 16:03
To: [EMAIL PROTECTED]
Subject: shared dav_svn is not relinking


Hi

I notice that the installed libmod_dav_svn.so module is linked to
subversion libraries in my build tree and not to the installed
libraries.  Within the build tree, libmod_dav_svn.so is linked against
libraries in the build tree, just like all the other subversion
libraries. However once installed the subversion libraries are linked
against the installed libraries, but libmod_dav_svn.so remains linked
against the build tree.

The file subversion/mod_dav_svn/libmod_dav_svn.la contains a
relink_command, but this does not appear to get executed when
libmod_dav_svn.so is installed.  The module is installed by calling
apache's 'apxs -i -a', this in turn calls apache's instdso.sh, and
this simply copies the library from the build tree into the module
directory. Quoting from instdso.sh

  #!/bin/sh
  #
  # instdso.sh - install Apache DSO modules
  #
  # we use this instead of libtool --install because:
  # 1) on a few platforms libtool doesn't install DSOs exactly like we'd
  #    want (weird names, doesn't remove DSO first)
  # 2) we never want the .la files copied, so we might as well copy
  #    the .so files ourselves

it appears that not using libtool is deliberate.

If I execute the relink_command by hand I get a shared library that is
correctly linked against the installed Subversion libraries.

Does anyone else see this problem? How is it supposed to work? Is this
an Apache bug?

I am using apache-2.0.35 and libtool-1.4.2 on Linux.

-- 
Philip

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Reply via email to