#1 (permalink)  
Old 04-02-2006, 11:10 AM
dave9000's Avatar
Registered User
 
Join Date: Apr 2003
Location: arkansas
Posts: 889
dave9000 is an unknown quantity at this point
mysql,php issues on new install

Figured I would post this so it may help someone having this problem.

There is a bug in the liblinker in mysql-devel 4.1.16 or higher. When trying to compile apache,php the compile will error out with liblinker: can not find /usr/lib/mysql/libz.la. The only known fix if you have this issue is to downgrade the mysql-devel-4.1.x to version 4.1.13. We had this issue this morning on a fresh install and upon researching using google its a known bug affecting RHEL3,4 and CentOS 3,4. The bug also is found in mysql 5.0.16. I repeat the only known fix available at this time is to downgrade the mysql-devel rpm to 4.1.13 or install from the src rpm and recompile apache and php.
__________________
Dave Browning
Intersite Technologies
Greenbrier Ar
dave@isitetech.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-03-2006, 09:11 AM
dave9000's Avatar
Registered User
 
Join Date: Apr 2003
Location: arkansas
Posts: 889
dave9000 is an unknown quantity at this point
Here is a little more information

If you upgrade to mysql 4.1.18 which is in the EDGE version of cpanel apache and php will not compile.

I had upgraded to EDGE before I did my apache phpsuexec recompile and had to back down mysql-devel to 4.1.13 to get a clean compile.

If you do your apache compiile before upgrading to 4.1.18 then you can upgrade to 4.1.18 and everything will work
__________________
Dave Browning
Intersite Technologies
Greenbrier Ar
dave@isitetech.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-03-2006, 10:46 AM
chirpy's Avatar
Moderator
 
Join Date: Jun 2002
Location: Go on, have a guess
Posts: 13,495
chirpy will become famous soon enough
Not nice.

I had a similar issue and had to rename /var/lib/mysql/ out of the way, compile apache, then put that directory back and it worked OK.
__________________
Jonathan Michaelson
cPanel Forum Moderator

Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-11-2006, 11:06 PM
cPanel Partner NOC
cPanel Partner NOC Badge
 
Join Date: Jul 2005
Posts: 574
BianchiDude is on a distinguished road
How do you down grade?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 04-11-2006, 11:21 PM
dave9000's Avatar
Registered User
 
Join Date: Apr 2003
Location: arkansas
Posts: 889
dave9000 is an unknown quantity at this point
http://downloads.mysql.com/archives/...ibc23.i386.rpm

grab this rpm from the mysql website and upload to your server

then do rpm -Uvh --force /<path to >/MySQL-devel-4.1.13-0.glibc23.i386.rpm

service mysql restart

then /scripts/easyapache

this will fix the libz.la error
__________________
Dave Browning
Intersite Technologies
Greenbrier Ar
dave@isitetech.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 04-11-2006, 11:24 PM
cPanel Partner NOC
cPanel Partner NOC Badge
 
Join Date: Jul 2005
Posts: 574
BianchiDude is on a distinguished road
Thanks dude!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 04-11-2006, 11:34 PM
dave9000's Avatar
Registered User
 
Join Date: Apr 2003
Location: arkansas
Posts: 889
dave9000 is an unknown quantity at this point
your welcome
__________________
Dave Browning
Intersite Technologies
Greenbrier Ar
dave@isitetech.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 05-02-2006, 11:48 PM
Registered User
 
Join Date: Jul 2004
Posts: 108
cguimont is an unknown quantity at this point
Thanks for that hint. It worked
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 05-14-2006, 07:25 AM
Registered User
 
Join Date: Jun 2005
Posts: 3
binary1 is on a distinguished road
Ah!

Finaly I can get back to sleep. many, many, many, many, thanx. phew!

Word.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 05-14-2006, 08:54 AM
rpmws's Avatar
Registered User
 
Join Date: Aug 2001
Location: back woods of NC, USA
Posts: 1,843
rpmws is on a distinguished road
we had a similiar issue going to 5.1.2 and and mysql 5.18. Basically httpd wouldn't start. It was complaining about mysql libs. I ran buildapache again and same issue. Nick helped me with this and we wound up installing mysql 5.21 from a generic RPM and apache would then start. The initial error I was getting when restarting httpd was:

Cannot load /usr/local/apache/libexec/libphp5.so into server:
/usr/local/apache/libexec/libphp5.so: symbol zlibVersion, version
libmysqlclient_15 not defined in file libmysqlclient.so.15 with link time
reference

Mostly this was due to buildapache failing to continue to compile past the apache part and it would die before php started to compile.

At some point soon if not already new sPanel builds will be out for mysql's > 5.18 >not sure if this error is related in the 4.X tree. What I think is buildapache was changed slightly on May12th and my prior builds would run. After using the May12th version it would have the above problem. Something in buildapache makes the problem in mysql show itself. We found the bugs listed at mysql.com that referenced my issue and it was fixed in the later versions.
__________________
Just keeping my "eye" on things....
R. Paul Mathews
RPMWS - diehard cPanel Nutcase
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 05-14-2006, 09:00 AM
Registered User
 
Join Date: Dec 2004
Posts: 30
neojones is on a distinguished road
Hey Dave,

Thanks for the tip. Was really helpful. Cheers
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 05-25-2006, 01:31 AM
Registered User
 
Join Date: May 2006
Posts: 13
JamieW is on a distinguished road
Talking

Quote:
Originally Posted by dave9000
http://downloads.mysql.com/archives/...ibc23.i386.rpm

grab this rpm from the mysql website and upload to your server

then do rpm -Uvh --force /<path to >/MySQL-devel-4.1.13-0.glibc23.i386.rpm

service mysql restart

then /scripts/easyapache

this will fix the libz.la error
Thank you! That's exactly what I needed to fix that problem!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 05-25-2006, 02:57 AM
Banned
 
Join Date: Jul 2005
Posts: 537
jackie46 is an unknown quantity at this point
Quote:
Originally Posted by dave9000
Figured I would post this so it may help someone having this problem.

There is a bug in the liblinker in mysql-devel 4.1.16 or higher. When trying to compile apache,php the compile will error out with liblinker: can not find /usr/lib/mysql/libz.la. The only known fix if you have this issue is to downgrade the mysql-devel-4.1.x to version 4.1.13. We had this issue this morning on a fresh install and upon researching using google its a known bug affecting RHEL3,4 and CentOS 3,4. The bug also is found in mysql 5.0.16. I repeat the only known fix available at this time is to downgrade the mysql-devel rpm to 4.1.13 or install from the src rpm and recompile apache and php.
Hmm, im running 4.1.18 on RHEL3 with Php; v4.2.2 with no issues whatsoever.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 05-29-2006, 04:50 PM
Registered User
 
Join Date: May 2003
Posts: 49
MeGaMASTER
This appear to be a bug with MySQL 4.1.18. Installing the latest MySQL-devel build (4.1.19) fix the problem. cPanel should update their MySQL version more often.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 01:33 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc