MySQL Forums
Forum List  »  Install & Repo

Re: Problems building 4.0.20
Posted by: Ramalingam Chelliah
Date: August 10, 2004 10:14PM

Hi ,
I searched the web ...
Check whether this link is useful for You ..( After reading this reply ..)

Here is the dialogue that I had with my Colleague..

Ram : Hi
Can you look at (all Replies) these threads in MySQL Forum
I asked the author to remove -all-static He says the problem was solved and asks for some clarification on run-time libs?,557,557#557
( Niels , You are here NOW .Don't click )

Mathan Sankar : one sec I will checkout this link
Ram : ok
Mathan Sankar : Here the problem was, mysql tried to link libz.a file as he used "all-static" option, but it was not exists in his machine, so he got "/usr/bin/ld: cannot find -lz". Now he installed zlib in his machine. so now he linked with mysql

Mathan Sankar : so, this should present in his machine at run time

Ram : He removed all-static option...

Ram : Is zlib a static lib?

Mathan Sankar : libz.a --> statil zlib library or --> dynamic zlib library

Mathan Sankar : all-static option will try to link static libs

Mathan Sankar : if you remove this option it will try to link dynamic lib

Ram : OK ..So He won't get run-time errors as long as zlib is installed..Right
Can I post this message in that forum

Mathan Sankar : yes thats correct
Mathan Sankar : this should present in his machine at run time
Ram : Can I post this conversation there?
Mathan Sankar : yes you can
Ram : ok Thanks
Mathan Sankar : OR ask him to search libz.a file in his machine, he can enable all-static option if libz.a presents in his machine

Ram : He has searched for it but without success

Mathan Sankar : I think he searched this lib before installing zlib in his machine
Ram : ok I will convey this message
Mathan Sankar : Ok

Hope this helps,

We Learn the Most When we have to Invent

Options: ReplyQuote

Written By
August 09, 2004 12:42PM
Re: Problems building 4.0.20
August 10, 2004 10:14PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.