Re: psqlodbc: No memory available to store statement

[email protected] Mon, 1 Jul 2019 11:49:00 +0300
Newsgroups gmane.comp.db.postgresql.odbc
Message-ID <[email protected]>
This is a multipart message in MIME format.
--=_alternative 00306E964325842A_=
Content-Type: text/plain; charset="US-ASCII"

Hello Hiroshi,

I found a possible approach to overcome this issue. 
It is necessary to explicitly specify the path to libpq.so library within 
LD_LIBRARY_PATH environment variable before running the configure command.

In this case conftest program finds the desired libpq and in this case the 
generated config.h file contains proper defines:
/* The size of `long', as computed by sizeof. */
#define SIZEOF_LONG 8

/* The size of `long int', as computed by sizeof. */
#define SIZEOF_LONG_INT 8

/* The size of `void *', as computed by sizeof. */
#define SIZEOF_VOID_P 8

Thank You so much for your help!

Best regards, 
Andrei Yahorau

--=_alternative 00306E964325842A_=
Content-Type: text/html; charset="US-ASCII"

<font size=2 face="sans-serif">Hello Hiroshi,<br>
<br>
I found a possible approach to overcome this issue. <br>
It is necessary to explicitly specify the path to libpq.so library within
LD_LIBRARY_PATH environment variable before running the configure command.<br>
<br>
In this case conftest program finds the desired libpq and in this case
the generated config.h file contains proper defines:<br>
/* The size of `long', as computed by sizeof. */</font>
<br><font size=2 face="sans-serif">#define SIZEOF_LONG 8</font>
<br>
<br><font size=2 face="sans-serif">/* The size of `long int', as computed
by sizeof. */</font>
<br><font size=2 face="sans-serif">#define SIZEOF_LONG_INT 8</font>
<br>
<br><font size=2 face="sans-serif">/* The size of `void *', as computed
by sizeof. */</font>
<br><font size=2 face="sans-serif">#define SIZEOF_VOID_P 8<br>
<br>
Thank You so much for your help!</font>
<br>
<br><font size=2 face="sans-serif">Best regards, </font>
<br><font size=2 face="sans-serif">Andrei Yahorau</font>
<br>
--=_alternative 00306E964325842A_=--