>Description: When loading initial data from a text file, mysql looks for libncurses.so.4, doesn't find it and quits the command with an error. This happens under Red Hat Linux 7.2, because it has libncurses.so.5.x. >How-To-Repeat: This must be done on a system without an accessible libncurses.so.5. Follow the tutorial in the manual to create a text file to load into the pet database. Then, execute the following command: load data local infile "pet.txt" into table pet; >Fix: This desperate hack worked for me: cd /usr/lib ln -s libncurses.so libncurses.so.4
After this, the load data command worked fine, however, I do not know further ramifications of masquerading the 5.x libncurses as 4. >Submitter-Id: [EMAIL PROTECTED] >Originator: [EMAIL PROTECTED] >Organization: R-Mode Corp. >MySQL support: none >Synopsis: libncurses not found on load data >Severity: non-critical >Priority: medium >Category: mysql >Class: sw-bug >Release: mysql-3.23.47 (Official MySQL RPM) >Server: /usr/bin/mysqladmin Ver 8.23 Distrib 3.23.47, for pc-linux-gnu on i686 Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to modify and redistribute it under the GPL license Server version 3.23.47 Protocol version 10 Connection Localhost via UNIX socket UNIX socket /var/lib/mysql/mysql.sock Uptime: 22 hours 44 min 26 sec Threads: 2 Questions: 30 Slow queries: 0 Opens: 8 Flush tables: 1 Open tables: 1 Queries per second avg: 0.000 >Environment: Dual P3-450, RH7.2, unknown, unknown System: Linux titus 2.4.7-10smp #1 SMP Thu Sep 6 17:09:31 EDT 2001 i686 unknown Architecture: i686 Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc GCC: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98) Compilation info: CC='gcc' CFLAGS='-O6 -fno-omit-frame-pointer -mpentium' CXX='gcc' CXXFLAGS='-O6 -fno-omit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti -mpentium' LDFLAGS='' LIBC: lrwxrwxrwx 1 root root 13 Nov 29 18:07 /lib/libc.so.6 -> libc-2.2.4.so -rwxr-xr-x 2 root root 1282588 Sep 4 12:49 /lib/libc-2.2.4.so -rw-r--r-- 1 root root 27304836 Sep 4 12:34 /usr/lib/libc.a -rw-r--r-- 1 root root 178 Sep 4 12:34 /usr/lib/libc.so Configure command: ./configure --disable-shared --with-mysqld-ldflags=-all-static --with-client-ldflags=-all-static --without-berkeley-db --without-innodb --enable-assembler --with-mysqld-user=mysql --with-unix-socket-path=/var/lib/mysql/mysql.sock --prefix=/ --with-extra-charsets=complex --exec-prefix=/usr --libexecdir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var/lib/mysql --infodir=/usr/info --includedir=/usr/include --mandir=/usr/man '--with-comment=Official MySQL RPM' --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php