Re: ODBC and configure

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: ODBC and configure
Дата
Msg-id 4C4EBE44.4000509@postnewspapers.com.au
обсуждение исходный текст
Ответ на Re: ODBC and configure  (Ravi Katkar <Ravi.Katkar@infor.com>)
Ответы Re: ODBC and configure  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-odbc
On 27/07/10 18:23, Ravi Katkar wrote:
> Odbctest.c downloaded from the below website http://wwwmath.uni-muenster.de/u/beckelu/DB0506/ODBC/

> Its not using GUI toolkit .

Nope, it certainly isn't. But  something seems to be trying to talk to
your X server, unless that message is somehow weirdly misleading.

Here, installing unixodbc from debian packages and compiling odbctest as:

 gcc -o odbctest odbctest.c -lodbc

it runs fine with DISPLAY unset (ie with no access to an X server).

My next step in your position would be to strace the binary to see what
it's doing, use ldd to examine what it's linking to, or use LD_DEBUG to
trace what libraries it accesses. Though, of course, I'd also know how
I'd compiled it, which you didn't mention.

In any case, though, there's no sign this issue has anything to do with
PostgreSQL. I hope this sets you vaguely on the right track, but I'm not
really into ODBC at the best of times, so I think I might be about done
with my usefulness here.

--
Craig Ringer

В списке pgsql-odbc по дате отправления:

Предыдущее
От: Ravi Katkar
Дата:
Сообщение: Re: ODBC and configure
Следующее
От: Ravi Katkar
Дата:
Сообщение: resultset metadata libpq