| От | Michael Fuhr |
|---|---|
| Тема | Re: Using host variables -- segmentation fault |
| Дата | |
| Msg-id | 20061017044935.GA8686@winnie.fuhr.org обсуждение исходный текст |
| Ответ на | Re: Using host variables -- segmentation fault (Yadnyesh Joshi <yadnyesh_joshi@yahoo.com>) |
| Список | pgsql-novice |
On Mon, Oct 16, 2006 at 10:02:12AM -0700, Yadnyesh Joshi wrote: > I found out what was the problem. > I had not set LD_LIBRARY_PATH environment variable. > But I didn't see anything in documentation which says that if I don't set > the environment variable, I won't be able to use host variables in C. That's because setting LD_LIBRARY_PATH has nothing to do with using host variables, at least not directly. Apparently the library the runtime linker was finding was incompatible with your object code but the problem only manifested itself under certain conditions. What version of ecpg did you use (ecpg --version)? What version of libecpg were you linking against? What does "ldd the_program" show both with and without LD_LIBRARY_PATH set? -- Michael Fuhr
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера