MySQL Forums

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

Hi ,
I searched the web ...
http://www.fortran-2000.com/ArnaudRecipes/sharedlib.html

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?

( 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 libz.sl with mysql

Mathan Sankar : so, this libz.sl 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
libz.sl or libz.sl.xx --> 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 libz.sl 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,
Regards,
Ram.

We Learn the Most When we have to Invent

Subject
Written By
Posted
August 09, 2004 12:42PM
August 10, 2004 12:00AM
August 10, 2004 10:55AM
August 10, 2004 02:29PM
Re: Problems building 4.0.20
August 10, 2004 10:14PM
August 10, 2004 10:16PM

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.