Thread: Installing 7.1.3 is missing libssl.0.1

Installing 7.1.3 is missing libssl.0.1

From
"Julian Gollop"
Date:
I have compiled and installed PostgreSQL 7.1.3 on RedHat7.0 Linux with gcc
3.0.2 and glibc 2.2.4 with no configure options. The build seems to run fine
but when I run the regression test I get

initdb failed

And the initdb error log says

The program
    '/usr/local/pgsql/bin/postgres'
needed by initdb does not belong to PostgreSQL version 7.1.3, or
there may be a configuration problem.

There doesn't seem to be much of a clue as to what is going wrong.



Re: Installing 7.1.3 is missing libssl.0.1

From
"Josh Berkus"
Date:
Julian,

> The program
>     '/usr/local/pgsql/bin/postgres'
> needed by initdb does not belong to PostgreSQL version 7.1.3, or
> there may be a configuration problem.
>
> There doesn't seem to be much of a clue as to what is going wrong.

It means what it says.  All files in /usr/local/pgsql and below should
belong to postgres:users (or whomever is the Postgres master user).  If
they belong to root:root, Postgres will not run.

-Josh


______AGLIO DATABASE SOLUTIONS___________________________
                                       Josh Berkus
  Complete information technology      josh@agliodbs.com
   and data management solutions       (415) 565-7293
  for law firms, small businesses        fax 621-2533
    and non-profit organizations.      San Francisco

Re: Installing 7.1.3 is missing libssl.0.1

From
Tom Lane
Date:
"Josh Berkus" <josh@agliodbs.com> writes:
>> The program
>> '/usr/local/pgsql/bin/postgres'
>> needed by initdb does not belong to PostgreSQL version 7.1.3, or
>> there may be a configuration problem.
>>
>> There doesn't seem to be much of a clue as to what is going wrong.

> It means what it says.  All files in /usr/local/pgsql and below should
> belong to postgres:users (or whomever is the Postgres master user).  If
> they belong to root:root, Postgres will not run.

Actually they *can* belong to root, as long as you don't try to execute
them as root.  I believe this error message is a version-mismatch
complaint, not a file-permissions issue.  Check to see whether
you don't have an older version of postgres installed in your PATH.

            regards, tom lane