Error Unable To Find Mysql Headers Mysql.h Ubuntu
Contents |
Unable to find Mysql headers filemysql.h November 14, 2011 2 Comments Undoubtedly you have run into this problem while running a ./configure while compiling
Fatal Error: Daq.h: No Such File Or Directory
source code. I ran into this error when I was trying libmysqlclient-dev centos to setup Barnyard2 on Snort. The reason for the problem, is that your linux box
Mysql-devel
does not have the mysql developer package installed. On ubuntu go to the synaptic package manager and install libmysqld-dev Share this:TwitterLinkedInFacebookGoogleEmailMoreRedditPinterestTumblrLike this:Like Loading... Related Filed under barnyard2 Software About spuderspuder is a "super computer" support engineer by day, and tinkerer / hobbyist by night. 2 Responses to Unable to find Mysql headers filemysql.h Pingback: Problem installing snort barnyard2 | Ubuntu Info - James n Sheri.comUbuntu Info - James n Sheri.com Pingback: Ubuntu:Problem installing snort barnyard2 - Ubuntu Linux usr bin ld cannot find Questions Leave a Reply Cancel reply Enter your comment here... Fill in your details below or click an icon to log in: Email (required) (Address never made public) Name (required) Website You are commenting using your WordPress.com account. (LogOut/Change) You are commenting using your Twitter account. (LogOut/Change) You are commenting using your Facebook account. (LogOut/Change) You are commenting using your Google+ account. (LogOut/Change) Cancel Connecting to %s Notify me of new comments via email. Find Me Flickr Vimeo Twitter Flavors.me Search Spuder's Blog Search for: Blog Stats 103,903 hits Follow Blog via Email Enter your email address to follow this blog and receive notifications of new posts by email. Join 4 other followers Blog at WordPress.com. Send to Email Address Your Name Your Email Address Cancel Post was not sent - check your email addresses! Email check failed, please try again Sorry, your blog cannot share posts by email. %d bloggers like this:
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping https://spuder.wordpress.com/2011/11/14/unable-to-find-mysql-headers-file-mysql-h/ each other. Join them; it only takes a minute: Sign up mysql.h file can't be found up vote 15 down vote favorite 8 i'm trying to install connection between c++ and mysql in ubuntu 12.04. i've installed mysql-client, mysql-server, libmysqlclient15-dev, libmysql++-dev. but when i try to compile the code i got the error: mysql.h there is no such http://stackoverflow.com/questions/14604228/mysql-h-file-cant-be-found file. i looked in the folders, there is mysql.h file, i can't understand why it can't find it. here is my code: /* Simple C program that connects to MySQL Database server*/ #include
instructions: Windows Mac Red Hat Linux Ubuntu Click URL https://sourceforge.net/p/snort/mailman/message/17123610/ instructions: Right-click on ad, choose "Copy Link", then paste here → (This may not be possible with some types of ads) More http://serverfault.com/questions/115256/where-can-i-find-the-include-files-for-mysql-on-linux information about our ad policies X You seem to have CSS turned off. Please don't fill out this field. You seem error unable to have CSS turned off. Please don't fill out this field. Briefly describe the problem (required): Upload screenshot of ad (required): Select a file, or drag & drop file here. ✔ ✘ Please provide the ad click URL, if possible: Home Browse error unable to Snort Mailing Lists Snort Brought to you by: andrewbaker, joelesler, roesch Summary Files Reviews Support Wiki Mailing Lists snort-devel snort-openappid snort-sigs snort-users Re: [Snort-users] problems with barnyard, snort and mysql Re: [Snort-users] problems with barnyard, snort and mysql From: Kevin Smith
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Where can I find the include files for MySQL on Linux? up vote 3 down vote favorite 3 Where can I find the include files for MySQL on Linux? I looked in /usr/include/mysql according to this but they are not there. My apache web server works fine with MySQL 5.1 up and running with PHP 5, but I can't find where the includes directory is!! Thanks for your help! linux ubuntu mysql lamp share|improve this question edited Feb 22 '10 at 3:33 Ophidian 1,9481014 asked Feb 22 '10 at 2:38 deownefin what distro are you using? –Ophidian Feb 22 '10 at 2:41 Ubuntu 8.10 is the distro –deownefin Feb 22 '10 at 2:52 add a comment| 2 Answers 2 active oldest votes up vote 5 down vote accepted $ mysql_config --include On my system, this prints -I/usr/include/mysql If the directory revealed by mysql_config doesn't have the right include files, your installation may have been partial or may have been altered after the fact. From the documentation: mysql_config provides you with useful information for compiling your MySQL client and connecting it to MySQL.... --include Compiler options to find MySQL include files. share|improve this answer edited Feb 22 '10 at 3:05 answered Feb 22 '10 at 2:48 pilcrow 239215 Thanks! for the response –deownefin Feb 22 '10 at 3:08 not work for me, there is no mysql_config binary with mysql 5.5.35. :( –Jean-Luc Barat Sep 24 at 18:02 @Jean-Luc Barat, perhaps