Subject: pkg/10106: libtool doesn't know NetBSD/ELF supports inter-library dependencies
To: None <>
From: None <>
List: netbsd-bugs
Date: 05/12/2000 20:53:09
>Number:         10106
>Category:       pkg
>Synopsis:       libtool doesn't know NetBSD/ELF supports inter-library dependencies
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 12 20:54:00 PDT 2000
>Originator:     Dave Sainty
>Release:        20000513
Dynamic Technology Services and Products Ltd (NZ)
System: NetBSD 1.4R NetBSD 1.4R (TEQUILA) #3: Wed Feb 16 20:01:31 NZDT 2000 i386

	The libtool package does not know how to tell on NetBSD whether
	inter-library dependencies will work or not.  This can lead to
	sub-optimal behaviour in some cases.
	Notice warnings about inter-library dependencies and workarounds when
	compiling some programs (in my case, 'oms').
	Add this patch to devel/libtool/patches (and update sums).  Basically
	the same as the FreeBSD test.

---	Sat May 13 15:32:45 2000
+++	Sat May 13 15:29:47 2000
@@ -1988,6 +1988,9 @@
     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
     dynamic_linker='NetBSD (a.out)'
+    deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
+    file_magic_cmd=/usr/bin/file
+    file_magic_test_file=`echo /usr/lib/*`
     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
     dynamic_linker='NetBSD ld.elf_so'