Error Message while Trying To Run A Compiled libpq.h file.

Поиск
Список
Период
Сортировка
От Daniel R. Anderson
Тема Error Message while Trying To Run A Compiled libpq.h file.
Дата
Msg-id 3E835FC0.9070906@mathjunkies.com
обсуждение исходный текст
Список pgsql-general
Hi,

I'm experimenting with the libpq.h file and tried compiling the
testlibpq.c file as follows:

1.  I edited testlibpq.c so that instead of NULL it was looking for my host.
2.  I tried compiling by:

$ gcc ./testlibpq.c -o testlibpq.compiled -I /usr/local/pgsql/include -L
/usr/local/pgsql/lib -lpq

3.  Now, when I tried to run it, i.e. (./testlibpq.compiled) I get the
following error:

/usr/libexec/ld.so: testlibpq.compiled: libpq.so.3.0: No such file or
directory

What am I doing wrong?

Thanks,

Dan


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

Предыдущее
От: Jason Hihn
Дата:
Сообщение: Re: Long term read-only records?
Следующее
От: Flower Sun
Дата:
Сообщение: About OIDs