rmdir /var/lib/pgsql/data/pg_log
pg_ctl --log /tmp/pg.log start // error cannot load shared library libssl.so.5
I show I have openssl.0.9.7 installed what else could I be missing??
Thanks,
Sean
Main Topics
Browse All TopicsHi
I installed 8.1.2 RPMS on my system. When I tried to run /etc/init.d/postgresql start I got this error.
/etc/init.d/postgresql start
Initializing database: mkdir: cannot create directory `/var/lib/pgsql/data/pg_lo
[FAILED]
Starting postgresql service: [FAILED]
How can I fix this??
Thanks,
Sean
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
None of these files could be located
libcrypto.so.5
libpq.so.4
libreadline.so.5
libssl.so.5
What package should I install?
This is what I have installed now.
Package Details
Description The OpenSSL toolkit provides support for secure communications between
machines. OpenSSL includes a certificate management tool and shared
libraries which provide various cryptographic algorithms and
protocols.
Package openssl Class System Environment/Libraries
Version 0.9.7a-43.4 Vendor CentOS
Architecture i686 Installed 23/Jan/2006 10:10
If I were you....
Get the PostgreSQL source tarred zip file. And rebuild the PostgreSQL system to match your environment.
You can get the configure settings using pg_conf.
F:\PostgreSQL\8.0.0-rc4\bi
pg_config provides information about the installed version of PostgreSQL.
Usage:
pg_config OPTION...
Options:
--bindir show location of user executables
--includedir show location of C header files of the client
interfaces
--includedir-server show location of C header files for the server
--libdir show location of object code libraries
--pkglibdir show location of dynamically loadable modules
--pgxs show location of extension makefile
--configure show options given to "configure" script when
PostgreSQL was built
--version show the PostgreSQL version, then exit
--help show this help, then exit
Report bugs to <pgsql-bugs@postgresql.org
F:\PostgreSQL\8.0.0-rc4\bi
'--with-openssl' '--with-perl' '--with-tcl' '--with-python' '--enable-nls'
So with the appropriate flags from your system do a comparable build using the following commands
CFLAGS ="-O2 -mmx -march=i686" ./configure --prefix=/usr --with-openssl --with-perl --with-tcl --with-python --enable-nls
make
make install
gheist -> postgresql.org had the rpms in their bin dir.
I tried from source too, it came up with dependacy errors. My problem is I cant seem to find a set of packages with the files I need. Every package I find that has one or more files I need wont install because because of conflicts or dependancies. This is where Gentoo really shines, but it takes too long to deploy. I'll try from source again and let you guys know exactly what it says.
I'm going back to Gentoo, I have learned that if a disto doesn’t have the packages you need, it’s a nightmare to install packages from other distros. Thanks for all the help guys. I did pickup a few use full commands/techniques from your comments. I'm going to delete this post since it didn’t really fix my specific problem; I don’t want others to be misled.
Thanks again,
Sean
Business Accounts
Answer for Membership
by: earthman2Posted on 2006-01-21 at 01:26:04ID: 15755379
$ rm /var/lib/pgsql/data/pg_log
$ pg_ctl --log /tmp/pg.log start