Thread: 7.1 installation problem
Hi, I'm running into problems while trying to install 7.1 beta 4 (on RedHat Linux 7 with bug fixes applied) I've downloaded the rpms but when I do an rpm -iv postgres-7.1beta4-1.i386.rpm it complains about an unresolved dependency on libreadline.so.3. I have a libreadline.so.4. Is that ok? When I ignore dependencies and continue to install, postgres won't start because it says: "The program /usrbin/postgres needed by initdb does not belong to PostgreSQL version 7.1beta4. Check your installation" Any hint would be greately appreciated. Alexander Jerusalem VKNN ajeru@gmx.net
Alexander Jerusalem writes: > I'm running into problems while trying to install 7.1 beta 4 (on RedHat > Linux 7 with bug fixes applied) > I've downloaded the rpms but when I do an rpm -iv > postgres-7.1beta4-1.i386.rpm it complains about an unresolved dependency on > libreadline.so.3. I have a libreadline.so.4. Is that ok? It should be. The RPMs are broken in that respect. > When I ignore dependencies and continue to install, postgres won't start > because it says: "The program /usrbin/postgres needed by initdb does not > belong to PostgreSQL version 7.1beta4. Check your installation" Don't run initdb as root. The error message has been corrected in current sources. -- Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/
Alexander Jerusalem <ajeru@gmx.net> writes: > When I ignore dependencies and continue to install, postgres won't start > because it says: "The program /usrbin/postgres needed by initdb does not > belong to PostgreSQL version 7.1beta4. Check your installation" In beta4, it's possible that this message will appear when the real problem is that you're trying to run initdb as root. (Bad interaction of error checks :-(.) If so, su to postgres first. regards, tom lane
Thanks Peter and Tom! It works! Alexander Jerusalem VKNN ajeru@gmx.net
Peter Eisentraut wrote: > Alexander Jerusalem writes: > > I'm running into problems while trying to install 7.1 beta 4 (on RedHat > > Linux 7 with bug fixes applied) > > I've downloaded the rpms but when I do an rpm -iv > > postgres-7.1beta4-1.i386.rpm it complains about an unresolved dependency on > > libreadline.so.3. I have a libreadline.so.4. Is that ok? > It should be. The RPMs are broken in that respect. No, they're not broken -- unless being built on RedHat 6.2 qualifies as broken. RedHat 7 has many differences from RedHat 6.2. The best thing to do (until RH 7 RPM's are built -- final release will definitely have RH 7 binaries) is to rebuild from the source RPM on all BUT RedHat 6.2. -- Lamar Owen WGCR Internet Radio 1 Peter 4:11
Alexander Jerusalem <ajeru@gmx.net> writes: > I'm running into problems while trying to install 7.1 beta 4 (on > RedHat Linux 7 with bug fixes applied) > I've downloaded the rpms but when I do an rpm -iv > postgres-7.1beta4-1.i386.rpm it complains about an unresolved > dependency on libreadline.so.3. I have a libreadline.so.4. Is that ok? Install the readline2.2.1-2.2.1-2 rpm (which comes with Red Hat Linux 7 - look on your CD or ftp mirror) for backwards compatibility. -- Trond Eivind Glomsrød Red Hat, Inc.