Re: psql dumps core

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Walter Haidinger <walter(dot)haidinger(at)gmx(dot)at>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: psql dumps core
Date: 2003-06-17 15:23:19
Message-ID: 12971.1055863399@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

See apparently-related thread on pgsql-admin ...

regards, tom lane

------- Forwarded Message

Date: Tue, 17 Jun 2003 09:24:12 -0400
From: Greg Spiegelberg <gspiegelberg(at)cranel(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: [ADMIN] Starting postgres on Solaris

Brent,

Sounds like you don't have the runtime linker (ld.so) configured
correctly or don't have your environment setup.

Solaris 8 & 9 has a command, crle, which is similar to the Linux
ldconfig command. I typically add all lib paths to it so I don't have
to worry about setting environment variables for all the different
shells. As a best practice I have a bootup script which runs this on
every boot in case libraries are added, removed or patched.

As root or in a startup script...

# crle -c /var/ld/ld.config -l \
/usr/lib:/usr/local/lib:/usr/local/ssl/lib:/apps/pgsql/lib \
-i /usr/lib -i /usr/local/lib -i /usr/local/ssl/lib -i /apps/pgsql/lib

See crle(1) man page for all the options.

Greg

Brent Howard wrote:
> Hi,
>
> I am trying to start postgres from the command line on Solaris 8. I rebooted my server and now all i get when i try to start postgres is an error. I listed the error below.
>
> Is there a way to get postgres to read/reference the libraries correctly? How do i fix this problem, without rebuilding postgres?
>
> $> su - postgres
>
> bash-2.03$ cd /usr/local/pgsql/bin
>
> bash-2.03$ ./postmaster
> ld.so.1: ./postmaster: fatal: relocation error: file /usr/local/ssl/lib/libcrypto.so.0.9.6: symbol __register_frame_info: referenced symbol not found
> Killed
>
> bash-2.03$
>
>
> ----
> Any help would be appreciated.
>
>
> B~
>
> ps. If i must rebuild postgres, can i rebuild easily without losing my data?
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org

--
Greg Spiegelberg
Sr. Product Development Engineer
Cranel, Incorporated.
Phone: 614.318.4314
Fax: 614.431.8388
Email: gspiegelberg(at)Cranel(dot)com
Cranel. Technology. Integrity. Focus.

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

------- End of Forwarded Message

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Syaefulloh Dj 2003-06-18 14:17:42 [connection too long on win2k]
Previous Message Walter Haidinger 2003-06-17 12:30:57 psql dumps core