From: | Adam Witney <awitney(at)sghms(dot)ac(dot)uk> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: readline configure error again |
Date: | 2003-01-21 10:10:26 |
Message-ID: | BA52CD12.FB79%a.witney@sghms.ac.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
I have looked in config.log, but unfortunately I am none the wiser.... The
first appearance of readline looks like this...
configure:5800: checking for readline
configure:5837: gcc -o conftest -I/usr/local/include -L/usr/local/lib
conftest.c -lreadline -lrt -lresolv -lgen -lsocket -lnsl -ldl -lm
>&5
ld: fatal: symbol `_init' is multiply-defined:
(file /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/crti.o and
file /usr/local/lib/libreadline.so);
ld: fatal: symbol `_start' is multiply-defined:
(file /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/crt1.o and
file /usr/local/lib/libreadline.so);
ld: fatal: symbol `_fini' is multiply-defined:
(file /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/crti.o and
file /usr/local/lib/libreadline.so);
ld: fatal: symbol `_lib_version' is multiply-defined:
(file /usr/ccs/lib/values-Xa.o and file
/usr/local/lib/libreadline.so);
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status
But I have no idea what the problem is or how to fix it.....
Wouldn't the ....
--with-libs=/usr/local/lib --with-includes=/usr/local/include
... part of the configure take care of any search path problems?
Thanks for any help
adam
> The error message does suggest looking into config.log ...
>
> My bet is either a search path problem or you are missing a required
> library (on some platforms libreadline depends on libtermcap, IIRC).
>
> regards, tom lane
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
From | Date | Subject | |
---|---|---|---|
Next Message | William N. Zanatta | 2003-01-21 11:56:25 | Re: Help on query plan. (was: select like and indexes) |
Previous Message | Andreas Schlegel | 2003-01-21 09:41:40 | TEXT / INTEGER problem in function |