ProFTPd problem...

Ask questions regarding Gentoox, Gentoo and Linux in general in these forums and we'll do our best to help you!
Post Reply
mgcomp
Newbie
Posts: 8
Joined: Tue May 09, 2006 7:06 am

ProFTPd problem...

Post 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?
mgcomp
Newbie
Posts: 8
Joined: Tue May 09, 2006 7:06 am

Post 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
mgcomp
Newbie
Posts: 8
Joined: Tue May 09, 2006 7:06 am

Post 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 #
saintmike
Linux User
Posts: 12
Joined: Tue Sep 13, 2005 10:31 pm

Post 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 [ !! ]
Post Reply