bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libtool-1.3.5 patches


From: Gary V . Vaughan
Subject: Re: libtool-1.3.5 patches
Date: Sat, 30 Jun 2001 01:56:28 +0100

On Wednesday 06 June 2001  8:04 pm, Dennis Haag wrote:
> First of all, thanks for your work to get GNU going on Darwin.
>
> Secondly, even though I work as a contractor at Apple this communication is
> strictly personal and in no way reflects any official opinion, statement,
> or endorsement by Apple Computer, Inc. yada yada yada....
>
> I applied the libtool-1.3.5 patch to get libtool to work with Darwin/Mac OS
> X (10.0.3). There was a slight problem. It would detect that it could
> create shared libraries but then fail with the message:
>
> *** Warning: the command libtool uses to detect shared libraries,
> *** /usr/bin/file, produces output that libtool cannot recognize.
> *** The result is that libtool may fail to recognize shared libraries
> *** as such.  This will affect the creation of libtool libraries that
> *** depend on shared libraries, but programs linked with such libtool
> *** libraries will work regardless of this problem.  Nevertheless, you
> *** may want to report the problem to your system manager and/or to
> *** address@hidden
>
> The ltconfig is checking a file that at least in Mac OS X 10.0.3 is a
> symlink and not a dynamic library, so the test (if eval $file_magic_cmd
> \$file_magic_test_file 2> /dev/null | egrep "$file_magic_regex") failed. I
> changed it to point to the file instead of the symlink and it worked
> beautifully.

Thanks for the patch, but this is already fixed in libtool-1.4 and newer.  In 
fact we have to be careful to retain the old file for darwin1.2 and older 
where the dylib did not exist yet, and libtool-1.3.5 actually did the right 
thing.

Cheers,
        Gary.
-- 
  ())_.  Gary V. Vaughan     gary@(oranda.demon.co.uk|gnu.org)
  ( '/   Research Scientist  http://www.oranda.demon.co.uk        ,_())____
  / )=   GNU Hacker          http://www.gnu.org/software/libtool   \'      `&
`(_~)_   Tech' Author        http://sources.redhat.com/autobook    =`---d__/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]