[Lazarus] Startlazarus starting "wrong" Lazarus

Giuliano Colla giuliano.colla at fastwebnet.it
Tue Jan 15 16:00:13 CET 2013


On 01/15/2013 10:46 AM, Mark Morgan Lloyd wrote:
> Giuliano Colla wrote: 

> [..]
>> I can't possibly have multiple startlazarus, because I don't have 
>> more than one installation. I just have one lazarus installation, and 
>> a custom copy in my home directory.
>
> Darn strange...
>
> /usr/local/share$ find . -executable -name startlazarus |grep -v MacOS
> ./lazarus-1.0/startlazarus
> ./lazarus-1.0-rc1/startlazarus
> ./lazarus-trunk+2.6.2/startlazarus
> ./lazarus-trunk+2.6.0/startlazarus
>
That's because you're keeping a number of different Lazarus versions, 
like I do on my development platforms.

But in a deployment platform, where there's just one Lazarus what I see is:

  [colla at localhost ~]$ which startlazarus
/usr/bin/startlazarus

and:

[colla at localhost ~]$ locate startlazarus
/usr/bin/startlazarus
/usr/lib/lazarus/startlazarus
/usr/lib/lazarus/ide/startlazarus.ico
/usr/lib/lazarus/ide/startlazarus.lpi
/usr/lib/lazarus/ide/startlazarus.lpr
/usr/lib/lazarus/ide/startlazarus.res
/usr/lib/lazarus/install/man/man1/startlazarus.1
/usr/lib/lazarus/lazarus.app/Contents/Resources/startlazarus.app
/usr/lib/lazarus/lazarus.app/Contents/Resources/startlazarus.app/Contents
/usr/lib/lazarus/lazarus.app/Contents/Resources/startlazarus.app/Contents/Info.plist
/usr/lib/lazarus/lazarus.app/Contents/Resources/startlazarus.app/Contents/MacOS
/usr/lib/lazarus/lazarus.app/Contents/Resources/startlazarus.app/Contents/PkgInfo
/usr/lib/lazarus/lazarus.app/Contents/Resources/startlazarus.app/Contents/Resources
/usr/lib/lazarus/lazarus.app/Contents/Resources/startlazarus.app/Contents/MacOS/startlazarus
/usr/lib/lazarus/units/i386-linux/gtk2/startlazarus.o
/usr/lib/lazarus/units/i386-linux/gtk2/startlazarus.or
/usr/lib/lazarus/units/i386-linux/gtk2/startlazarus.res
/usr/share/man/man1/startlazarus.1.gz

where the only executable is /usr/lib/lazarus/startlazarus, and 
/usr/bin/startlazarus is nothing but a symlink to the same.

Giuliano





More information about the Lazarus mailing list