Installing mysql-ruby-2.8.2 adaptor

$ ruby ./test.rb – [localhost [‘user’@‘localhost’ [password
[databasename [3306 [socket [flag]]]]]]]]

OUTPUT - ruby: relocation error: ./mysql.so: symbol
mysql_get_client_version,
version libmysqlclient_18 not defined in file libmysqlclient.so.18 with
link time reference

“while installing mysql-ruby-2.8.2 on following error occur what need to
be done to resolve it also done with following command”

$ env LD_RUN_PATH=/usr/local/mysql/lib/libmysqlclient.so directory make

OUTPUT - env: directory: No such file or directory

using
CENTOS 6.4
MySQL 5.6

what need to be done?