[Buildroot] [Bug 2371] QT MYSQL Module does not build when MySQL installed on the host

bugzilla at busybox.net bugzilla at busybox.net
Sun Aug 22 10:13:49 UTC 2010


--- Comment #8 from Paul Jones <paul at pauljones.id.au>  ---
Sorry for the delay.

Distro is Gentoo on x86_64 with mysql server + client installed.
Buildroot is latest git, using both internal or external crosstool-ng uClibc
toolchain (one at a time though...)
Problem occurs with QTe version 4.6.2 and 4.6.3

This is the output from config.tests/mysql

peejay at desktop
$ make -n
echo compiling mysql.cpp &&
--sysroot=/media/dev/buildroot-arm/output/staging -c -pipe -O2 -mtune=arm920t
-march=armv4t -mabi=aapcs-linux -msoft-float -D_LARGEFILE_SOURCE
-I/media/dev/buildroot-arm/output/staging/include -O2 -Wall -W 
-I../../../mkspecs/qws/linux-arm-g++ -I. -I/usr/include/mysql
-I/media/dev/buildroot-arm/output/staging/usr/include/mysql -o mysql.o
echo linking mysql &&
-L/media/dev/buildroot-arm/output/staging/usr/lib -Wl,-O1 -o mysql mysql.o    
-L/usr/lib64/mysql -lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto
-L/media/dev/buildroot-arm/output/staging/usr/lib/mysql -lmysqlclient 
peejay at desktop
$ make
compiling mysql.cpp
linking mysql
/usr/lib64/mysql/libmysqlclient.so: file not recognized: File format not
collect2: ld returned 1 exit status
make: *** [mysql] Error 1

Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the buildroot mailing list