Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2026-02

the error of Lazarus 4.4 32 bit does not show with version 3.2.2

12 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

duilio foschi

Hi Martin,

nothing worked.

I tried to upload the error list, but the moderator blocked the mail: too heavy.

I tried to send a smaller mail, than a much smaller one...but it seems that the moderator put me into a black list using the mail subject.

I installed version 3.2.2 and it works ok.

Definitely something is wrong in version 4.4.

If you want to check, I uploaded the error list you asked for in this google document:
https://docs.google.com/document/d/1oyGXtnA0l_NyDj-_yH-oREQliW9s3sAdjSiuio1bWFQ/edit?usp=sharing

In the while, version 3.2.2 is just fine for me.

Thank you

Peppe

Reply by email

Martin Frb
to duilio foschi
duilio foschi wrote 12 lines
Hi Martin, nothing worked. I tried to upload the error list, but the moderator blocked the mail: too heavy. I tried to send a smaller mail, than a much smaller one...but it seems that the moderator put me into a black list using the mail subject. I installed version 3.2.2 and it works ok. Definitely something is wrong in version 4.4.

3.4 is the Lazarus version

3.2.2 is an FPC version => Do you mean "Lazarus 3.2" (only one .2)?

Show quoted text 6 lines
If you want to check, I uploaded the error list you asked for in this google document: https://docs.google.com/document/d/1oyGXtnA0l_NyDj-_yH-oREQliW9s3sAdjSiuio1bWFQ/edit?usp=sharing In the while, version 3.2.2 is just fine for me.

I noticed that the following path is not listed as being searched. ? ?C:\lazarus\fpc\3.2.2\units\i386-win32\fcl-db

The config is there (listed in the messages)

Handling option "-FuC:\lazarus\fpc\3.2.2/units/i386-win32/*"

So my guess is that this folder is missing in your install.

I just deleted my 32 bit 4.4 install, and installed it again. Using the installer:
? ? lazarus-4.4-fpc-3.2.2-win32.exe

It does create the above path, and the file "db.ppu" is in that path.

You can test it, without having to remove your existing install, by clicking "Create a new secondary installation" when the installer asks for the path.
And then install into C:\lazarus2nd
And set the config to C:\lazarus2nd\conf
So it will not interfere with you other install.

If the file is missing
- compare the checksum of your download exe
https://www.lazarus-ide.org/index.php?page=checksums#4_4 ? Either with a local checksum tool, or uploading to e.g. virustotal ? It should also be code signed "Stichting Programming Free Pascal & Lazarus Foundation"
- Ensure your local anti-virus has not deleted the files (albeit, I never saw Window defender taking a whole folder, that would be absolutely new)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20260201/f7233012/attachment.htm>

Reply by email

duilio foschi
to Martin Frb

Hi Martin,

1. I did the checksum of my install and it matches the official string

certutil -hashfile lazarus-4.4-fpc-3.2.2-win32.exe MD5 MD5 hash of lazarus-4.4-fpc-3.2.2-win32.exe:
415fa84bce013a8c4bef13d44ce29667

MD5
415FA84BCE013A8C4BEF13D44CE29667 lazarus-4.4-fpc-3.2.2-win32.exe

2. I installed v. 4.4 as a 2nd install and could compile ok an empty form

3. I dragged a TIBConnection into the form and it compiled ok (already a good improvement)

4. I tried to compile a simple console program that uses IBConnection and I get this error:
sqldb.pp(8,46) Error: Can't find unit SQLDB used by IBConnection and unit sqldb.pas is opened :)
the error list is:
Hint: (11030) Start of reading config file
C:\lazarus4.4\fpc\3.2.2\bin\i386-win32\fpc.cfg
Hint: (11031) End of reading config file
C:\lazarus4.4\fpc\3.2.2\bin\i386-win32\fpc.cfg
Free Pascal Compiler version 3.2.2 [2025/11/08] for i386 Copyright (c) 1993-2021 by Florian Klaempfl and others (1002) Target OS: Win32 for i386
(3104) Compiling greenapiworker.lpr
(3104) Compiling greenworker_210187.pas
(3104) Compiling greenworker_210193.pas
(10001) PPU Loading C:\lazarus4.4\fpc\3.2.2\units\i386-win32\fcl-db\sqldb.ppu (10011) PPU Source: sqldb.pp not available
(10028) Recompiling SQLDB, checksum changed for
c:\lespommesdor\lib\i386-win32\db.ppu
C:\lazarus4.4\fpc\3.2.2\units\i386-win32\fcl-db\sqldb.ppu:sqldb.pp(8,46) Fatal: (10022) Can't find unit SQLDB used by IBConnection Fatal: (1018) Compilation aborted
Error: C:\lazarus4.4\fpc\3.2.2\bin\i386-win32\ppc386.exe returned an error exitcode

