pg.ddx.io pgsql-interfaces@postgresql.org mailing list archivehelp / color / mirror / Atom feed
C++ interface on RH Linux 6.2 3+ messages / 2 participants [nested] [flat]
* C++ interface on RH Linux 6.2 @ 2001-05-15 03:10 Carlos Moreno <moreno@mochima.com> 2001-05-15 04:09 ` Re: C++ interface on RH Linux 6.2 Lamar Owen <lamar.owen@wgcr.org> 0 siblings, 1 reply; 3+ messages in thread From: Carlos Moreno @ 2001-05-15 03:10 UTC (permalink / raw) To: 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 -- ^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: C++ interface on RH Linux 6.2 2001-05-15 03:10 C++ interface on RH Linux 6.2 Carlos Moreno <moreno@mochima.com> @ 2001-05-15 04:09 ` Lamar Owen <lamar.owen@wgcr.org> 2001-05-15 05:22 ` Re: C++ interface on RH Linux 6.2 Carlos Moreno <moreno@mochima.com> 0 siblings, 1 reply; 3+ messages in thread From: Lamar Owen @ 2001-05-15 04:09 UTC (permalink / raw) To: Carlos Moreno <moreno@mochima.com>; pgsql-interfaces -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 14 May 2001 23:10, Carlos Moreno wrote: > 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: > 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 First, upgrading the version of postgresql he has would be a good idea, as RedHat 6.2 shipped with PostgreSQL 6.5.3. The upper-case .H is the giveaway there. But, the C++ compiler isn't really great on RedHat6.2 --it works, but it isn't great. The Red Hat 7.x compiler is, well, not very standard is some ways, but much more standard in others -- in particular, the C++ portion. Upgrading to Red Hat 7.1 is a very good thing to do, IMHO. - -- Lamar Owen WGCR Internet Radio 1 Peter 4:11 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE7AKwE5kGGI8vV9eERAqZ5AJoDw4oBbX9BFCI4OEsSMMnvQlElnACdH3pS mzyImiy5zzjngUBqgwqOz3k= =vwrI -----END PGP SIGNATURE----- ^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: C++ interface on RH Linux 6.2 2001-05-15 03:10 C++ interface on RH Linux 6.2 Carlos Moreno <moreno@mochima.com> 2001-05-15 04:09 ` Re: C++ interface on RH Linux 6.2 Lamar Owen <lamar.owen@wgcr.org> @ 2001-05-15 05:22 ` Carlos Moreno <moreno@mochima.com> 0 siblings, 0 replies; 3+ messages in thread From: Carlos Moreno @ 2001-05-15 05:22 UTC (permalink / raw) To: pgsql-interfaces Lamar Owen wrote: > > First, upgrading the version of postgresql he has would be a good idea, as > RedHat 6.2 shipped with PostgreSQL 6.5.3. This would probably be the easiest thing for him. > But, the C++ compiler isn't really great on RedHat6.2 --it works, but it > isn't great. The Red Hat 7.x compiler is, well, not very standard is some > ways, but much more standard in others -- in particular, the C++ portion. > > Upgrading to Red Hat 7.1 is a very good thing to do, IMHO. He tried, since the setup that we have on the lab machines is RH7.1, so he would prefer to have the exact same setup (to avoid surprises and incompatibilities when he brings his homework/assignments from his machine to the College). But for some reason that I find rather misterious, he tells me that he couldn't install RH7.1 ... ???? (I'm having a hard time understanding how he could install RH6.2 and it recognized the hardware, but he can't install RH7.1, which normally recognizes more easily any hardware configuration...) In any case, I think upgrading to the latest pgSQL would be the best option (hmmm, I hope there are RPMs available :-)) Thanks!! Carlos -- ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2001-05-15 05:22 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2001-05-15 03:10 C++ interface on RH Linux 6.2 Carlos Moreno <moreno@mochima.com> 2001-05-15 04:09 ` Lamar Owen <lamar.owen@wgcr.org> 2001-05-15 05:22 ` Carlos Moreno <moreno@mochima.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox