Problem building mysql gem

  • Thread starter Michael Satterwhite
  • Start date
M

Michael Satterwhite

I've just switched to Fedora and am trying to do a "gem install mysql".
Right at the beginning, I'm getting the error
------------------
find_library: checking for mysql_query() in -lmysqlclient...
-------------------
- no

"gcc -o conftest -I. -I/usr/lib/ruby/1.8/i686-linux -I.
-I/usr/local/include -g
-O2 conftest.c -L'/usr/local/lib' -Wl,-R'/usr/local/lib' -L'/usr/lib'
-Wl,-R'/
usr/lib' -rdynamic -Wl,-export-dynamic -lruby-static -lmysqlclient
-ldl -l
crypt -lm -lc"
conftest.c: In function ‘t’:
conftest.c:3: error: ‘mysql_query’ undeclared (first use in this
function)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top