5. this info could be important, too:
C:\lazarus4.4\fpc\3.2.2\units\i386-win32\fcl-db>dir db.* Volume in drive C has no label.
Volume Serial Number is 8800-931D

Directory of C:\lazarus4.4\fpc\3.2.2\units\i386-win32\fcl-db

08-Nov-25 11:47 571.106 db.o
08-Nov-25 11:47 822.346 db.ppu

Going back to v. 3.2 :)
No problem with that one!

Thank you

Peppe

Show quoted text 64 lines
On 01/02/2026 21:38, duilio foschi via lazarus wrote: Hi Martin, nothing worked. I tried to upload the error list, but the moderator blocked the mail: too heavy. I tried to send a smaller mail, than a much smaller one...but it seems that the moderator put me into a black list using the mail subject. I installed version 3.2.2 and it works ok. Definitely something is wrong in version 4.4. 3.4 is the Lazarus version 3.2.2 is an FPC version => Do you mean "Lazarus 3.2" (only one .2)? If you want to check, I uploaded the error list you asked for in this google document: https://docs.google.com/document/d/1oyGXtnA0l_NyDj-_yH-oREQliW9s3sAdjSiuio1bWFQ/edit?usp=sharing In the while, version 3.2.2 is just fine for me. I noticed that the following path is not listed as being searched. C:\lazarus\fpc\3.2.2\units\i386-win32\fcl-db The config is there (listed in the messages) Handling option "-FuC:\lazarus\fpc\3.2.2/units/i386-win32/*" So my guess is that this folder is missing in your install. I just deleted my 32 bit 4.4 install, and installed it again. Using the installer: lazarus-4.4-fpc-3.2.2-win32.exe It does create the above path, and the file "db.ppu" is in that path. You can test it, without having to remove your existing install, by clicking "Create a new secondary installation" when the installer asks for the path. And then install into C:\lazarus2nd And set the config to C:\lazarus2nd\conf So it will not interfere with you other install. If the file is missing - compare the checksum of your download exe https://www.lazarus-ide.org/index.php?page=checksums#4_4 Either with a local checksum tool, or uploading to e.g. virustotal It should also be code signed "Stichting Programming Free Pascal & Lazarus Foundation" - Ensure your local anti-virus has not deleted the files (albeit, I never saw Window defender taking a whole folder, that would be absolutely new) -- _______________________________________________ lazarus mailing list https://lists.lazarus-ide.org/listinfo/lazarus

Reply by email

Martin Frb
to duilio foschi

OK, first of all
? ?"SomeUnit.pas not found"
is a sometimes misleading error.

in many cases FPC does indeed not see (and should not see) the pascal files. => It should use the precompiled ppu only.

E.g. if you use "forms" from the LCL => that is already compiled => only forms.ppu is needed.
- FPC is called only with the path of forms.ppu? BUT NOT of forms.pas
- if forms.ppu is damaged, then you get the error that the pas is not found.
? Because fpc doesn't stop with "forms.ppu is wrong" it tries to recompile it, it can't and the final error is forms.pas not found.

If forms.pas was changed, because its a Lazarus package, the IDE will build the LCL package,
- for that FPC will be made to see the pas files
- once build the IDE will build the rest, using forms.ppu only

-------------------------

fcl-db is FPC => the IDE never rebuilds it.
It works only with the db.ppu (and its other ppu). Fpc will never see those sources? (the IDE does, but FPC never).

But that is not the problem here.

