[QtonPi] Bakeqtpi for osx updated

Pablo Rogina pablojr at gmail.com
Fri Oct 12 17:13:11 CEST 2012


Symlink under ~/opt/rasp-pi-rootfs/usr/local/ to the rescue?

On Fri, Oct 12, 2012 at 12:05 PM, Michael Taubert <info at arachnodroid.de> wrote:
> Hi!
>
> Though I've got mysql installed, I still got undefined references to mysql.
>
> According to the manpage, gcc's --sysroot option cause gcc to search for
> these headers and libs inside the rasp-pi-rootfs/, doesn't it? But there is
> no mysql in ~/opt/rasp-pi-rootfs/usr/local/.
>
> There would be no chance to get /usr/local/mysql/... to be recognized even.
>
> Any ideas?
>
> - Michael
>
> Am 11.10.2012 um 15:03 schrieb Laszlo Papp:
>
> On Thu, Oct 11, 2012 at 2:00 PM, Michael Taubert <info at arachnodroid.de>
> wrote:
>>
>> Hi!
>>
>> I've got undefined references to mysql when compiling QtBase.
>
>
> From Thiago Macieira:
>
> "please do not capitalise qtbase: it's the name of the Git repository, not
> the name of a module or product."
>
>
> "Make failed for QTBase" as stated by bakeqtpi.bash. ;)
>
>
>
>>
>> qsql_mysql.cpp:(.text+0x3530): undefined reference to `mysql_init'
>>
>> Anybody confirm that I just need to install mysql with 'brew mysql'?
>
>
> You have to have the development files installed and recognized for sure.
>
> Laszlo
>
>
>
> _______________________________________________
> QtonPi mailing list
> QtonPi at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qtonpi
>


More information about the QtonPi mailing list