libtool

Thomas De Contes d.l.tDeContes at free.fr
Tue Jan 16 17:02:59 PST 2007


Le mercredi, 17 jan 2007, à 00:50 Europe/Paris, Timothy Brown a écrit :

> On Wed, Jan 17, 2007 at 12:28:28AM +0100, Thomas De Contes wrote:
>
>> what does exactly
>> port install libtool
>> ?
>
> It installs the GNU libtool.

does it make some things diferent than the apple version ?

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

(it is /usr/bin/libtool, since 
/Users/thomas/bin/autoinstall/macports/bin/libtool does not exist)

thomas% libtool --version
libtool: unknown option character `-' in: --version
Usage: libtool -static [-] file [...] [-filelist listfile[,dirname]] 
[-arch_only arch] [-sacLT]
Usage: libtool -dynamic [-] file [...] [-filelist listfile[,dirname]] 
[-arch_only arch] [-o output] [-install_name name] 
[-compatibility_version #] [-current_version #] [-seg1addr 0x#] 
[-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] [-seg_addr_table 
<filename>] [-seg_addr_table_filename <file_system_path>] [-all_load] 
[-noall_load]
thomas% libtool -v
libtool: no output file specified (specify with -o output)
Usage: libtool -static [-] file [...] [-filelist listfile[,dirname]] 
[-arch_only arch] [-sacLT]
Usage: libtool -dynamic [-] file [...] [-filelist listfile[,dirname]] 
[-arch_only arch] [-o output] [-install_name name] 
[-compatibility_version #] [-current_version #] [-seg1addr 0x#] 
[-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] [-seg_addr_table 
<filename>] [-seg_addr_table_filename <file_system_path>] [-all_load] 
[-noall_load]
thomas%

is it right ?? :-/


> What are you trying to make?

gnat (ada compiler)

do you want i give you the instructions to try on your computer ?


-- 
Mon CV : http://tDeContes.hd.free.fr/divers/emploi/




More information about the macports-users mailing list