duilio foschi wrote 21 lines
4. I tried to compile a simple console program that uses IBConnection and I get this error: sqldb.pp(8,46) Error: Can't find unit SQLDB used by IBConnection and unit sqldb.pas is opened :) the error list is: Hint: (11030) Start of reading config file C:\lazarus4.4\fpc\3.2.2\bin\i386-win32\fpc.cfg Hint: (11031) End of reading config file C:\lazarus4.4\fpc\3.2.2\bin\i386-win32\fpc.cfg Free Pascal Compiler version 3.2.2 [2025/11/08] for i386 Copyright (c) 1993-2021 by Florian Klaempfl and others (1002) Target OS: Win32 for i386 (3104) Compiling greenapiworker.lpr (3104) Compiling greenworker_210187.pas (3104) Compiling greenworker_210193.pas (10001) PPU Loading C:\lazarus4.4\fpc\3.2.2\units\i386-win32\fcl-db\sqldb.ppu (10011) PPU Source: sqldb.pp not available (10028) Recompiling SQLDB, checksum changed for c:\lespommesdor\lib\i386-win32\db.ppu C:\lazarus4.4\fpc\3.2.2\units\i386-win32\fcl-db\sqldb.ppu:sqldb.pp(8,46)

c:\lespommesdor\lib\i386-win32\db.ppu? should not exist. What is it? Why is it there?

If you tried to build the file with debug info, then there is a mistake somewhere, and it fails to use it.

If you did put "fcl-db" (the sources) manually into some path settings of the project => that also can screw it up. It gets you a 2nd ppu, and that means trouble.

Yes, it is possible to selectively rebuild some fpc files (e.g. for debugging)...
But, it needs to be done very careful, and the exact steps can vary on which file it is....
And if anything goes just 1% off plan => boom.

- sqldb depends on db.ppu
- if you rebuild db.pas to a new db.ppu then 99.99% you must also rebuild sqldb (and all other files that depend on it)

In theory you can make it so that you rebuild a single ppu only... In theory.

Reply by email

duilio foschi
to Martin Frb

the old version 3.2 works without problems.

I love it.

I will update when also the new version will work with no problems.

I am very grateful to the development team of Lazarus.

Thank you

Peppe

Il Lun 2 Feb 2026, 00:53 Martin Frb via lazarus <

Show quoted text 88 lines
ha scritto: OK, first of all "SomeUnit.pas not found" is a sometimes misleading error. in many cases FPC does indeed not see (and should not see) the pascal files. => It should use the precompiled ppu only. E.g. if you use "forms" from the LCL => that is already compiled => only forms.ppu is needed. - FPC is called only with the path of forms.ppu BUT NOT of forms.pas - if forms.ppu is damaged, then you get the error that the pas is not found. Because fpc doesn't stop with "forms.ppu is wrong" it tries to recompile it, it can't and the final error is forms.pas not found. If forms.pas was changed, because its a Lazarus package, the IDE will build the LCL package, - for that FPC will be made to see the pas files - once build the IDE will build the rest, using forms.ppu only ------------------------- fcl-db is FPC => the IDE never rebuilds it. It works only with the db.ppu (and its other ppu). Fpc will never see those sources (the IDE does, but FPC never). But that is not the problem here. On 01/02/2026 23:00, duilio foschi via lazarus wrote: > > 4. I tried to compile a simple console program that uses IBConnection > and I get this error: > sqldb.pp(8,46) Error: Can't find unit SQLDB used by IBConnection > and unit sqldb.pas is opened :) > the error list is: > Hint: (11030) Start of reading config file > C:\lazarus4.4\fpc\3.2.2\bin\i386-win32\fpc.cfg > Hint: (11031) End of reading config file > C:\lazarus4.4\fpc\3.2.2\bin\i386-win32\fpc.cfg > Free Pascal Compiler version 3.2.2 [2025/11/08] for i386 > Copyright (c) 1993-2021 by Florian Klaempfl and others > (1002) Target OS: Win32 for i386 > (3104) Compiling greenapiworker.lpr > (3104) Compiling greenworker_210187.pas > (3104) Compiling greenworker_210193.pas > (10001) PPU Loading C:\lazarus4.4\fpc\3.2.2\units\i386-win32\fcl-db\sqldb.ppu > (10011) PPU Source: sqldb.pp not available > (10028) Recompiling SQLDB, checksum changed for > c:\lespommesdor\lib\i386-win32\db.ppu > C:\lazarus4.4\fpc\3.2.2\units\i386-win32\fcl-db\sqldb.ppu:sqldb.pp(8,46) c:\lespommesdor\lib\i386-win32\db.ppu should not exist. What is it? Why is it there? If you tried to build the file with debug info, then there is a mistake somewhere, and it fails to use it. If you did put "fcl-db" (the sources) manually into some path settings of the project => that also can screw it up. It gets you a 2nd ppu, and that means trouble. Yes, it is possible to selectively rebuild some fpc files (e.g. for debugging)... But, it needs to be done very careful, and the exact steps can vary on which file it is.... And if anything goes just 1% off plan => boom. - sqldb depends on db.ppu - if you rebuild db.pas to a new db.ppu then 99.99% you must also rebuild sqldb (and all other files that depend on it) In theory you can make it so that you rebuild a single ppu only... In theory. -- _______________________________________________ lazarus mailing list https://lists.lazarus-ide.org/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20260202/309e78cb/attachment.htm>

