[Lazarus] error code "Can't load default MySQL library("libmysqlclient.so.20" or "libmysqlclient.so"). Check your installation.

2018-05-07 Thread Larry Dalton via Lazarus
computer=HP Desktop
operating system Linux 17.2 Cinnamon 64 bit
mysql-5.7.22-1 debian7 amd64
lazarus 1.8.2.

help! how do I correct this? Larry Dalton
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] How to use two different versions of FPC

2018-05-07 Thread shoKwave via Lazarus

Am 07.05.2018 um 16:54 schrieb Gabor Boros via Lazarus:
Is BigChimp's suggestion (1.-6.) a good starting point nowadays or 
something changed meanwhile in this topic. I will build everything 
(Lazarus fixes_1_8 and trunk, FPC trunk) from source except the actual 
stable FPC (now 3.0.4).


https://forum.lazarus.freepascal.org/index.php/topic,15716.msg85158.html#msg85158 


Hi Gabor,

it's a good starting point but I have some corrections.

 * Install systemwide FPC and whatever primary Lazarus install you want
 * Get another FPC, e.g. from SVN, make all, make install under e.g.
   ~/fpcdev
 * make softlink from ~/fpcdev/lib/fpc//ppcbinary to ~/fpcdev/bin
 * Generate an fpc.cfg in ~/fpcdev/lib/fpc/etc directory using fpcmkcfg
 * Get/compile another Lazarus using make
   FPC=~/fpcdev/whereverbin/ppcbinary so Laz gets compiled with the
   right FPC
 * Run secondary Lazarus with --primary-config path set to a new
   directory, e.g. ~/lazarusdev/
 * Set up secondary Lazarus Options/Paths, specifying FPC directory as
   ~/fpcdev/wherever...

#3 is new. The link is not generated by make so you'll have to create it 
by yourself.


#4 is slightly different. On Linux and MacOS fpc expects the fpc.cfg to 
be in the relative path "../etc/fpc.cfg"  (see 
https://linux.die.net/man/5/fpc.cfg).


Hope this helps.

Ingo

--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] How to use two different versions of FPC

2018-05-07 Thread Gabor Boros via Lazarus

Hi All,

My main development toolset is FPC 3.0.4 and Lazarus fixes_1_8. 
Sometimes I try some things with Lazarus trunk also. It is easy.
But now build up a new development machine from scratch with RHEL 7.5 on 
it and try to utilize FPC trunk too (with Lazarus trunk). I use 
"--primary-config-path" option always, so Lazarus config placement is 
not a problem. But the two FPC versions coexist. I found a solution from 
2012 on the forum (see the link below). Is BigChimp's suggestion (1.-6.) 
a good starting point nowadays or something changed meanwhile in this 
topic. I will build everything (Lazarus fixes_1_8 and trunk, FPC trunk) 
from source except the actual stable FPC (now 3.0.4).


https://forum.lazarus.freepascal.org/index.php/topic,15716.msg85158.html#msg85158

Gabor
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus