[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    Bug#2581: libtool on KDE 2.0 snapshots is broken (again)
From:       Daniel Kalchev <daniel () digsys ! bg>
Date:       2000-01-28 19:17:06
[Download RAW message or body]

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 ---

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic