Re: Connecting and creating db
От | Michael Wood |
---|---|
Тема | Re: Connecting and creating db |
Дата | |
Msg-id | BANLkTimH+m2u4V4TTgfZTQUiCm0HL-PKjQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Connecting and creating db (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-novice |
On 21 April 2011 02:43, Tom Lane <tgl@sss.pgh.pa.us> wrote: > "Sandy Keathley" <sandy@keathleywebs.com> writes: [...] >> 1. logged in as user "postgres", I cannot connect to the database server without first issuing >> (every time) the command: export LD_LIBRARY_PATH="/usr/pgsql/lib" >> This is annoying. > > Sounds like the RPM author neglected to see to updating the ldconfig > data. If the RPM stuck a file in /etc/ld.so.conf.d pointing to > /usr/pgsql/lib, you should just be able to run /sbin/ldconfig (as root) > and be good --- otherwise consider doing that manually. [...] Did RHEL 4 support /etc/ld.so.conf.d? He might need to put it in /etc/ld.so.conf. Sandy, if there's no /etc/ld.so.conf.d directory on the machine, just add /usr/pgsql/lib to /etc/ld.so.conf and then run /sbin/ldconfig as mentioned by Tom. -- Michael Wood <esiotrot@gmail.com>
В списке pgsql-novice по дате отправления: