Page 1 of 1

ProFTPd problem...

Posted: Wed May 17, 2006 8:16 am
by mgcomp
Hi at all!

I have a problem when i try to start ProFTPd:

Xbox ~ # /etc/init.d/proftpd start
* Starting proftpd...
/usr/sbin/proftpd: error while loading shared libraries: libmysqlclient.so.12: cannot open shared object file: No such file or directory

In my system I have this package installed:

* dev-perl/DBD-mysql
Latest version available: 2.9007
Latest version installed: 2.9007
Size of downloaded files: 114 kB
Homepage: http://search.cpan.org/CPAN/authors/id/ ... U/DBD-mysq l-2.9007.readme
Description: The Perl DBD:mysql Module
License: || ( Artistic GPL-2 )

What can i do?

Posted: Wed May 17, 2006 8:18 am
by mgcomp
I have this too:

* dev-db/mysql
Latest version available: 4.1.19
Latest version installed: 4.1.19
Size of downloaded files: 50,840 kB
Homepage: http://www.mysql.com/
Description: A fast, multi-threaded, multi-user SQL database server.
License: GPL-2

Posted: Wed May 17, 2006 8:28 am
by mgcomp
Solved!!! I've done a symlink.....

Xbox lib # ln -s /usr/lib/mysql/libmysqlclient.so.14.0.0 libmysqlclient.so.12
Xbox lib # ls -la |grep libmysql
lrwxrwxrwx 1 root root 30 May 13 05:45 libmysqlclient.so -> mysql/libmysqlclient.so.14.0.0
lrwxrwxrwx 1 root root 39 May 17 09:27 libmysqlclient.so.12 -> /usr/lib/mysql/libmysqlclient.so.14.0.0
lrwxrwxrwx 1 root root 30 May 13 05:45 libmysqlclient.so.14 -> mysql/libmysqlclient.so.14.0.0
lrwxrwxrwx 1 root root 30 May 13 05:45 libmysqlclient.so.14.0 -> mysql/libmysqlclient.so.14.0.0
lrwxrwxrwx 1 root root 30 May 13 05:45 libmysqlclient.so.14.0.0 -> mysql/libmysqlclient.so.14.0.0
lrwxrwxrwx 1 root root 32 May 13 05:45 libmysqlclient_r.so -> mysql/libmysqlclient_r.so.14.0.0
lrwxrwxrwx 1 root root 32 May 13 05:45 libmysqlclient_r.so.14 -> mysql/libmysqlclient_r.so.14.0.0
lrwxrwxrwx 1 root root 32 May 13 05:45 libmysqlclient_r.so.14.0 -> mysql/libmysqlclient_r.so.14.0.0
lrwxrwxrwx 1 root root 32 May 13 05:45 libmysqlclient_r.so.14.0.0 -> mysql/libmysqlclient_r.so.14.0.0
Xbox lib # /etc/init.d/proftpd start
* Starting proftpd... [ ok ]
Xbox lib #

Posted: Mon Mar 12, 2007 9:19 am
by saintmike
Im getting the same thing though mines after 14 not 12,

Where are these lib's meant to be /usr/lib ?

i tried putting links to both 14 and 12 in /usr/lib/ and usr/lib/mysql with no luck :(

/usr/sbin/proftpd: error while loading shared libraries: libmysqlclient.so.14: cannot open shared object file: No such file or directory [ !! ]