Hello,
libm is part of libc. Starting a few years ago, explicit linking to libm
was required. I remember patching Wt::Dbo for a long time in Debian to
enable some backend (SQLite IIRC) and I'd say it was upstreamed (albeit in
a modified form, i. e. the search for libm was being done at a more global
scope).
Anyway, does it still fail to find 'sin' ? Does that cause a problem? (lack
of sin is generally a good thing ;-)
On Mon, Jun 10, 2013 at 9:38 PM, John Robson <john.rob...@usp.br> wrote:
> Thank you Pau.
>
> In file: ./cmake/WtFindMysql.txt
>
> I replaced: SET(MYSQL_LIBRARY "mariadb;mariadbclient" CACHE STRING
> "Library that provides MySQL/MariaDB API (set to mysqlclient for mysql
> on unix; libmysql on windows)")
>
> To: SET(MYSQL_LIBRARY mysqlclient mariadb mariadbclient CACHE STRING
> "Library that provides MySQL/MariaDB API (set to mysqlclient for mysql
> on unix; libmysql on windows)")
>
> And now, cmake find MySQL: ** Wt::Dbo: building MySQL backend.
>
> But there is no package libm:
> $ aptitude show libm
> E: Unable to locate package libm
>
> John
>
> On 06/10/2013 06:58 AM, Pau Garcia i Quiles wrote:
> > Hello,
> >
> > 'sin' is in libm
> >
> > MySQL is not found because Wt is only looking for the MariaDB libraries,
> > not for libmysqlclient. The Debian and Ubuntu packages include this fix:
> >
> >
> http://patch-tracker.debian.org/patch/series/view/witty/3.3.0-1/02_find_libmysqlclient.dpatch
> >
> > Maybe it should be included upstream?
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
--
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest