Hello,

After my latest dist-upgrade && cvs update, I found it necessary to
apply the attached patch to d-i CVS for mklibs to run correctly.
Without it, mklibs fails with the error,

  Library not found: libdiscover.so.1 in path: /lib/ : /usr/lib/ : /usr/X11R6/lib/ : 
./tmp/cdrom/tree//usr/lib/cdebconf : ./tmp/cdrom/tree//usr/lib/cdebconf : 
./tmp/cdrom/tree//usr/lib/cdebconf : ./tmp/cdrom/tree//usr/lib/cdebconf : 
./tmp/cdrom/tree//usr/lib/cdebconf : ./tmp/cdrom/tree//usr/lib/cdebconf : 
./tmp/cdrom/tree//usr/lib/cdebconf

I'd appreciate it if someone could review the patch and let me know if
I'm missing some other explanation for mklibs' behavior.

Thanks,
-- 
Steve Langasek
postmodern programmer
Index: build/Makefile
===================================================================
RCS file: /cvs/debian-boot/debian-installer/build/Makefile,v
retrieving revision 1.198
diff -u -r1.198 Makefile
--- build//Makefile     22 Aug 2003 15:10:46 -0000      1.198
+++ build//Makefile     24 Sep 2003 02:14:45 -0000
@@ -371,7 +371,7 @@
 
        # Library reduction.
        mkdir -p $(TREE)/lib
-       $(MKLIBS) -v -d $(TREE)/lib --root=$(TREE) `find $(TEMP) -type f -perm +0111 
-o -name '*.so'`
+       $(MKLIBS) -L $(TREE)/lib:$(TREE)/usr/lib -v -d $(TREE)/lib --root=$(TREE) 
`find $(TEMP) -type f -perm +0111 -o -name '*.so'`
 
        # Add missing symlinks for libraries
        # (Needed for mklibs.py)

Attachment: signature.asc
Description: Digital signature

Reply via email to