Impossible to use autotools to compile a MySQL client program?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
How can I get autotools to allow projects to be compiled with the MySQL client library? Why does `allegro-config --libs` work, but NOT `mysql_config --libs`?
Why does autotools create an editor-editor.o file, instead of an editor.o file (like when you run gcc -o editor editor.c `allegro-config --cflags` `mysql_config --cflags` `allegro-config --libs` `mysql_config --libs` manually?)
Is there any way to force autotools to link and compile in one step, instead of two, since it somehow seems that the editor-editor.o file produced in autofools two-step approach is unlinkable with libmysqlclient.a???
ANY help appreciated - hours and hours spent on this with zero results...