Sign in Join

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

Mailing lists / lazarus / 2014-12

Another Where is Error

8 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

FreeMan

Copied from messages form. I can see "/usr/bin/ld: cannot find -lsqlite3" this line, but I don't know witch _*lpk or pas*_. How can I find wrong file or lpk and remove or fix error?
_
__Build IDE: Exit code 512, Errors: 1, Warnings: 1_ Verbose: /usr/bin/make -C ide idepkg
Verbose: make[1]: Entering directory `/opt/lazarus/ide' Verbose: /usr/bin/make --assume-new=lazarus.pp lazarus OPT=' -gs -gl @/home/freeman35/.lazarus-freeman/idemake.cfg -vbq -FU/opt/lazarus/units/x86_64-linux/qt'
Verbose: make[2]: Entering directory `/opt/lazarus/ide' Verbose: /opt/freepascal/2.7.1/bin/fpc -gl -Sci -dlclqt -Fu../designer -Fu../debugger -Fu../debugger/frames -Fu../converter -Fu../packager -Fu../packager/frames -Fu../components/custom -Fuframes -Fu. -Fu/usr/lib/fpc/2.7.1/units/x86_64-linux/rtl -Fiinclude -Fiinclude/linux -Fi../images -FE.. -FU../units/x86_64-linux/qt -Cg -Fl/usr/lib/gcc/x86_64-linux-gnu/4.8 -Flinclude
-Fl/etc/ld.so.conf.d/*.conf -gs -gl
@/home/freeman35/.lazarus-freeman/idemake.cfg -vbq -FU/opt/lazarus/units/x86_64-linux/qt -dx86_64 lazarus.pp Verbose: Free Pascal Compiler version 2.7.1 [2014/12/02] for x86_64 Verbose: Copyright (c) 1993-2014 by Florian Klaempfl and others Verbose: Target OS: Linux for x86-64
Verbose: Compiling lazarus.pp
Verbose: Compiling resource /opt/lazarus/units/x86_64-linux/qt/lazarus.or Verbose: Linking ../lazarus
/usr/bin/ld: warning: ../link.res contains output sections; did you forget -T?
/usr/bin/ld: cannot find -lsqlite3
lazarus.pp(142,1) Warning: Error while linking
lazarus.pp(142,1) Verbose: There were 1 errors compiling module, stopping Error: Compilation aborted
Verbose: /usr/bin/ppcx64 returned an error exitcode Verbose: make[2]: Leaving directory `/opt/lazarus/ide' Verbose: make[1]: Leaving directory `/opt/lazarus/ide' Verbose: [lazarus] Error 1
Verbose: [idepkg] Error 2

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20141202/190875d3/attachment-0001.html>

Reply by email

luiz americo pereira camara
to FreeMan

You have a Lazarus package that depends of sqlite3

You should uninstall this package or install the sqlite3-dev system package

Luiz

2014-12-02 12:01 GMT-03:00 FreeMan :

Show quoted text 45 lines
Copied from messages form. I can see "/usr/bin/ld: cannot find -lsqlite3" this line, but I don't know witch *lpk or pas*. How can I find wrong file or lpk and remove or fix error? *Build IDE: Exit code 512, Errors: 1, Warnings: 1* Verbose: /usr/bin/make -C ide idepkg Verbose: make[1]: Entering directory `/opt/lazarus/ide' Verbose: /usr/bin/make --assume-new=lazarus.pp lazarus OPT=' -gs -gl @/home/freeman35/.lazarus-freeman/idemake.cfg -vbq -FU/opt/lazarus/units/x86_64-linux/qt' Verbose: make[2]: Entering directory `/opt/lazarus/ide' Verbose: /opt/freepascal/2.7.1/bin/fpc -gl -Sci -dlclqt -Fu../designer -Fu../debugger -Fu../debugger/frames -Fu../converter -Fu../packager -Fu../packager/frames -Fu../components/custom -Fuframes -Fu. -Fu/usr/lib/fpc/2.7.1/units/x86_64-linux/rtl -Fiinclude -Fiinclude/linux -Fi../images -FE.. -FU../units/x86_64-linux/qt -Cg -Fl/usr/lib/gcc/x86_64-linux-gnu/4.8 -Flinclude -Fl/etc/ld.so.conf.d/*.conf -gs -gl @/home/freeman35/.lazarus-freeman/idemake.cfg -vbq -FU/opt/lazarus/units/x86_64-linux/qt -dx86_64 lazarus.pp Verbose: Free Pascal Compiler version 2.7.1 [2014/12/02] for x86_64 Verbose: Copyright (c) 1993-2014 by Florian Klaempfl and others Verbose: Target OS: Linux for x86-64 Verbose: Compiling lazarus.pp Verbose: Compiling resource /opt/lazarus/units/x86_64-linux/qt/lazarus.or Verbose: Linking ../lazarus /usr/bin/ld: warning: ../link.res contains output sections; did you forget -T? /usr/bin/ld: cannot find -lsqlite3 lazarus.pp(142,1) Warning: Error while linking lazarus.pp(142,1) Verbose: There were 1 errors compiling module, stopping Error: Compilation aborted Verbose: /usr/bin/ppcx64 returned an error exitcode Verbose: make[2]: Leaving directory `/opt/lazarus/ide' Verbose: make[1]: Leaving directory `/opt/lazarus/ide' Verbose: [lazarus] Error 1 Verbose: [idepkg] Error 2 -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20141202/b915653b/attachment.html>

Reply by email

FreeMan
to luiz americo pereira camara

My question is how to *find depend pas or lpk*. I made mistake while add packs, and looking for witch lpk.
Messages form has a many verbose, Parameters & results, but no info for lpk, or project or file.

luiz americo pereira camara wrote 68 lines
You have a Lazarus package that depends of sqlite3 You should uninstall this package or install the sqlite3-dev system package Luiz 2014-12-02 12:01 GMT-03:00 FreeMan < <mailto:>>: Copied from messages form. I can see "/usr/bin/ld: cannot find -lsqlite3" this line, but I don't know witch _*lpk or pas*_. How can I find wrong file or lpk and remove or fix error? _ __Build IDE: Exit code 512, Errors: 1, Warnings: 1_ Verbose: /usr/bin/make -C ide idepkg Verbose: make[1]: Entering directory `/opt/lazarus/ide' Verbose: /usr/bin/make --assume-new=lazarus.pp lazarus OPT=' -gs -gl @/home/freeman35/.lazarus-freeman/idemake.cfg -vbq -FU/opt/lazarus/units/x86_64-linux/qt' Verbose: make[2]: Entering directory `/opt/lazarus/ide' Verbose: /opt/freepascal/2.7.1/bin/fpc -gl -Sci -dlclqt -Fu../designer -Fu../debugger -Fu../debugger/frames -Fu../converter -Fu../packager -Fu../packager/frames -Fu../components/custom -Fuframes -Fu. -Fu/usr/lib/fpc/2.7.1/units/x86_64-linux/rtl -Fiinclude -Fiinclude/linux -Fi../images -FE.. -FU../units/x86_64-linux/qt -Cg -Fl/usr/lib/gcc/x86_64-linux-gnu/4.8 -Flinclude -Fl/etc/ld.so.conf.d/*.conf -gs -gl @/home/freeman35/.lazarus-freeman/idemake.cfg -vbq -FU/opt/lazarus/units/x86_64-linux/qt -dx86_64 lazarus.pp Verbose: Free Pascal Compiler version 2.7.1 [2014/12/02] for x86_64 Verbose: Copyright (c) 1993-2014 by Florian Klaempfl and others Verbose: Target OS: Linux for x86-64 Verbose: Compiling lazarus.pp Verbose: Compiling resource /opt/lazarus/units/x86_64-linux/qt/lazarus.or Verbose: Linking ../lazarus /usr/bin/ld: warning: ../link.res contains output sections; did you forget -T? /usr/bin/ld: cannot find -lsqlite3 lazarus.pp(142,1) Warning: Error while linking lazarus.pp(142,1) Verbose: There were 1 errors compiling module, stopping Error: Compilation aborted Verbose: /usr/bin/ppcx64 returned an error exitcode Verbose: make[2]: Leaving directory `/opt/lazarus/ide' Verbose: make[1]: Leaving directory `/opt/lazarus/ide' Verbose: [lazarus] Error 1 Verbose: [idepkg] Error 2 -- _______________________________________________ Lazarus mailing list <mailto:> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20141202/f79d92d8/attachment.html>

Reply by email

FreeMan
to luiz americo pereira camara

Thank you Luiz,
Afew second ago I found, "luilazreportcomponents 0.0" I'm not remember how to added this :) I was added so long time ago for test this pack. How to find: Uninstall and try rebuild IDE one by one :S

luiz americo pereira camara wrote 7 lines
AFAIK, there's no way. You may look at package files src sqlite3laz is a package that have such dependency Luiz

Reply by email

luiz americo pereira camara
to FreeMan

2014-12-02 13:30 GMT-03:00 FreeMan :

Show quoted text 5 lines
Thank you Luiz, Afew second ago I found, "luilazreportcomponents 0.0" I'm not remember how to added this :) I was added so long time ago for test this pack. How to find: Uninstall and try rebuild IDE one by one :S

It's one of my packages.
It has a dependency of luicomponents that requires sqlite3 I have plans to remove this dependency unfortunately is low priority

Luiz

Show quoted text 19 lines
On 02-12-2014 18:15, luiz americo pereira camara wrote: > AFAIK, there's no way. > > You may look at package files src > > sqlite3laz is a package that have such dependency > > Luiz > -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20141202/3af3e891/attachment-0001.html>

Reply by email

leledumbo
to FreeMan: My question is how to *find depend pas or lpk*. I made mistake while add packs, and…
My question is how to find depend pas or lpk

Make a good use of "find in files" feature. Dependency on external library can only be achieved in three ways (AFAIR):
- {$LINKLIB libname} directive
- external 'libname' procedure modifier
- -k<pass library to linker>

Packages have linking options greyed out AFAIK, so 3rd way is not possible. The other two can be easily searched using "external 'sqlite3'" or "{$LINKLIB sqlite3}" against your packages directories.

View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Another-Where-is-Error-tp4039634p4039641.html Sent from the Free Pascal - Lazarus mailing list .

Reply by email

Mattias Gaertner
to leledumbo
Show quoted text 11 lines
> My question is how to find depend pas or lpk Make a good use of "find in files" feature. Dependency on external library can only be achieved in three ways (AFAIR): - {$LINKLIB libname} directive - external 'libname' procedure modifier - -k<pass library to linker> Packages have linking options greyed out AFAIK, so 3rd way is not possible. The other two can be easily searched using "external 'sqlite3'" or "{$LINKLIB sqlite3}" against your packages directories.

Don't forget that it could be "external identifier", so sometimes it is hard to find.

Luckily this information is stored in the ppu files. The package Cody has a simple ppu parser and can show such things. See here:

http://wiki.lazarus.freepascal.org/Cody#PPU_files_of_project

It needs some update for the current 2.7.1 ppus though.

Mattias

Reply by email