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:
referencedsymbol 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