8.0.0beta1: get_home_path link problem

Started by Michael Fuhrover 21 years ago2 messagesbugs
Jump to latest
#1Michael Fuhr
mike@fuhr.org

PostgreSQL 8.0.0beta1 (CVS)
Solaris 9

libpq.so contains the undefined symbol get_home_path. Compiling
programs with -lpq now fails with the following error:

Undefined first referenced
symbol in file
get_home_path /usr/local/pgsql/lib/libpq.so
ld: fatal: Symbol referencing errors. No output written to query

Programs already linked against libpq.so now fail to run, with the
run-time linker reporting the following error:

fatal: relocation error: file /usr/local/pgsql/lib/libpq.so.3:
symbol get_home_path: referenced symbol not found

I found get_home_path in libecpg.so -- is that a mistake, or must
all programs now be linked against libecpg as well as libpq?

This is a new problem, appearing in CVS within the last day or so.

Thanks.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

#2Bruce Momjian
bruce@momjian.us
In reply to: Michael Fuhr (#1)
Re: 8.0.0beta1: get_home_path link problem

This will be fixed in one hour. Thanks.

---------------------------------------------------------------------------

Michael Fuhr wrote:

PostgreSQL 8.0.0beta1 (CVS)
Solaris 9

libpq.so contains the undefined symbol get_home_path. Compiling
programs with -lpq now fails with the following error:

Undefined first referenced
symbol in file
get_home_path /usr/local/pgsql/lib/libpq.so
ld: fatal: Symbol referencing errors. No output written to query

Programs already linked against libpq.so now fail to run, with the
run-time linker reporting the following error:

fatal: relocation error: file /usr/local/pgsql/lib/libpq.so.3:
symbol get_home_path: referenced symbol not found

I found get_home_path in libecpg.so -- is that a mistake, or must
all programs now be linked against libecpg as well as libpq?

This is a new problem, appearing in CVS within the last day or so.

Thanks.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073