Reply by email

Chavoux Luyt

According to the error list, it is searching for the last two units in the wrong place:

[0.168] (10000) Unitsearch: C:\lazarus\fpc\3.2.2\units\i386-win32\db.pp

[0.168] (10000) Unitsearch: C:\lazarus\fpc\3.2.2\units\i386-win32\db.pas

[0.168] (10000) Unitsearch: C:\lazarus\fpc\3.2.2\bin\i386-win32\db.pp

[0.168] (10000) Unitsearch: C:\lazarus\fpc\3.2.2\bin\i386-win32\db.pas

[0.168] C:\lazarus\packager\registration\fcllaz.pas(11,3) Fatal: (10022)
Can't find unit db used by fcllaz

HTH

Cheers,
Chavoux

+27 82 791 1384
www.newdevelopment.co.za
www.chavoux.com

Op Ma. 2 Feb. 2026 om 00:00 het
geskryf:

Show quoted text 402 lines
Send lazarus mailing list submissions to To subscribe or unsubscribe via the World Wide Web, visit https://lists.lazarus-ide.org/listinfo/lazarus or, via email, send a message with subject or body 'help' to You can reach the person managing the list at When replying, please edit your Subject line so it is more specific than "Re: Contents of lazarus digest..." Today's Topics: 1. error with Lazarus 4.4 32 bit / windows 10 (duilio foschi) 2. Re: error with Lazarus 4.4 32 bit / windows 10 (Martin Frb) 3. the error of Lazarus 4.4 32 bit does not show with version 3.2.2 (duilio foschi) 4. Re: the error of Lazarus 4.4 32 bit does not show with version 3.2.2 (Martin Frb) 5. Re: the error of Lazarus 4.4 32 bit does not show with version 3.2.2 (duilio foschi) ---------------------------------------------------------------------- Message: 1 Date: Sun, 1 Feb 2026 20:07:55 +0100 From: duilio foschi To: Lazarus mailing list Subject: [Lazarus] error with Lazarus 4.4 32 bit / windows 10 Message-ID: <CABkiRz8CmoW= > Content-Type: text/plain; charset="UTF-8" 1. brand new install 2. project/new project/application 3. drag a component TIBConnection into the form 4. compile 5. get the following error: fcllaz.pas(11,3) Error: Cannot find db used by fcllaz. Make sure all ppu files of a package are in its output directory. ppu in wrong directory=C:\lazarus\fpc\3.2.2\units\i386-win32\fcl-db\db.ppu.. Please instruct Peppe ------------------------------ Message: 2 Date: Sun, 1 Feb 2026 20:27:58 +0100 From: Martin Frb To: Subject: Re: [Lazarus] error with Lazarus 4.4 32 bit / windows 10 Message-ID: Content-Type: text/plain; charset="utf-8"; Format="flowed" On 01/02/2026 20:07, duilio foschi via lazarus wrote: > 1. brand new install > 2. project/new project/application > 3. drag a component TIBConnection into the form > 4. compile > 5. get the following error: > fcllaz.pas(11,3) Error: Cannot find db used by fcllaz. Make sure all > ppu files of a package are in its output directory. ppu in wrong > directory=C:\lazarus\fpc\3.2.2\units\i386-win32\fcl-db\db.ppu.. > > Please instruct > Strange, I am not 100% sure, but maybe some pointers. First of all, I tested the above steps (32 bits, on Win10 too) => compiled here. But anyway, please try the following steps - Make a backup of your lazarus.exe ? C:\lazarus\lazarus.exe - Start the IDE - Menu Tools > Configure Build lazarus - Check "Clean all" - Build - Restart the IDE Then try your project again. The above steps will do 2 things. 1) Rebuild the lazarus.exe => you don't need that ? (and in case something goes wrong you can put the backup back) 2) Remove all (most) incorrect ppu, and rebuild most others. ? If you have for whatever reason an incorrect ppu, then that should help. Alternatively: you can check if you have a db.ppu OUTSIDE the c:\lazarus\fpc\........ folder This can happen either, if you had an old install, or if you did change settings on the "path" page of the options. ----- If the above steps do not help: - Open Tools > Configure build Lazarus (again) - Custom option => add:? -va ? (remove that when you finished all the below) - Save (no need to build) - build your project - When the error happens, right click the messages windows, and from the "copy" sub-menu select "copy all and original messages" ? Either zip them, or send the last (bottom most) about 200 of them. -------------- next part -------------- An HTML attachment was scrubbed... URL: < http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20260201/a77c4f29/attachment-0001.htm > ------------------------------ Message: 3 Date: Sun, 1 Feb 2026 21:38:25 +0100 From: duilio foschi To: Lazarus mailing list Subject: [Lazarus] the error of Lazarus 4.4 32 bit does not show with version 3.2.2 Message-ID: < > Content-Type: text/plain; charset="UTF-8" Hi Martin, nothing worked. I tried to upload the error list, but the moderator blocked the mail: too heavy. I tried to send a smaller mail, than a much smaller one...but it seems that the moderator put me into a black list using the mail subject. I installed version 3.2.2 and it works ok. Definitely something is wrong in version 4.4. If you want to check, I uploaded the error list you asked for in this google document: https://docs.google.com/document/d/1oyGXtnA0l_NyDj-_yH-oREQliW9s3sAdjSiuio1bWFQ/edit?usp=sharing In the while, version 3.2.2 is just fine for me. Thank you Peppe ------------------------------ Message: 4 Date: Sun, 1 Feb 2026 22:16:50 +0100 From: Martin Frb To: Subject: Re: [Lazarus] the error of Lazarus 4.4 32 bit does not show with version 3.2.2 Message-ID: Content-Type: text/plain; charset="utf-8"; Format="flowed" On 01/02/2026 21:38, duilio foschi via lazarus wrote: > Hi Martin, > > nothing worked. > > I tried to upload the error list, but the moderator blocked the mail: too heavy. > > I tried to send a smaller mail, than a much smaller one...but it seems > that the moderator put me into a black list using the mail subject. > > I installed version 3.2.2 and it works ok. > > Definitely something is wrong in version 4.4. 3.4 is the Lazarus version 3.2.2 is an FPC version => Do you mean "Lazarus 3.2" (only one .2)? > If you want to check, I uploaded the error list you asked for in this > google document: > https://docs.google.com/document/d/1oyGXtnA0l_NyDj-_yH-oREQliW9s3sAdjSiuio1bWFQ/edit?usp=sharing > > In the while, version 3.2.2 is just fine for me. > I noticed that the following path is not listed as being searched. ? ?C:\lazarus\fpc\3.2.2\units\i386-win32\fcl-db The config is there (listed in the messages) Handling option "-FuC:\lazarus\fpc\3.2.2/units/i386-win32/*" So my guess is that this folder is missing in your install. I just deleted my 32 bit 4.4 install, and installed it again. Using the installer: ? ? lazarus-4.4-fpc-3.2.2-win32.exe It does create the above path, and the file "db.ppu" is in that path. You can test it, without having to remove your existing install, by clicking "Create a new secondary installation" when the installer asks for the path. And then install into C:\lazarus2nd And set the config to C:\lazarus2nd\conf So it will not interfere with you other install. If the file is missing - compare the checksum of your download exe https://www.lazarus-ide.org/index.php?page=checksums#4_4 ? Either with a local checksum tool, or uploading to e.g. virustotal ? It should also be code signed "Stichting Programming Free Pascal & Lazarus Foundation" - Ensure your local anti-virus has not deleted the files (albeit, I never saw Window defender taking a whole folder, that would be absolutely new) -------------- next part -------------- An HTML attachment was scrubbed... URL: < http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20260201/f7233012/attachment-0001.htm > ------------------------------ Message: 5 Date: Sun, 1 Feb 2026 23:00:13 +0100 From: duilio foschi To: Lazarus mailing list Subject: Re: [Lazarus] the error of Lazarus 4.4 32 bit does not show with version 3.2.2 Message-ID: <CABkiRz8kHgMDZVZjPHcW-vWzBQG= > Content-Type: text/plain; charset="UTF-8" Hi Martin, 1. I did the checksum of my install and it matches the official string certutil -hashfile lazarus-4.4-fpc-3.2.2-win32.exe MD5 MD5 hash of lazarus-4.4-fpc-3.2.2-win32.exe: 415fa84bce013a8c4bef13d44ce29667 MD5 415FA84BCE013A8C4BEF13D44CE29667 lazarus-4.4-fpc-3.2.2-win32.exe 2. I installed v. 4.4 as a 2nd install and could compile ok an empty form 3. I dragged a TIBConnection into the form and it compiled ok (already a good improvement) 4. I tried to compile a simple console program that uses IBConnection and I get this error: sqldb.pp(8,46) Error: Can't find unit SQLDB used by IBConnection and unit sqldb.pas is opened :) the error list is: Hint: (11030) Start of reading config file C:\lazarus4.4\fpc\3.2.2\bin\i386-win32\fpc.cfg Hint: (11031) End of reading config file C:\lazarus4.4\fpc\3.2.2\bin\i386-win32\fpc.cfg Free Pascal Compiler version 3.2.2 [2025/11/08] for i386 Copyright (c) 1993-2021 by Florian Klaempfl and others (1002) Target OS: Win32 for i386 (3104) Compiling greenapiworker.lpr (3104) Compiling greenworker_210187.pas (3104) Compiling greenworker_210193.pas (10001) PPU Loading C:\lazarus4.4\fpc\3.2.2\units\i386-win32\fcl-db\sqldb.ppu (10011) PPU Source: sqldb.pp not available (10028) Recompiling SQLDB, checksum changed for c:\lespommesdor\lib\i386-win32\db.ppu C:\lazarus4.4\fpc\3.2.2\units\i386-win32\fcl-db\sqldb.ppu:sqldb.pp(8,46) Fatal: (10022) Can't find unit SQLDB used by IBConnection Fatal: (1018) Compilation aborted Error: C:\lazarus4.4\fpc\3.2.2\bin\i386-win32\ppc386.exe returned an error exitcode 5. this info could be important, too: C:\lazarus4.4\fpc\3.2.2\units\i386-win32\fcl-db>dir db.* Volume in drive C has no label. Volume Serial Number is 8800-931D Directory of C:\lazarus4.4\fpc\3.2.2\units\i386-win32\fcl-db 08-Nov-25 11:47 571.106 db.o 08-Nov-25 11:47 822.346 db.ppu Going back to v. 3.2 :) No problem with that one! Thank you Peppe On Sun, Feb 1, 2026 at 10:16?PM Martin Frb via lazarus wrote: > > On 01/02/2026 21:38, duilio foschi via lazarus wrote: > > Hi Martin, > > nothing worked. > > I tried to upload the error list, but the moderator blocked the mail: too heavy. > > I tried to send a smaller mail, than a much smaller one...but it seems > that the moderator put me into a black list using the mail subject. > > I installed version 3.2.2 and it works ok. > > Definitely something is wrong in version 4.4. > > > 3.4 is the Lazarus version > > 3.2.2 is an FPC version => Do you mean "Lazarus 3.2" (only one .2)? > > If you want to check, I uploaded the error list you asked for in this > google document: > https://docs.google.com/document/d/1oyGXtnA0l_NyDj-_yH-oREQliW9s3sAdjSiuio1bWFQ/edit?usp=sharing > > In the while, version 3.2.2 is just fine for me. > > > > I noticed that the following path is not listed as being searched. > C:\lazarus\fpc\3.2.2\units\i386-win32\fcl-db > > The config is there (listed in the messages) > > Handling option "-FuC:\lazarus\fpc\3.2.2/units/i386-win32/*" > > So my guess is that this folder is missing in your install. > > I just deleted my 32 bit 4.4 install, and installed it again. > Using the installer: > lazarus-4.4-fpc-3.2.2-win32.exe > > It does create the above path, and the file "db.ppu" is in that path. > > You can test it, without having to remove your existing install, by clicking "Create a new secondary installation" when the installer asks for the path. > And then install into C:\lazarus2nd > And set the config to C:\lazarus2nd\conf > So it will not interfere with you other install. > > If the file is missing > - compare the checksum of your download exe > https://www.lazarus-ide.org/index.php?page=checksums#4_4 > Either with a local checksum tool, or uploading to e.g. virustotal > It should also be code signed "Stichting Programming Free Pascal & Lazarus Foundation" > - Ensure your local anti-virus has not deleted the files (albeit, I never saw Window defender taking a whole folder, that would be absolutely new) > > > > > -- > _______________________________________________ > lazarus mailing list > > https://lists.lazarus-ide.org/listinfo/lazarus ------------------------------ Subject: Digest Footer -- _______________________________________________ lazarus mailing list https://lists.lazarus-ide.org/listinfo/lazarus ------------------------------ End of lazarus Digest, Vol 217, Issue 2 ***************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20260202/eeaf1d68/attachment-0001.htm>

