On Sat, Aug 3, 2013 at 9:07 PM, Joao Morais <jcmorai...@gmail.com> wrote: > $ ./pqconsole > An unhandled exception occurred at $000CA921 : > EInOutError : Can not load PostgreSQL client library "libpq.dylib". > Check your installation. > --------------- > > What I have done so far: > > 1. export DYLD_LIBRARY_PATH=/Path/To/libpq.dylib/dir > (using Postgresql.app 9.2.4 from Heroku) > > 2. export DYLD_LIBRARY_PATH=. > and copying the libpq.dylib to the binary dir > > 3. Installed pg 9.2.4 from EnterpriseDB package > > 4. Restarted the SO =)
5. Compiling with "ppcx64" instead of "fpc" in order to generate a 64 bit application. Now it works! Thanks Silvio pointing out some links in private. Joao Morais _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal