[Lazarus] Postgres Cannot connect

Tom Russell tsrdatatech at gmail.com
Tue Nov 22 12:04:50 CET 2011


Yea I read that but the funny part is that my environment path has all
the links for postgres so Im not sure where its looking for the dylib
files. I read the readme for the postgres stuff in fpcsrc and it says
in there you have to specify your path to those and then do a make and
make install. Not sure if this is correct or not but I am also not
sure how to do that either.

Does anyone know anything about that?

Thanks,
Tom

On Tue, Nov 22, 2011 at 5:23 AM, Mark Morgan Lloyd
<markMLl.lazarus at telemetry.co.uk> wrote:
> Tom Russell wrote:
>>
>> I tried placing my dylib file in the directory from which my app is
>> and it still does not find the file. There must be something simple i
>> am missing as I cannot figure out where the PQConnection is looking
>> for this file either.
>
> Noted that you're using OSX of which I have no experience, but on Linux
> using FPC 2.4.4 I had to set up a symlink for the library (see Joost's
> comments).
>
> --
> Mark Morgan Lloyd
> markMLl .AT. telemetry.co .DOT. uk
>
> [Opinions above are the author's, not those of his employers or colleagues]
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>




More information about the Lazarus mailing list