Re: [GENERAL] share library version problems

2006-08-23 Thread Tom Lane
Bryan White <[EMAIL PROTECTED]> writes: > Tom Lane wrote: >> Don't do the rpmbuild as root. > I think I have it solved now. I am not to familiar with the process of > building from source RPMs. You said to not do it as root but that meant > I did not have write access to /usr/src/redhat. Well

Re: [GENERAL] share library version problems

2006-08-23 Thread Bryan White
Tom Lane wrote: Don't do the rpmbuild as root. Alternatively, I believe there's a %define you can set to skip the regression test ... but that's probably not a good idea. I think I have it solved now. I am not to familiar with the process of building from source RPMs. You said to not do it

Re: [GENERAL] share library version problems

2006-08-23 Thread Tom Lane
Bryan White <[EMAIL PROTECTED]> writes: > Tom Lane wrote: >> If the Fedora 5 RPMs won't install on your FC4 machine, grab the FC5 >> SRPM and do a quick rpmbuild --rebuild to make custom RPMs for your >> environment. > After about 5 minutes of compiling I get this: > initdb: cannot be run as root

Re: [GENERAL] share library version problems

2006-08-23 Thread Bryan White
Tom Lane wrote: If the Fedora 5 RPMs won't install on your FC4 machine, grab the FC5 SRPM and do a quick rpmbuild --rebuild to make custom RPMs for your environment. After about 5 minutes of compiling I get this: == pg_regress: initdb failed Examine ./log/initdb.log for the reason. make: **

Re: [GENERAL] share library version problems

2006-08-22 Thread Tom Lane
Bryan White <[EMAIL PROTECTED]> writes: > Tom Lane wrote: >> One thing you should check is whether both libs were built with the same >> options (compare pg_config --configure output from the 8.0 and 8.1 >> installations). > I think that might be the problem. These are the differences in > pg_co

Re: [GENERAL] share library version problems

2006-08-22 Thread Bryan White
Martijn van Oosterhout wrote: Can you provide the output of ldd? The libraries are supposed to be reasonably compatable. web server: linux-gate.so.1 => (0x00ab) libexpat.so.0 => /usr/lib/libexpat.so.0 (0x00411000) libpq.so.4 => /usr/lib/libpq.so.4 (0x00324000)

Re: [GENERAL] share library version problems

2006-08-22 Thread Bryan White
Tom Lane wrote: Bryan White <[EMAIL PROTECTED]> writes: I am having problems with my libpq programs crashing. This seems to be a version incompatibility and I want to find out how to best proceed. My main database is running Fedora Core 5 with the supplied PostgreSQL 8.1.4. My web server

Re: [GENERAL] share library version problems

2006-08-22 Thread Tom Lane
Bryan White <[EMAIL PROTECTED]> writes: > I am having problems with my libpq programs crashing. This seems to be > a version incompatibility and I want to find out how to best proceed. > My main database is running Fedora Core 5 with the supplied PostgreSQL > 8.1.4. > My web server is running

Re: [GENERAL] share library version problems

2006-08-22 Thread Martijn van Oosterhout
On Tue, Aug 22, 2006 at 12:26:53PM -0400, Bryan White wrote: > I am having problems with my libpq programs crashing. This seems to be > a version incompatibility and I want to find out how to best proceed. > My dev server was running the same setup as the web server. The > difference is that