Thread: 8.0.0beta1: get_home_path link problem

8.0.0beta1: get_home_path link problem

From
Michael Fuhr
Date:
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/

Re: 8.0.0beta1: get_home_path link problem

From
Bruce Momjian
Date:
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