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 \
-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.
Brent Howard wrote:
> 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
> Any help would be appreciated.
> 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
Sr. Product Development Engineer
Cranel. Technology. Integrity. Focus.
In response to
pgsql-admin by date
|Next:||From: Mel Jamero||Date: 2003-06-17 13:56:40|
|Subject: psql DBNAME -U USER (how to disable -U option?)|
|Previous:||From: Brent Howard||Date: 2003-06-17 13:07:49|
|Subject: Re: Can the frontend get notifications from the postgres server?|