Re: error while executing a c program with embedded sql

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: error while executing a c program with embedded sql
Дата
Msg-id 3363.1068392046@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: error while executing a c program with embedded sql  (<radha.manohar@ndsu.nodak.edu>)
Список pgsql-novice
<radha.manohar@ndsu.nodak.edu> writes:
> ./test1: error while loading shared libraries: libecpg.so.3: cannot open
> shared object file: No such file or directory

The dynamic linker is failing to find either libecpg.so itself, or one
of the shared libraries it depends on (perhaps libpq.so).

If you are on a Linux system you probably want to fix your ldconfig
configuration so that all these libraries are found automatically.
You can run ldd on a particular executable or shared library to see what
libraries it references and whether those libraries are getting found
in the proper places.

Note that it is entirely possible for the program linking stage to
succeed but dynamic linking to fail at runtime.  For various reasons the
search rules are not quite the same in the two contexts ...

            regards, tom lane

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

Предыдущее
От:
Дата:
Сообщение: Re: error while executing a c program with embedded sql
Следующее
От: Oliver Elphick
Дата:
Сообщение: Re: error while executing a c program with embedded sql