Discussion:
Solaris 9 + 7.4: error in initdb.
(too old to reply)
Fabiàn R. Breschi
2003-12-29 14:54:52 UTC
Permalink
Dear All,

I'm trying to get my db initialized in my newly installed 7.4 PG over
Solaris 9.0.

Everything runs fine since I try to initdb. The error message I get is:

"creating conversions...ERROR: could not load library
"/usr/local/pgsql/lib/ascii_and_mic_so": ld.so.1:
/usr/local/pgsql/bin/postgres: fatal error: libgcc_s.so.1: impossible to
open: file or directory not found"

I have checked out that every single file is in path with proper
permissions. The environmental vars are okay as well.

I wonder if I'm against a compatibility problem regarding Solaris 9. I
have read through the INSTALL and Solaris_FAQ without finding any useful
info.

Any suggestion will be greatly appreciated.

Many thanks in advance.

Fabian.
William Yu
2004-01-10 00:48:08 UTC
Permalink
/usr/local/lib probably is not in your library path.

Try the following commands before running initdb (or any other pg
program for that matter):

LD_LIBRARY_PATH=/usr/local/lib:/lib:/usr/lib:/usr/ccs/lib
export LD_LIBRARY_PATH
Post by Fabiàn R. Breschi
Dear All,
I'm trying to get my db initialized in my newly installed 7.4 PG over
Solaris 9.0.
"creating conversions...ERROR: could not load library
/usr/local/pgsql/bin/postgres: fatal error: libgcc_s.so.1: impossible to
open: file or directory not found"
I have checked out that every single file is in path with proper
permissions. The environmental vars are okay as well.
I wonder if I'm against a compatibility problem regarding Solaris 9. I
have read through the INSTALL and Solaris_FAQ without finding any useful
info.
Any suggestion will be greatly appreciated.
Many thanks in advance.
Fabian.
Loading...