RE: libsane.so.0 error.

David Mosberger-Tang (David.Mosberger@acm.org)
Wed, 8 Oct 1997 22:06:45 -0700

>>>>> On Tue, 07 Oct 1997 21:37:57 +0200 (MET DST), Henning Sauer <hsauer@marnie.teuto.de> said:

Henning> On 07-Oct-97 Ricardo Muggli wrote:

>> Just in case this is distribution specific I am running Debian
>> GNU/Linux 1.3.1
>>
Henning> I had the same problem on my RedHat 4.2 Linux system!

The following patch should fix the problem (you'll have to rerun
configure and make install after applying it). Comments welcome.

--david

--
--- backend/Makefile.in	Wed Oct  8 22:00:19 1997
+++ backend/Makefile.in~	Sat Oct  4 20:52:07 1997
@@ -89,14 +89,10 @@
 	    || exit 1; \
 	done
 	@$(LIBTOOL) $(MINST) --finish $(libdir)
-	rm -f $(libdir)/libsane.a $(libdir)/libsane.so \
-		$(libdir)/libsane.so.$(V_MAJOR)*
-	ln -s libsane-dll.a $(libdir)/libsane.a
+	rm -f $(libdir)/libsane.so.$(V_MAJOR)
 	ln -s libsane-dll.so $(libdir)/libsane.so
-	@cd $(libdir) && for n in libsane-dll.so.$(V_MAJOR)*; do \
-	  nn=`echo $$n | sed s,^libsane-dll,libsane,`; \
-	  ln -s $$n $$nn; \
-	done || exit 1
+	rm -f $(libdir)/libsane.a
+	ln -s libsane-dll.a $(libdir)/libsane.a
 	@list="$(CONFIGS)"; for cfg in $$list; do \
 	  if test ! -r $(srcdir)/$${cfg}; then continue; fi; \
 	  if test -f $(configdir)/$${cfg}; then \

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com