List:General Discussion« Previous MessageNext Message »
From:Michael Widenius Date:June 4 1999 2:41am
Subject:mysql client segfaults on interactive mode (readline-4.0)
View as plain text  
>>>>> "Javier" == Javier Kohen <root@stripped> writes:

>> Description:
Javier> 	Whenever I run mysql client in interactive mode, it segfaults. It does work
> normally on non-interactive queries, though. My guess is that there's something
> incompatible with the readline library version I'm using (4.0).
Javier> 	This is the output for 'ldd /usr/bin/mysql':
Javier> 	--
Javier> 	libreadline.so.4.0 => /usr/lib/libreadline.so.4.0 (0x40019000)
Javier> 	libncurses.so.4 => /usr/lib/libncurses.so.4 (0x4003d000)
Javier> 	libmysqlclient.so.6 => /usr/lib/mysql/libmysqlclient.so.6 (0x4007c000)
Javier> 	libnsl.so.1 => /lib/libnsl.so.1 (0x40090000)
Javier> 	libcrypt.so.1 => /lib/libcrypt.so.1 (0x400a6000)
Javier> 	libpthread.so.0 => /lib/libpthread.so.0 (0x400d3000)
Javier> 	libm.so.6 => /lib/libm.so.6 (0x400e4000)
Javier> 	libstdc++.so.2.9 => /usr/lib/libstdc++.so.2.9 (0x40102000)
Javier> 	libc.so.6 => /lib/libc.so.6 (0x40146000)
Javier> 	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
Javier> 	--
Javier> 	I can provide the compiled binary or anything from the (unmodified) source
> tree I built it.

When you added 'without-readline' to configure, did you do a 'make
clean' first?

--without-readline should use your installed readline directory ;
The only reason I can think of why this wouldn't work is if the
compiler was using the include readline header files but linking with
your system readline library when building 'mysql'  Could you check
this up?

(The line that compiles and links mysql should be sufficient to check 
this)

Regards,
Monty
Thread
mysql client segfaults on interactive mode (readline-4.0)Javier Kohen4 Jun
  • mysql client segfaults on interactive mode (readline-4.0)Michael Widenius4 Jun