Re: error compiling 7.3.2 on solaris 8- library conflict

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Richard Sand" <rsand(at)vgalleries(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: error compiling 7.3.2 on solaris 8- library conflict
Date: 2003-02-25 15:22:42
Message-ID: 10577.1046186562@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Richard Sand" <rsand(at)vgalleries(dot)com> writes:
> I have a newly installed Solaris 8 Sparc. To install Postgresql 7.3.2, I
> installed a variety of gnu tools, including gcc 3.2.2, make 3.8, and
> readline 4.2. I installed the last after my first attempt at "configure"
> said that it couldn't find it. Then, when I installed it and made certain
> that the include and libpaths were part of the configure, it still refused
> to find readline. In the configure.log file, it appears as if it does in
> fact find readline but there is some sort of conflict:

> configure:5837: gcc -o
> conftest -I/usr/local/include -I/usr/local/include -L/usr/local/lib -L/us
> r/local/lib
> conftest.c -lreadline -lrt -lresolv -lgen -lsocket -lnsl -ldl -lm >&5
> ld: fatal: symbol `__dso_handle' is multiply-defined:
> (file /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.2/crtbegin.o
> and file /usr/local/lib/libreadline.so);

Yeah, you seem to have a misbuilt libreadline.so. Did you build it
yourself, or install someone else's? If all else fails, rebuild it
as a non-shared library.

I have some recollection of a similar problem being discussed awhile
back... try searching the PG archives.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Sullivan 2003-02-25 15:27:20 Re: Can postgresql be run in memory (like a memory resi
Previous Message Tom Lane 2003-02-25 15:17:15 Re: Join query crashes 7.3.1 backend...