View previous topic :: View next topic |
Author |
Message |
Busta -{ D.O.N.A.T.O.R. }-
Joined: 13 Aug 2007 Posts: 81
|
Posted: Sat Dec 12, 2009 7:48 pm Post subject: libmysqlclient.so.15 cannot open / kernel-headers and source |
|
|
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 |
|
Busta -{ D.O.N.A.T.O.R. }-
Joined: 13 Aug 2007 Posts: 81
|
Posted: Sat Dec 12, 2009 8:37 pm Post subject: |
|
|
/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 |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Sat Dec 12, 2009 10:31 pm Post subject: |
|
|
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 |
|
Busta -{ D.O.N.A.T.O.R. }-
Joined: 13 Aug 2007 Posts: 81
|
Posted: Sat Dec 12, 2009 11:03 pm Post subject: |
|
|
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 |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
|
Back to top |
|
Busta -{ D.O.N.A.T.O.R. }-
Joined: 13 Aug 2007 Posts: 81
|
Posted: Sun Dec 13, 2009 1:02 am Post subject: |
|
|
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 |
|
Busta -{ D.O.N.A.T.O.R. }-
Joined: 13 Aug 2007 Posts: 81
|
Posted: Sun Dec 13, 2009 1:14 am Post subject: |
|
|
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 |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Sun Dec 13, 2009 11:29 am Post subject: |
|
|
`/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 |
|
Busta -{ D.O.N.A.T.O.R. }-
Joined: 13 Aug 2007 Posts: 81
|
Posted: Sun Dec 13, 2009 5:23 pm Post subject: |
|
|
Thanks g -
all good now |
|
Back to top |
|
|