[Libreoffice] How to build mysql-connector extension on Mac OSX ?

Alexander Thurgood alex.thurgood at gmail.com
Fri Jun 17 05:22:02 PDT 2011


Le 17/06/11 12:51, Petr Mladek a écrit :

Hi Petr,

First, thanks for trying to help me sort this out.



> Please, have you tried the following?
> 
>    --with-libmysql-path="/usr/local/mysql-5.1.50-osx10.6-x86_64"



> I wrote in the previous mail that you need to define the path without
> the /lib subdir. For example, if you have /blabla/lib/libmysql.dylib,
> you need to use:
> 
>      --with-libmysql-path=/blabla
> 

Yes, I tried this already, but it still didn't work.


> Hmm, I see your original message:
> 
> --- cut ---
> checking for mysqlc module... OK
> checking for mysql pre-requisites... external Connector/C (libmysql)
> checking for libmysqlclient.dylib... configure: error: not found. Please
> specify proper path in --with-libmysql-path
> --- cut ---
> 
> I wonder why it writes libmysqlclient.dylib. I see "libmysql.dylib" in
> bootstrap/configure.in (libreoffice-3-4 branch).

That is, as I said in my initial post, because on Mac at least (don't
know about other platforms), the file that configure searches for, i.e.
libmysql.dylib does not exist. A "locate libmysql.dylib" returns no
answers, nor does a "find /usr -name libmysql.dylib.


So I edited configure.in to ask for the correct file name, hence the
different message.



Alex




More information about the LibreOffice mailing list