libtool

Timothy Brown macports at tbrown.freeshell.org
Tue Jan 16 15:50:25 PST 2007


On Wed, Jan 17, 2007 at 12:28:28AM +0100, Thomas De Contes wrote:
> hi :-)

Hello. Just a quick response, it might not be all that helpful...

> what does exactly
> port install libtool
> ?

It installs the GNU libtool.

> 
> while making a tool, i got the error
> /usr/bin/libtool: unknown option character `m' in: -macosx_version_min
> 
> on the list GNAT-OSX at hermes.gwu.edu, someone said me "It looks like it 
> is using the wrong libtool. Apple has its own. If there is a libtool in 
> the path that isn't the Apple version then you will have problems 
> creating dynamic libraries."
> but
> thomas% which libtool
> /usr/bin/libtool
> so it seems to be the apple's one

Yes this is correct. This is Apple's one.

> and after have run "port install libtool", it's the same(the error and 
> the path), and there is no libtool binary in the bin folder of macports
> 
> so, what should i do ?

It is installed, however it is installed as glibtool. 

> ps :
> how to know the version of the installed libtool ?

I have it installed, and to find the version:

m1:$ port installed | grep libtool
  libtool @1.5.22_0 (active)

m1:$ /opt/local/bin/glibtool --version
ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)

Sorry I can't help with your error. What are you trying to make?

Regards,
Timothy



More information about the macports-users mailing list