[Lazarus] Lazarus crashes on launch - Ubuntu

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Mar 20 11:48:05 CET 2019


On Wed, 20 Mar 2019 18:32:47 +0930
Mick Arundell via lazarus <lazarus at lists.lazarus-ide.org> wrote:

>[...]
> I've recently install Lazarus 1.8.2, fpc 4.0.4 using normal apt-get
> routines

There is no fpc 4.0.4. Last release is 3.0.4. fpc 3.2.0 is in the
making.

 
> Ubuntu is Linux wildone 4.15.0-46-generic #49-Ubuntu SMP Wed Feb 6 
> 09:33:07 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
> 
> On launch an Access Violation message box jumps up "Access violation, 
> Press OK to ignore and risk data corruption. Press Abort to kill the 
> program"
> 
> Can anyone diagnose the problem for me or tell me how to find the
> fault please?
> 
> I inspected /etc/lazarus/environmentoptions.xml and found that this
> set of directories do not exist
> 
>          <Item1 Value="/usr/local/bin/fpc"/>
>          <Item2 Value="/usr/bin/fpc"/>
>          <Item3 Value="/opt/fpc/fpc"/>

These are common paths of fpc. The IDE searches them only if it
cannot find fpc.

 
> I have already removed and reloaded several times. What should I do
> next?

Uninstall this old lazarus and use our deb packages from sourceforge:

https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd64%20DEB/Lazarus%202.0.0/

Mattias


More information about the lazarus mailing list