pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: jsahn@samsung.co.kr
To: pgsql-admin@postgresql.org
Subject: [postgresql-7.0RC1] relocation error under solaris 2.6
Date: Wed, 26 Apr 2000 17:29:39 +0900
Message-ID: <H000237320d35001@MHS> (raw)

 pls forgive my poor Engilsh. 

 our system is Sun Enterprise 3500 (solaris 2.6) 

 I installed PostgreSQL 7.0RC1 with following configure. 
 before building, I put following line in .profile file
 
   export LD_RUN_PATH=/usr/local/pgsql/lib

 then

   configure --enable-multibyte=EUC_KR --with-maxbackends=64 --with-odbc
   gmake
   gmake install 

 and then 

   initdb -E EUC_KR

 then I run postmaster 
  
   postmaster -i -D/usr/local/pgsql/data -B 4096 -o '-S 3072' &

 but when I run createdb or createuser etc.. relocation error occured.

   [pgsql@sleds11] bin 135 > createdb -E EUC_KR test
   ld.so.1: /usr/local/pgsql/bin/psql: fatal: relocation error: file /usr/local/pgsql/bin/psql: symbol PQenv2encoding: referenced symbol not found
   Killed
   createdb: database creation failed

 when I use 6.5.3, there is no problem like this.. 
 I thought it was some kinds of Library problem.. but don't know what to do to solve this problem.. pls help me out.. 
 
 I set .cshrc file for pgsql user like this.. 
   setenv MANPATH /usr/man:/usr/dt/man:/usr/local/man:/usr/openwin/man:/usr/local/pgsql/man
   setenv LD_LIBRARY_PATH /usr/lib:/usr/local/lib:/usr/ucblib:/usr/openwin/lib:/usr/local/pgsql/lib
   setenv PGDATA /usr/local/pgsql/data
   setenv PGLIB /usr/local/pgsql/lib 
   setenv PGDATESTYLE ISO
 
   

 
 
 

 



Attachments:

mail.txt (text/plain, 1.3K) download pls forgive my poor Engilsh. our system is Sun Enterprise 3500 (solaris 2.6) I installed PostgreSQL 7.0RC1 with following configure. before building, I put following line in .profile file export LD_RUN_PATH=/usr/local/pgsql/lib then configure --enable-multibyte=EUC_KR --with-maxbackends=64 --with-odbc gmake gmake install and then initdb -E EUC_KR then I run postmaster postmaster -i -D/usr/local/pgsql/data -B 4096 -o '-S 3072' & but when I run createdb or createuser etc.. relocation error occured. [pgsql@sleds11] bin 135 > createdb -E EUC_KR test ld.so.1: /usr/local/pgsql/bin/psql: fatal: relocation error: file /usr/local/pgsql/bin/psql: symbol PQenv2encoding: referenced symbol not found Killed createdb: database creation failed when I use 6.5.3, there is no problem like this.. I thought it was some kinds of Library problem.. but don't know what to do to solve this problem.. pls help me out.. I set .cshrc file for pgsql user like this.. setenv MANPATH /usr/man:/usr/dt/man:/usr/local/man:/usr/openwin/man:/usr/local/pgsql/man setenv LD_LIBRARY_PATH /usr/lib:/usr/local/lib:/usr/ucblib:/usr/openwin/lib:/usr/local/pgsql/lib setenv PGDATA /usr/local/pgsql/data setenv PGLIB /usr/local/pgsql/lib setenv PGDATESTYLE ISO

Message-ID: <H000237320d35001@MHS>
Permalink:  ../H000237320d35001@MHS/
Also on:    postgresql.org/message-id/H000237320d35001@MHS

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: jsahn@samsung.co.kr
  Subject: Re: [postgresql-7.0RC1] relocation error under solaris 2.6
  In-Reply-To: <H000237320d35001@MHS>
  References: <H000237320d35001@MHS>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox