X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id D5F2930F04C for ; Tue, 17 Jun 2003 14:35:03 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 35901-01 for ; Tue, 17 Jun 2003 11:34:51 -0300 (ADT) Received: from colsweeper.cranel.com (newmail.cranel.com [12.32.71.147]) by svr1.postgresql.org (Postfix) with ESMTP id 384DB30F154 for ; Tue, 17 Jun 2003 11:34:51 -0300 (ADT) Received: from colmail01.cranel.com (colmail01.cranel.com) by colsweeper.cranel.com (Content Technologies SMTPRS 4.2.5) with ESMTP id for ; Tue, 17 Jun 2003 10:28:28 -0400 Received: from cranel.com (192.168.11.184 [192.168.11.184]) by colmail01.cranel.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id M57P3LGQ; Tue, 17 Jun 2003 10:36:55 -0400 Message-ID: <3EEF167C.4000501@cranel.com> Date: Tue, 17 Jun 2003 09:24:12 -0400 From: Greg Spiegelberg Organization: Cranel, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020408 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Re: Starting postgres on Solaris References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Archive-Number: 200306/200 X-Sequence-Number: 9191 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@postgresql.org -- Greg Spiegelberg Sr. Product Development Engineer Cranel, Incorporated. Phone: 614.318.4314 Fax: 614.431.8388 Email: gspiegelberg@Cranel.com Cranel. Technology. Integrity. Focus.