Yes, libedit is used. On Mac OSX libreadline is a soft link
to libedit, so that's what's used regardless of configure settings.

Here are the version numbers:

$ ll /usr/lib/libreadline.dylib
lrwxr-xr-x 1 root wheel 15 2 Apr 18:51 /usr/lib/libreadline.dylib - > libedit.2.dylib

$ ll /usr/lib/libedit.2.dylib
-rwxr-xr-x  1 root  wheel  578704 24 Sep  2007 /usr/lib/libedit.2.dylib

$ otool -D /usr/lib/libedit.2.dylib
/usr/lib/libedit.2.dylib:
/usr/lib/libedit.2.dylib

$ otool -L /usr/lib/libedit.2.dylib
/usr/lib/libedit.2.dylib:
/usr/lib/libedit.2.dylib (compatibility version 2.0.0, current version 2.9.0) /usr/lib/libncurses.5.4.dylib (compatibility version 5.4.0, current version 5.4.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.0.0)

$ file /usr/lib/libedit.2.dylib
/usr/lib/libedit.2.dylib: Mach-O universal binary with 4 architectures
/usr/lib/libedit.2.dylib (for architecture ppc7400): Mach-O dynamically linked shared library ppc /usr/lib/libedit.2.dylib (for architecture ppc64): Mach-O 64-bit dynamically linked shared library ppc64 /usr/lib/libedit.2.dylib (for architecture i386): Mach-O dynamically linked shared library i386 /usr/lib/libedit.2.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64





Am 03.09.2008 um 17:38 schrieb Euler Taveira de Oliveira:

Rudolf Leitgeb escreveu:
- Compile psql for x86_64. This can be easily done with the following
commands:

CFLAGS="-Os -arch x86_64" LDFLAGS="-arch x86_64" ./configure
--disable-depend  --with-pam  --with-openssl
--prefix=/Users/rleitgeb/pq_x86_64

Are you using libedit, right? What is the exact version? Looking at the backtrace, it seems to be a libedit problem. Try to update your version
or use readline instead.


--
 Euler Taveira de Oliveira
 http://www.timbira.com/



--

DI. Dr. Rudolf Leitgeb
Chief Technological Officer
x-pin.com GmbH
Linke Wienzeile 4, Stiege 2, Tür 5
A-1060 Vienna/Austria/Europe
FN 255.127m, UID: ATU61232222
[mobile]  +43-664-583-2419
[telefax] +43-1-587-70-84
[e-mail]  [EMAIL PROTECTED]




--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply via email to