Stephan Bergmann <sb@ows.es> wrote:
> Compiling the following returns me - executing the result.cgi - the
> error:
> ./result.cgi: can't load library 'libpq.so.2'
> What I'm doing wrong?
You've not told the dynamic loader to have the directory where you've put
libpq.so.2 in its search path. Set an appropriate LD_LIBRARY_PATH, or (at
least on GNU/Linux) update /etc/ld.so.conf and rerun "ldconfig".
HTH,
Ray
--
"If we put in English phrases, that makes it readable". That's COBOL.
Larry Wall on common fallacies of language design