Sign in Join

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

Mailing lists / lazarus / 2009-08

libpq.so on OSX should be libpq.dylib?

6 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Giuseppe Luigi Punzi
to Vincent Snijders

El vie, 14-08-2009 a las 10:32 +0200, Vincent Snijders escribi?:

Show quoted text 7 lines
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

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).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20090814/f5478071/attachment-0001.html>

Reply by email

Vincent Snijders
to Giuseppe Luigi Punzi
Giuseppe Luigi Punzi wrote 15 lines
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

Reply by email

Giuseppe Luigi Punzi
to Vincent Snijders

El vie, 14-08-2009 a las 11:00 +0200, Vincent Snijders escribi?:

Show quoted text 18 lines
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.

I will check it, but, I have FPC 2.2.4 (from May of 2009 AFAIR), and the patch you say is from December of 2008.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20090814/49d3ca62/attachment-0001.html>

Reply by email