mysql client on Centos 7 drops error libreadline.so.5 not found

1,008 views
Skip to first unread message

Elena Cuevas

unread,
Mar 15, 2015, 12:58:01 PM3/15/15
to tokud...@googlegroups.com
Hello, 

I have just installed mariadb-5.5.41-tokudb-7.5.5-linux-x86_64 on CenOS 7.  I have done a clean installation. 
I have had no problems installing and starting server but when I try to connect I get the following error: 

/home/mysql/toku/bin/mysql
/home/mysql/toku/bin/mysql: error while loading shared libraries: libreadline.so.5: cannot open shared object file: No such file or directory

I have tried with an older version(5.5.38-tokudb-7.1.7-MariaDB), following the same steps and haven't had any problem. 

Can you please help me?

Thanks,
Elena

Elena Cuevas

unread,
Mar 15, 2015, 5:41:19 PM3/15/15
to tokud...@googlegroups.com
Hi again, 

I have downloaded mariadb version from mariadb.org and copy mysql executable to the toku installation. 
This has work properly and now I can connect. 

I don't know if this a bug or something that I did wrong. 

Thanks, 
Elena

Rich Prohaska

unread,
Mar 16, 2015, 11:45:47 AM3/16/15
to tokud...@googlegroups.com
We build TokuDB on a CentOS 5 machine which may package an older version of the readline library than CentOS 7.  If this is the case, then you can probably install the older readline package on CentOS 7.

Elena Cuevas

unread,
Mar 17, 2015, 8:04:29 AM3/17/15
to tokud...@googlegroups.com
Hi Rob, 

I tried an older version of toku (7.1.7) in this machine and this situation didn't occur. 

I only have this problem with this new release. 

I've got it resolved by using ./mysql from mariadb-5.5.41. 

thanks, 
Elena 

장희성

unread,
Apr 1, 2015, 8:37:37 AM4/1/15
to tokud...@googlegroups.com
ln -s /lib64/libreadline.so.6.0 /lib64/libreadline.so.5

It will works but, I don't know it was good solution.

2015년 3월 17일 화요일 오후 9시 4분 29초 UTC+9, Elena Cuevas 님의 말:

Elena Cuevas

unread,
Apr 6, 2015, 7:27:09 AM4/6/15
to tokud...@googlegroups.com
hi, 

thanks for reply. I considered that, but didn't know how it would affect. 

I got mysq client executable from mariadb distro and it worked with no problem. 

What I think is strange is that older version over same operating system works perfectly while this version wich is supposed to be newer and compatible with newer library versions doesn't work.


Thanks, 
Elena
Reply all
Reply to author
Forward
0 new messages