[Lazarus] Database Library Issues
Terry A. Haimann
terry at HaimannOnline.com
Thu Sep 15 23:39:04 CEST 2011
On 09/14/2011 03:43 PM, Mark Morgan Lloyd wrote:
> leledumbo wrote:
>>> Aparently, Lazarus is looking for libpq.so.4, while my
>>> implementations have
>> libpq.so.5
>>
>> It shouldn't be hardcoded AFAIK: libpq.so only, which may be a
>> symlink to
>> the correct version. Try checking the source code whether the .4 is
>> hardcoded or not.
>
> When I last looked at this (as, I stress a user) the relevant units
> were looking for libpq.so and I ended up creating symlinks as below.
>
> /usr/lib/libpq.so -> libpq.so.5
> /usr/lib/libpq.so.5 -> libpq.so.5.1
> /usr/lib/libpq.so.5.1
>
> FPC up to and including 2.4.4 still appears to look for the fixed name
> libpq.so. At some point after that it's gained the capability of using
> a user-specified name, but I don't yet know how that's set up from
> Lazarus.
>
I was wrong, Postgre does work. My Postgre config was messed up. I
would though very much like to have MySQL working on the current versions.
TH
More information about the Lazarus
mailing list