| From: | phil campaigne <pcampaigne(at)charter(dot)net> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Setting up Postgresql on Linux |
| Date: | 2004-03-04 23:14:18 |
| Message-ID: | 4047B84A.3040204@charter.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Hello,
when I login to linux and check the env's I see:
PATH=/usr/local/pgsql/bin:/bin:/usr/bin:/usr/local/bin:/usr/bin/X11:/usr/X11R6/bin:/home/postgres/bin:/opt/IBMJava2-14/bin:/opt/IBMJava2-14/jre/bin:/usr/local/pgsql/bin
LD_LIBRARY_PATH=/usr/local/pgsql/lib
However after I successfully start postgresql using
/etc/init.d/postgres start
/etc/init.d/postgres status
I cannot execute the following:
psql testdb
psql: relocation error: psql: undefined symbol: PQgetssl
Then if I execute from the command line:
LD_LIBRARY_PATH=/usr/local/pgsql/lib
export LD_LIBRARY_PATH
PATH=/usr/local/pgsql/bin:$PATH
export PATH
then psql testdb works!
What's going on???
thanks,
Phil
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Greg Stark | 2004-03-04 23:19:25 | Re: REFERENCES error message complaint, suggestion |
| Previous Message | Greg Stark | 2004-03-04 22:38:27 | Re: REFERENCES error message complaint, suggestion |