Обсуждение: initializing the DB cluster
Hi all I installed the source of PostgreSQL 8.2.3 on a linux machine. The installation process ended successfully but when I try to create the database cluster using the initdb command I get the following error: " creating conversions ... sh: line 1: 1838 Segmentation fault (core dumped) "/home/grads/imehegaz/MyPostgreSQL/bin/postgres" --single -F -O -c search_path=pg_catalog -c exit_on_error=true template1 >/dev/null child process exited with exit code 139 " I installed the same source code before several time but this is the first time to get this error. Any idea of what could be the problem? Regards Islam Hegazy |
"Islam Hegazy" <islheg@hotmail.com> writes:
> I installed the source of PostgreSQL 8.2.3 on a linux machine. The =
> installation process ended successfully but when I try to create the =
> database cluster using the initdb command I get the following error:
> "
> creating conversions ... sh: line 1: 1838 Segmentation fault =
> (core dumped) "/home/grads/imehegaz/MyPostgreSQL/bin/postgres" --single =
> -F -O -c search_path=3Dpg_catalog -c exit_on_error=3Dtrue template1 =
>> /dev/null
> child process exited with exit code 139
A segfault at the "creating conversions" step suggests a problem with
compatibility of shared libraries (because that's the first step that
tries to pull in any dynamically-loaded modules). Probably it's
finding .so's that are for some other Postgres version. Check rpath
etc.
regards, tom lane