Re: 8.0.0beta1: get_home_path link problem - Mailing list pgsql-bugs

From Bruce Momjian
Subject Re: 8.0.0beta1: get_home_path link problem
Date
Msg-id 200408182356.i7INuWk11676@candle.pha.pa.us
Whole thread Raw
In response to 8.0.0beta1: get_home_path link problem  (Michael Fuhr <mike@fuhr.org>)
List pgsql-bugs
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

pgsql-bugs by date:

Previous
From: Michael Fuhr
Date:
Subject: 8.0.0beta1: get_home_path link problem
Next
From: Bruce Momjian
Date:
Subject: Re: BUG #1224: Restarting postgres appends extra -D argument