| Summary: | Installation under Lazarus of package SQLite3Laz 0.4 failed | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | francois eglin <mamitou> |
| Component: | RPM Packages | Assignee: | Alex Loginov <loginov_alex> |
| Status: | RESOLVED OLD | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | marja11 |
| Version: | 5 | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | Lazarus-1.2.4-4.mga5.src.rpm | CVE: | |
| Status comment: | |||
|
Description
francois eglin
2016-01-17 22:14:05 CET
Assigning to Lazarus maintainer. Assignee:
bugsquad =>
loginov_alex Hi Francois,
Many thanks for your bug report.
> package SQLite3Laz 0.4
Are you about /usr/lib(64)/lazarus/components/sqlite/sqlite3laz.lpk ?
Works for me with SQLite3Laz (Data Access tab) and with TSQLite3Connection (SQLdb tab) if lib(64)sqlite3-devel installed.
If you want to start lazarus cleanly, then rm -rf $HOME/.lazarus and to run lazarus-ide
I reproduced your issue if lib(64)sqlite3-devel is not installed:
1) "Can not load SQLite client library "libsqlite3.so". Check your installation." for TSQLite3Connection (SQLdb tab)
2) "/usr/bin/ld: cannot find -lsqlite3" for /usr/lib(64)/lazarus/components/sqlite/sqlite3laz.lpk
Do you have lib(64)sqlite3-devel installed? Please install and try again after "rm -rf $HOME/.lazarus"
I'm waiting your answer.
(In reply to Alex Loginov from comment #2) Hi Alex, glad to read you so quickly; I installed the sqlite3-devel package and MIRACLE the error message does not appear when I connect to a databse. Many thanks for your hint. Maybe it could be useful to add a dependancy in order to avoid the problems I experienced. Thanks again (In reply to francois eglin from comment #3) > Maybe it could be useful to add a dependancy in order to avoid the problems > I experienced. As a weak dependency then (Recommends), unless Lazarus is really unusable without it. SQLite3Laz (Data Access tab) is not enabled by default. TSQLite3Connection (SQLdb tab) is enabled by default and needs pkgconfig(sqlite3) for work. But lazarus is ide for developers and developers should know what dependencies needs for selected component. If to add all dependencies for all components, then it may be big list. Noone distro does it. The same situation for anjuta, gambas, .etc and maintainers do not add dependencies. Francois, will you check all enabled by default components? I need full list of dependencies. If the list will not big, then I will add Recommends. Needs more info. (In reply to Samuel VERSCHELDE from comment #4) > (In reply to francois eglin from comment #3) > > Maybe it could be useful to add a dependancy in order to avoid the problems > > I experienced. > > As a weak dependency then (Recommends), unless Lazarus is really unusable > without it. It is not Lazarus which cannot be used without the sqlite3-devel package, but SQLite. For me (and I am not a true developer, I only write some applications for my own use as I did in a previous life with Delphi under Windows) add Recommends should be sufficient for that kind of subject. Should be fixed in lazarus-1.2.4-6.mga6. Closing as OLD, because Mga5 is no longer officially maintained (the bug already got fixed for Mageia 6 and later) Resolution:
(none) =>
OLD |