Reply by email

Martin Frb
to Chavoux Luyt
Chavoux Luyt wrote 15 lines
According to the error list, it is searching for the last two units in the wrong place: [0.168] (10000) Unitsearch: C:\lazarus\fpc\3.2.2\units\i386-win32\db.pp [0.168] (10000) Unitsearch: C:\lazarus\fpc\3.2.2\units\i386-win32\db.pas [0.168] (10000) Unitsearch: C:\lazarus\fpc\3.2.2\bin\i386-win32\db.pp [0.168] (10000) Unitsearch: C:\lazarus\fpc\3.2.2\bin\i386-win32\db.pas [0.168] C:\lazarus\packager\registration\fcllaz.pas(11,3) Fatal: (10022) Can't find unit db used by fcllaz

As I explained to the reporter. Its not about the pas. the error is caused when searching the ppu.

Errors with a wrong ppu, are triggering sub-errors about pas sources.? That is normal. That is expected. But there is no error with the pas. The pas should not be found in that case. (so its correct that it isn't)

Their is an outdated copy of db.ppu in his project dir. And that will break any version, except the one for which it was created. -------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20260202/e188e487/attachment.htm>

Reply by email

Chavoux Luyt

Hi everyone,

I am sure this must have been done before. I distinctly remember that at one stage there was a Desktop Environment written for Linux in Pascal (I assumed using Lazarus), but I cannot remember what it was called. And I assume that it had a Display Manager / Login Manager that was also written in Lazarus. Can anybody remember something similar or are there any code examples for writing a Display Manager in Lazarus? I plan to eventually write a full Desktop Manager using Castle Game Engine, but starting with a small Display Manager would be a good project to get my feet wet.

If anyone is interested to get involved with the actual programming, please contact me!

Cheers,
Chavoux

+27 82 791 1384
www.newdevelopment.co.za
www.chavoux.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20260202/cbf30820/attachment.htm>

Reply by email

duilio foschi
to duilio foschi: the old version 3.2 works without problems. I love it. I will update when also the new…

Hi Martin,

I want to apologize.

The problem was due to a very silly reason.

A few units of the 3.2 version were copied into a subdir of the work directory.

Once I deleted these unwelcome guests, v. 4.2 compiled flawlessly.

Sorry again. I?m hanging my head in shame

Peppe

Show quoted text 99 lines
the old version 3.2 works without problems. I love it. I will update when also the new version will work with no problems. I am very grateful to the development team of Lazarus. Thank you Peppe Il Lun 2 Feb 2026, 00:53 Martin Frb via lazarus ha scritto: > > OK, first of all > "SomeUnit.pas not found" > is a sometimes misleading error. > > in many cases FPC does indeed not see (and should not see) the pascal > files. => It should use the precompiled ppu only. > > E.g. if you use "forms" from the LCL => that is already compiled => only > forms.ppu is needed. > - FPC is called only with the path of forms.ppu BUT NOT of forms.pas > - if forms.ppu is damaged, then you get the error that the pas is not > found. > Because fpc doesn't stop with "forms.ppu is wrong" it tries to > recompile it, it can't and the final error is forms.pas not found. > > If forms.pas was changed, because its a Lazarus package, the IDE will > build the LCL package, > - for that FPC will be made to see the pas files > - once build the IDE will build the rest, using forms.ppu only > > ------------------------- > > fcl-db is FPC => the IDE never rebuilds it. > It works only with the db.ppu (and its other ppu). > Fpc will never see those sources (the IDE does, but FPC never). > > But that is not the problem here. > > > On 01/02/2026 23:00, duilio foschi via lazarus wrote: > > > > 4. I tried to compile a simple console program that uses IBConnection > > and I get this error: > > sqldb.pp(8,46) Error: Can't find unit SQLDB used by IBConnection > > and unit sqldb.pas is opened :) > > the error list is: > > Hint: (11030) Start of reading config file > > C:\lazarus4.4\fpc\3.2.2\bin\i386-win32\fpc.cfg > > Hint: (11031) End of reading config file > > C:\lazarus4.4\fpc\3.2.2\bin\i386-win32\fpc.cfg > > Free Pascal Compiler version 3.2.2 [2025/11/08] for i386 > > Copyright (c) 1993-2021 by Florian Klaempfl and others > > (1002) Target OS: Win32 for i386 > > (3104) Compiling greenapiworker.lpr > > (3104) Compiling greenworker_210187.pas > > (3104) Compiling greenworker_210193.pas > > (10001) PPU Loading C:\lazarus4.4\fpc\3.2.2\units\i386-win32\fcl-db\sqldb.ppu > > (10011) PPU Source: sqldb.pp not available > > (10028) Recompiling SQLDB, checksum changed for > > c:\lespommesdor\lib\i386-win32\db.ppu > > C:\lazarus4.4\fpc\3.2.2\units\i386-win32\fcl-db\sqldb.ppu:sqldb.pp(8,46) > > > c:\lespommesdor\lib\i386-win32\db.ppu should not exist. What is it? Why > is it there? > > If you tried to build the file with debug info, then there is a mistake > somewhere, and it fails to use it. > > If you did put "fcl-db" (the sources) manually into some path settings > of the project => that also can screw it up. It gets you a 2nd ppu, and > that means trouble. > > > Yes, it is possible to selectively rebuild some fpc files (e.g. for > debugging)... > But, it needs to be done very careful, and the exact steps can vary on > which file it is.... > And if anything goes just 1% off plan => boom. > > - sqldb depends on db.ppu > - if you rebuild db.pas to a new db.ppu then 99.99% you must also > rebuild sqldb (and all other files that depend on it) > > In theory you can make it so that you rebuild a single ppu only... In > theory. > > > > -- > _______________________________________________ > lazarus mailing list > > https://lists.lazarus-ide.org/listinfo/lazarus

Reply by email

Martin Frb
to duilio foschi
duilio foschi wrote 9 lines
Hi Martin, I want to apologize. The problem was due to a very silly reason. A few units of the 3.2 version were copied into a subdir of the work directory. Once I deleted these unwelcome guests, v. 4.2 compiled flawlessly.

No problem, and good it works.

Maybe I should have started with that, and done the "background knowledge part at the end".

If you do look at the mail, and skip the "why the error is about pas",

there I wrote
>> c:\lespommesdor\lib\i386-win32\db.ppu should not exist. What is it? Why >> is it there? >>

That is the file (or one of them) that caused the problem.

Now that I had to find it in your reply, I noted it was "a bit hidden" at the bottom.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20260204/6175803b/attachment.htm>

Reply by email