Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2009-05

fpc & mysql 5.0 in mac osx 10.5 intel

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

César Espinoza

how can I use mysql 5.0 in mac OS X 10.5 Intel?

I did it in OSX 10.4 ppc, but not in 10.5 Intel
I get the message ld: library not found for -llmysqlclient Thanks in advance

------- César Espinoza Soto ---------
Jonas Maebe
to César Espinoza
César Espinoza wrote
how can I use mysql 5.0 in mac OS X 10.5 Intel? I did it in OSX 10.4 ppc, but not in 10.5 Intel I get the message ld: library not found for -llmysqlclient

Install the MySQL libraries. They are not installed by default on either Mac OS X 10.4 or 10.5, so you always have to install them yourself (using fink, macports, from source, or an installer that you download from somewhere). Next, make sure you add the directory in which these libraries are located to the linker search path using the compiler's -Fl parameter.

Jonas