<br><br><div class="gmail_quote">On Fri, Feb 20, 2009 at 12:38 PM, m. allan noah <span dir="ltr"><<a href="mailto:kitno455@gmail.com">kitno455@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'm not sure, but i think the build system used to overwrite all the<br>
.so and .so.1 symlinks. It no longer does. I think this is a useful<br>
feature, because you can tell users just to build from source and they<br>
will be using the new version. Otherwise, they have to uninstall the<br>
old version, and this can get hairy with novice users and helpful<br>
package managers.<br>
<br>
</blockquote><div><br>You mean during install phase, right?<br><br>When backend was converted
to automake, it uses the standard automake support to install
libraries. That does install symlinks on fresh install.<br><br>
I think your point is that now if a user installs, libsane.so.1.1.0 on
top of a previous libsane.so.1.0.19 install then libsane.so symlink
still points to libsane.so.1.0.19?<br><br>I've
not tried above yet but seems reasonable libtool behavior to me. I'll
read up on libtool and see if they have an "opinion" on this.<br>
<br>I didn't port over the following logic from old "install-be" target
but it must have been doing what you said (move symlink to
libsane.so.1.1.0). The comment suggested that libtool simply wasn't
working but since it was I didn't bother porting over... <br>
<br>If people agree with old behavior, I can add it back. Old logic
seems dangerious if we ever have a libsane.so.2.0.0 (as apposed to
libsane2.so.0.0.0). We don't want to move libsane.so to
libsane.so.2.0.0 blindly or else will break a lot of applications that
were working fine. But since we are not at that point yet, no issue to
restore it. Moving libsane.so.x to lastest version of libsane.so.x.y.z
seems safe.<br>
<br> @# Create library links manually. Actually this is libtool's job but it<br>doesn't<br> @# seem to work on some platforms.<br> @# Assume the dll name without any versions is last<br> @if test "$(USE_LINKS)" = "yes" ; then \<br>
dllend=`../tools/libtool-get-<div>dll-ext <a href="http://libsane-dll.la/" target="_blank">libsane-dll.la</a>`; \<br> list="$(ALL_BACKENDS)"; cd $(DESTDIR)$(libsanedir) && for be in $$list<br>
; do \<br> file=libsane-$${be}.$$dllend.$(V_MAJOR); \<br>
lib=`grep dlname= libsane-$${be}.la | cut -f2 -d"'"`; \<br> if test ! -f $${file} -a -n "$${lib}"; then \<br> $(LN_S) $${lib} $${file}; \<br> fi; \<br>
done; \<br> fi<br><br><br>Chris</div> </div></div><br>