Re: problem on psql command
От | Tom Lane |
---|---|
Тема | Re: problem on psql command |
Дата | |
Msg-id | 1204.1080574926@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | problem on psql command (Alexandre Ricciardi <alexandre.ricciardi@free.fr>) |
Список | pgsql-novice |
Alexandre Ricciardi <alexandre.ricciardi@free.fr> writes: > I have just installed postgresql and i have the following messages : You seem to have a rather messed-up installation :-( > postgres@2[postgres]$ createdb testpg > /usr/lib/postgresql/bin/readpgenv: line 2: > /etc/postgresql/postgresql.env: No such file or directory I do not know what is causing that warning --- there is no such program as readpgenv in any standard Postgres installation. I think that some Linux distributions' RPMs add on such cruft; I'd suggest filing a bug report with the distribution. But anyway it seems to be just an annoying warning. > /usr/lib/postgresql/bin/psql: relocation error: > /usr/lib/postgresql/bin/psql: undefined symbol: PQgetssl This is happening because a psql program compiled with SSL support is trying to use a libpq.so compiled without SSL support. It would seem that you have two different Postgres installations on your machine and they're conflicting. I'd suggest fully deinstalling the older version. You may also need to do some hacking on ldconfig to get the dynamic loader to find the desired copy of libpq.so. regards, tom lane
В списке pgsql-novice по дате отправления: