hi stephen,
the ncurses library is not part of the mysql distribution. it's
available as a solaris binary package at
www.sunfreeware.com. look for "ncurses-5.2".
HTH
michael
"Stephen D. Myles" wrote:
>
> Hi,
>
> I am new to MYSQl so any help is much apreciated! I have recently instaled
> mysql version 3.23.45 on Sun solaris 8 (sparc). The server installed fine but I
> am unable to connect to the server using the mysql command due to some missing
> libs. Both the server and client are running locally.
>
> # ./mysql -h tilda -u mysql
> ld.so.1: ./mysql: fatal: libncurses.so.5: open failed: No such file or directory
> Killed
>
> A truss of the above output shows mw whitch lib files.
> # truss ./mysql
> execve("mysql", 0xEFFFF72C, 0xEFFFF734) argc = 1
> mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON,
> -1, 0) = 0xEF7B0000
> resolvepath("/usr/lib/ld.so.1", "/usr/lib/ld.so.1", 1023) = 16
> open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT
> open("/usr/local/mysql/lib/mysql/libncurses.so.5", O_RDONLY) Err#2 ENOENT
> open("/usr/local/lib/libncurses.so.5", O_RDONLY) Err#2 ENOENT
> open("/usr/lib/libncurses.so.5", O_RDONLY) Err#2 ENOENT
> ld.so.1: ./mysql: fatal: libncurses.so.5: open failed: No such file or directory
> write(2, " l d . s o . 1 : . / m".., 81) = 81
> getpid() = 1028 [1027]
>
> I can find no reference to this files in any of the documentation at all which
> leaves me a little confused.
>
> Any ideas?
>
> thanx
>
> smyles
---------------------------------------------------------------------
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