From kde-bugs-dist Fri Jan 28 19:17:06 2000 From: Daniel Kalchev Date: Fri, 28 Jan 2000 19:17:06 +0000 To: kde-bugs-dist Subject: Bug#2581: libtool on KDE 2.0 snapshots is broken (again) X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=94908711630376 Hello, There are some errors in libtool, as found in the current KDE 2.0 snapshots (20000128 at least), that fails to recognize shared libraries at least on BSD/OS 4.x systems - but looking at the problem makes one think this will be problem on most systems anyway (unless tools such as egrep behave in strange ways). The regex used to find out if an dependent library is shared is: deplibs_check_method="file_magic ELF 0-90-9*-bit MLSB (shared object|dynamic lib)" However, at least on BSD/OS this is invalid regex and the proper would be: deplibs_check_method="file_magic ELF [0-9][0-9]-bit LSB (shared object|dynamic lib)" Also the file_magic_cmd is not always set using the $FILE variable, so it is better to set it explicitly. Regards, Daniel PS: patch to libtool --- cut here --- *** libtool Fri Jan 28 20:47:05 2000 --- ../kdelibs/libtool Fri Jan 28 21:10:07 2000 *************** *** 189,195 **** striplib="" # Method to check whether dependent libraries are shared objects. ! deplibs_check_method="file_magic ELF 0-90-9*-bit MLSB (shared object|dynamic lib)" # Command to use when deplibs_check_method == file_magic. ! file_magic_cmd="\$FILE" --- 189,195 ---- striplib="" # Method to check whether dependent libraries are shared objects. ! deplibs_check_method="file_magic ELF [0-9][0-9]-bit LSB (shared object|dynamic lib)" # Command to use when deplibs_check_method == file_magic. ! file_magic_cmd="file" --- cut here ---