C++ interface on RH Linux 6.2

Поиск
Список
Период
Сортировка
От Carlos Moreno
Тема C++ interface on RH Linux 6.2
Дата
Msg-id 3B009E0B.1D244524@mochima.com
обсуждение исходный текст
Ответ на Compiling Test Programs  (Scott Holmes <sholmes@pacificnet.net>)
Ответы Re: C++ interface on RH Linux 6.2
Список pgsql-interfaces
Hi,

I'm compiling my applications on a RedHat 7.0 or 7.1 system, 
and had no trouble so far.  I include in my program the 
following:

#include <pgsql/libpq++.h>

And then, when compiling, I use the switches:

-I/usr/include/pgsql  and  -lpq++

Works fine.  But one of my students is trying to work on 
his machine at home (he has RH6.2), and is running into 
a couple of problems.  libpq++.h -- include file not found. 
I checked it, and the file was called libpq++.H 

When changing the include and compiling with the same 
switches, it did compile, but then when executing it, he 
got an error:  can not load runtime library *****.so*** 
(don't have the exact message here, but I remember it 
was about not being able to load the *.so* runtime lib)

I assume the default setup on RH6.2 is different than the 
new default setup on RH7+.  What should I (he) do?  Is 
there any documentation where I could find instructions 
for the various standard setups? 

Thanks!

Carlos
--


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

Предыдущее
От: Scott Holmes
Дата:
Сообщение: Compiling Test Programs
Следующее
От: Lamar Owen
Дата:
Сообщение: Re: C++ interface on RH Linux 6.2