libncurses.so.5

Problems with the Solaris version of XAMPP, questions, comments, and anything related.

libncurses.so.5

Postby lukeh » 01. April 2005 15:50

Installed with no problems on solaris 8.

bash-2.03$ ps -ef | grep -i mysql
root 1614 1 0 Mar 31 ? 0:00 /bin/sh /usr/xampp/bin/mysqld_safe --defaults-file=/usr/xampp/etc/my.cnf --data
nobody 1644 1614 0 Mar 31 ? 0:00 /usr/xampp/sbin/mysqld --defaults-file=/usr/xampp/etc/my.cnf --basedir=/usr/xam

The xampp page status also displays a green light. for mysql

When i try to run mysql:

bash-2.03$ /usr/xampp/bin/mysql
ld.so.1: /usr/xampp/bin/mysql: fatal: libncurses.so.5: open failed: No such file or directory
Killed

So i searched out for libncurses.so.5 and found it in /usr/xampp/lib

bash-2.03$ echo $LD_LIBRARY_PATH
/usr/xampp/lib

bash-2.03$ /usr/xampp/bin/mysql
ld.so.1: /usr/xampp/bin/mysql: fatal: libncurses.so.5: open failed: No such file or directory
Killed

Ok so next i got hold of the ncurses sunfreeware GNU package which i know contains libncurses.so.5

bash-2.03$ pwd
/usr/local/lib
bash-2.03$ ls
libform.a libmenu.so.5 libpanel.a libstdc++.so.5.0.3
libform.so libmenu.so.5.4 libpanel.so libwrap.a
libform.so.5 libmenu_g.a libpanel.so.5 libz.a
libform.so.5.4 libncurses++.a libpanel.so.5.4 libz.so
libform_g.a libncurses.a libpanel_g.a libz.so.1
libgcc_s.so libncurses.so libstdc++.a libz.so.1.1.4
libgcc_s.so.1 libncurses.so.5 libstdc++.la sparcv9
libmenu.a libncurses.so.5.4 libstdc++.so terminfo
libmenu.so libncurses_g.a libstdc++.so.5
bash-2.03$ echo $LD_LIBRARY_PATH
/usr/local/lib

bash-2.03$ /usr/xampp/bin/mysql
ld.so.1: /usr/xampp/bin/mysql: fatal: libncurses.so.5: open failed: No such file or directory
Killed

This happens when i run as root as well - so it can't be down to priviledges???

Thanks,
Luke
lukeh
 
Posts: 2
Joined: 01. April 2005 12:57

Postby Wiedmann » 01. April 2005 17:50

bash-2.03$ echo $LD_LIBRARY_PATH
/usr/xampp/lib

bash-2.03$ /usr/xampp/bin/mysql
ld.so.1: /usr/xampp/bin/mysql: fatal: libncurses.so.5: open failed: No such file or directory
Killed


Try:
Code: Select all
bash-2.03$ LD_RUN_PATH=/usr/xampp/lib:$LD_RUN_PATH; export LD_RUN_PATH
bash-2.03$ /usr/xampp/bin/mysql
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby lukeh » 01. April 2005 18:10

Wiedmann wrote:
bash-2.03$ echo $LD_LIBRARY_PATH
/usr/xampp/lib

bash-2.03$ /usr/xampp/bin/mysql
ld.so.1: /usr/xampp/bin/mysql: fatal: libncurses.so.5: open failed: No such file or directory
Killed


Try:
Code: Select all
bash-2.03$ LD_RUN_PATH=/usr/xampp/lib:$LD_RUN_PATH; export LD_RUN_PATH
bash-2.03$ /usr/xampp/bin/mysql


Code: Select all
bash-2.03$ LD_RUN_PATH=/usr/xampp/lib:$LD_RUN_PATH; export LD_RUN_PATH
bash-2.03$ /usr/xampp/bin/mysql
ld.so.1: /usr/xampp/bin/mysql: fatal: libncurses.so.5: open failed: No such file or directory
Killed
bash-2.03$ echo $LD_RUN_PATH
/usr/xampp/lib:
bash-2.03$ echo $LD_LIBRARY_PATH
/usr/xampp/lib:
bash-2.03$ ls /usr/xampp/lib/libncurses.so.5
/usr/xampp/lib/libncurses.so.5


:(
lukeh
 
Posts: 2
Joined: 01. April 2005 12:57


Return to XAMPP for Solaris

Who is online

Users browsing this forum: No registered users and 4 guests