?

Log in

No account? Create an account
entries friends calendar profile my webpage Previous Previous Next Next
Looking for a geek. - Tina Marie's Ramblings
Red hair and black leather, my favorite colour scheme...
skywhisperer
skywhisperer
Looking for a geek.
I'm having problems getting PHP to talk to mySQL - the built-in support doesn't like mySQL version 4, and I can't get make to link against the real client, even though it should.

I'm pulling my hair out. Anyone done this?

(I'm hoping that by posting this and publicly admitting I'm an idiot, I'll switch back to my root window and say, "Ah! I see!"...

Tags:

3 comments or Leave a comment
Comments
jpallan From: jpallan Date: May 19th, 2005 12:14 am (UTC) (Link)
Poke crschmidt. Really. :)
alioth1 From: alioth1 Date: May 21st, 2005 08:24 am (UTC) (Link)
Make sure you're not trying to link against an old version of MySQL (check your library path, if you built MySQL 4 from source everything would have ended up in /usr/local which might be after /usr in your linker's path to find libraries to link against so it may be trying to link against old libs). Also, unless you have special needs for your PHP build, consider installing your distro's MySQL 4 PHP modules. I think pretty much any recent distro (save Debian of course :-)) is all MySQL 4 now.

Also try pasting one of the link errors into Google. You'd be amazed how often you can find solutions just by pasting an error message into a search engine.
skywhisperer From: skywhisperer Date: May 23rd, 2005 02:26 pm (UTC) (Link)
Pope got me fixed. I was missing one of the compiler options...
3 comments or Leave a comment