MySQL Connector Extension Build on Linux 32bit

Alex Thurgood alex.thurgood at gmail.com
Wed Oct 16 09:33:54 CEST 2013


As some of you will probably know by now due, I attempt to provide the 
mysql native connector extension for Linux 32 bit, 64 bit and OSX 64bit.

At present, the 32bit Linux build doesn't work on other people's 
machines with a similar base OS, whereas the Linux 64bit does. There is 
a noticeable difference in size between the two OXT files, and 
comparison of the two shows the following :

32bit extension :
alex at Aspire-X1430:/home/Development/libo/core$ unzip -l 
workdir/unxlngi6.pro/Extension/mysql-connector-ooo.oxt
Archive:  workdir/unxlngi6.pro/Extension/mysql-connector-ooo.oxt
   Length      Date    Time    Name
---------  ---------- -----   ----
         0  2013-09-24 11:42   META-INF/
      1388  2013-10-15 12:57   META-INF/manifest.xml
       311  2013-10-14 14:45   components.rdb
       255  2013-10-15 12:13   description-en-US.txt
      1737  2013-10-15 12:57   description.xml
       838  2013-09-24 10:20   images/extension_32.png
    667046  2013-10-14 14:15   libmysqlcppconn.so
    484084  2013-10-14 14:29   mysqlc.uno.so
         0  2013-09-24 11:42   registration/
    436207  2013-10-15 12:57   registration/LICENSE
      3561  2013-09-24 10:21 
registry/data/org/openoffice/Office/DataAccess/Drivers.xcu
---------                     -------
   1595427                     11 files
alex at Aspire-X1430:/home/Development/libo/core$ ls -an 
workdir/unxlngi6.pro/Extension/mysql-connector-ooo.oxt
-rw-rw-r-- 1 1000 0 482261 oct.  15 12:57 
workdir/unxlngi6.pro/Extension/mysql-connector-ooo.oxt



64bit extension:
alex at Aspire-X1430:~$ unzip -l Downloads/mysql-connector-ooo.oxt
Archive:  Downloads/mysql-connector-ooo.oxt
   Length      Date    Time    Name
---------  ---------- -----   ----
         0  2013-10-07 13:29   META-INF/
      1391  2013-10-11 16:36   META-INF/manifest.xml
       311  2013-10-11 16:36   components.rdb
       255  2013-10-11 16:35   description-en-US.txt
      1743  2013-10-11 16:36   description.xml
       838  2013-10-07 13:04   images/extension_32.png
   5113839  2013-10-11 15:06   libmysqlcppconn.so
   3802154  2013-10-11 16:35   mysqlc.uno.so
         0  2013-10-07 13:29   registration/
    436207  2013-10-11 16:36   registration/LICENSE
      3561  2013-10-07 13:04 
registry/data/org/openoffice/Office/DataAccess/Drivers.xcu
---------                     -------
   9360299                     11 files
alex at Aspire-X1430:~$ ls -an Downloads/mysql-connector-ooo.oxt
-rw------- 1 1000 1000 2587648 oct.  16 07:59 
Downloads/mysql-connector-ooo.oxt


What I'm failing to understand is why this is happening. The basic build 
systems are based on Ubuntu 13.04 Raring, and use exactly the same build 
switches, the only difference being that the 64bit OS is Linux Mint 15 
Olivia (based on Ubuntu 13.04), and the 32bit is a default Ubuntu 13.04 
Raring. Something is obviously failing to be included during the 32bit 
build, but what ?

64bit :
   5113839  2013-10-11 15:06   libmysqlcppconn.so
   3802154  2013-10-11 16:35   mysqlc.uno.so

32bit :
    667046  2013-10-14 14:15   libmysqlcppconn.so
    484084  2013-10-14 14:29   mysqlc.uno.so


Any help much appreciated.



Alex








More information about the LibreOffice mailing list