[Lazarus] libpq.so on OSX should be libpq.dylib?

Vincent Snijders vsnijders at vodafonevast.nl
Fri Aug 14 11:00:21 CEST 2009


Giuseppe Luigi Punzi schreef:
> El vie, 14-08-2009 a las 10:32 +0200, Vincent Snijders escribió:
>> Giuseppe Luigi Punzi schreef:
>> > Last night, I see on OSX, thath TPQConnection, search for libpq.so.
>> > 
>> > It's suppose should use libpq.dylib, true?
>>
>> Yes, see 
>> http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/packages/postgres/src/postgres3dyn.pp?r1=12289&r2=12288&pathrev=12289 <http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/packages/postgres/src/postgres3dyn.pp?r1=12289&r2=12288&pathrev=12289>
> 
> Then, something is going wrong, because the first time I try to open the 
> connection with TPQConnection in OSX, always gets me an error aboutt 
> can't find "libpq.so". But, only warning me 1 time. The next, is an 
> error about can't connect at port 5432 (due to I have postgres in port 
> 5433).
>

That may be your fpc version doesn't include this revision.

Vincent




More information about the Lazarus mailing list