D. Richard Hipp wrote:

also when I use the "up arrow" (within the 3.2.0 version) to retreve the last command [it doesn't work]




I used to compile the command-line client using GNU readline
so that the arrow keys would work. But a lot of users complained
that readline didn't work on their systems because their system
didn't have the right libraries installed. And in fact, when I
recently upgraded to SuSE 9.2 (from RedHat 7.2) I found that
SuSE is missing GNU readline. (SuSE is missing a lot of other
stuff too, I've found.) So my latest builds do not have readline
support. If somebody can suggest a simple readline facility
that can be statically linked and which is easy to support, I
be happy to start using it.



Pardon my ignorance of Unix linker semantics, but can't you statically link GNU readline in through the


-Bstatic

flag given to ld (or libtool)?

$ man ld
[snip]
-Bstatic
-dn
-non_shared
-static
Do not link against shared libraries. This is only meaningful on
platforms for which shared libraries are supported. The different
variants of this option are for compatibility with various systems.
You may use this option multiple times on the command line: it
affects library searching for -l options which follow it. This
option also implies --unresolved-symbols=report-all.
[snip]



HTH

Ulrik Petersen

--
Ulrik Petersen, MA, B.Sc.
University of Aalborg, Denmark





Reply via email to