make error : incompatible /usr/lib64/mysql/libmysqlclient_r.a when searching for -lmy
Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I install sysbench and process instalaltion need mysql.
I have red hat 5 server enter. on ppc64
Please write clearly, and your question answers itself. Your make is failing, because it can't find mysqlclient. Install it. You should have mysql server, client, common, and devel installed, mysqlclient is in one of them.
Since you don't say what version/distro of Linux you're using, where you get them, what provides it, and how to install it, is hard to say.
Please write clearly, and your question answers itself. Your make is failing, because it can't find mysqlclient. Install it. You should have mysql server, client, common, and devel installed, mysqlclient is in one of them.
Since you don't say what version/distro of Linux you're using, where you get them, what provides it, and how to install it, is hard to say.
OK
I have Red Hat 5 for PPC64 (IBM POWER)
I installed
Quote:
You should have mysql server, client, common, and devel installed, mysqlclient is in one of them.
I have all what i need to install (usr/lib/mysql and usr/lib64/mysql) sysbench.
I find "/usr/bin/ld: cannot find -lmysqlclient_r" (32 and 64 version)
I have all what i need to install (usr/lib/mysql and usr/lib64/mysql) sysbench.
I find "/usr/bin/ld: cannot find -lmysqlclient_r" (32 and 64 version)
But i still have the same error
Right...because you have NOT installed "all what you need". From a very brief search on http://rpm.pbone.net, the mysqlclient package supplies what you need. Since you're getting an error...you haven't installed it.
And you say RedHat 5....do you mean RedHat 5, or RedHat ENTERPRISE Linux 5? The two are very different...the first being VERY old. And if you have RHEL, you can contact RedHat support...they can give you a link to the exact package for your system, since you're paying for it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.