Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » SMS User Support

Post new topic   Reply to topic
libmysqlclient.so.15 cannot open / kernel-headers and source
View previous topic :: View next topic  
Author Message
Busta
-{ D.O.N.A.T.O.R. }-


Joined: 13 Aug 2007
Posts: 81

PostPosted: Sat Dec 12, 2009 7:48 pm    Post subject: libmysqlclient.so.15 cannot open / kernel-headers and source Reply with quote

After upgrading mysql to mysql-5.1.41-i486-1sms, postfix will no longer start.
The error;
postfix: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory

Postfix version;
postfix-2.6.5-i686-1sms [inst=yes]

Also- issue downloading headers and source.
1/1 Get http://sms.it-ccs.com/isos/SMS-Current/ kernel-headers 2.6.29.6_smp-x86-3 [525.0kB]...Failed to download: HTTP response code said error
1/1 Get http://sms.it-ccs.com/isos/SMS-Current/ kernel-source 2.6.29.6_smp-noarch-3 [46.7MB]...Failed to download: HTTP response code said error

After upgrading to latest lcd kernel, uname -a still shows old kernel compile date.
Linux sms142 2.6.29.6-lcd #1 SMP Wed Aug 19 11:54:05 EEST 2009

thanks
Back to top
View user's profile Send private message
Busta
-{ D.O.N.A.T.O.R. }-


Joined: 13 Aug 2007
Posts: 81

PostPosted: Sat Dec 12, 2009 8:37 pm    Post subject: Reply with quote

/usr/lib# ls | grep mysql
libmysqlclient.so@
libmysqlclient.so.16@
libmysqlclient_r.so@
libmysqlclient_r.so.16@

libmysqlclient.so.15 does not exist in /usr/lib

what is needed to get postfix to use libmysqlclient.so.16

a quick google suggest;

# echo "/usr/local/mysql/lib/mysql" >> /etc/ld.so.conf # or whatever you
mysql lib path is
# ldconfig

any other sugestions? - thxs
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1753
Location: Greece

PostPosted: Sat Dec 12, 2009 10:31 pm    Post subject: Reply with quote

Upgrade postfix from SMS-Current, didn't notice that on my devel box since there was libmysqlclient.so.15 from another package.
Have you type lilo after installing the kernel? You should reboot also to actually load the new kernel.
Thanks for the info.

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
Busta
-{ D.O.N.A.T.O.R. }-


Joined: 13 Aug 2007
Posts: 81

PostPosted: Sat Dec 12, 2009 11:03 pm    Post subject: Reply with quote

what package contains libmysqlclient.so.15? I will just reinstall that package.
Do not see this package anywhere on my box. Or possible to make postfix work with version libmysqlclient.so.16?

LOL - yes, failed to run LILO after updating the kernel. Ran LILO and ok now.
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1753
Location: Greece

PostPosted: Sat Dec 12, 2009 11:12 pm    Post subject: Reply with quote

It's on mysql-5.0.84.
I recompiled postfix with mysql-5.1.41 just upgrade it through slapt-get.
Run 'slapt-get -u' first.
or download
http://sms.it-ccs.com/isos/SMS-Current/slackware/n/postfix-2.6.5-i686-2sms.txz

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
Busta
-{ D.O.N.A.T.O.R. }-


Joined: 13 Aug 2007
Posts: 81

PostPosted: Sun Dec 13, 2009 1:02 am    Post subject: Reply with quote

Thanks- worked

Did get this error. Man page information- probably not critical

Executing install script for postfix-2.6.5-i686-2sms.txz.
Running post-install: create-missingchown: cannot access `/usr/man/man1/mailq.1': No such file or directory
upgrade-package
Package postfix-2.6.5-i686-2sms.txz installed.

Package postfix-2.6.5-i686-1sms upgraded with new package /var/slapt-get/./slackware/n/postfix-2.6.5-i686-2sms.txz.
Back to top
View user's profile Send private message
Busta
-{ D.O.N.A.T.O.R. }-


Joined: 13 Aug 2007
Posts: 81

PostPosted: Sun Dec 13, 2009 1:14 am    Post subject: Reply with quote

I think the mysql update caused a few issues;
Dovecot gives similar issues on start up that I was seeing with postfix;

Error: dovecot-auth: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1753
Location: Greece

PostPosted: Sun Dec 13, 2009 11:29 am    Post subject: Reply with quote

`/usr/man/man1/mailq.1': No such file or directory' it's not a problem

I rebuilt dovecot packages over mysql-5.1.x, you can upgrade it too..
I hope this is the last libmysqlclient.so.15 error.
Thanks again.

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
Busta
-{ D.O.N.A.T.O.R. }-


Joined: 13 Aug 2007
Posts: 81

PostPosted: Sun Dec 13, 2009 5:23 pm    Post subject: Reply with quote

Thanks g -
all good now
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » SMS User Support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional