Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


On Sun, Oct 20, 2013 at 10:08:03AM +0200, Alexander Thurgood wrote:
Le 19/10/2013 23:52, Lionel Elie Mamane a écrit :

--enable-ext-mariadb-connector --with-system-mariadb
--enable-bundle-mariadb
GNU/Linux distributions will want to use --disable-bundle-mariadb
(which is the default), while people distributing an .oxt for
"general" consumption (cross-distro GNU/Linux, MacOS X, Microsoft
Windows, ...) will want --enable-bundle-mariadb.

On master, with those switches on Linux 32bit Ubuntu 13.04, I now
get a configure error :

checking for MariaDB Client library... includes
'-I/usr/include/mysql -fno-omit-frame-pointer -g -pipe
-Wno-uninitialized  -g -static-libgcc -fno-omit-frame-pointer
-fno-strict-aliasing  -DMY_PTHREAD_FASTMUTEX=1', libraries
'-L/usr/lib -lmysqlclient_r -lpthread -lz -lm -lssl -lcrypto -ldl'
checking whether to bundle the MySQL/MariaDB client library... yes
checking for libmysqlclient_r.so in /usr/lib... configure: error: not found.
Error running configure at /home/Development/libo/core/autogen.sh line 209.
make: *** [/home/Development/libo/core/config_host.mk] Erreur 2

Please show me the output of:
 mysql_config --variable=pkglibdir

It should say "/usr/lib/i386-linux-gnu", but it seems that on your
machine it says "/usr/lib". Are you doing anything remotely out of the
ordinary, like e.g. using a chroot, a different MySQL development
package than the Ubuntu one, ...?

To try to debug the mysql_config script, show me the (stderr) output of:

 bash -x mysql_config --variable=pkglibdir

To work around the issue, you can in LibreOffice's configure.ac,
replace the line
            LIBMARIADB_PATH=$($MARIADBCONFIG --variable=pkglibdir)
by
            LIBMARIADB_PATH=/usr/lib/i386-linux-gnu
but in the end, I'd like to get to the bottom of the problem and solve
it :)

-- 
Lionel

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.