[blfs-dev] MariaDB: add -DWITH_EMBEDDED_SERVER=ON switch to default [Was: ... Amarok-2.8.0 ...]

Fernando de Oliveira famobr at yahoo.com.br
Sat Jun 7 05:04:27 PDT 2014


Em 07-06-2014 07:56, Armin K. escreveu:
> On 06/07/2014 02:00 AM, Magnus Larsson wrote:
>> Hello BLFS Support List <blfs-support at lists.linuxfromscratch.org>
>>
>> I get /usr/bin/ld: cannot find -lmysqld when building amarok-2.8.0.
>>
>> http://www.linuxfromscratch.org/blfs/view/svn/multimedia/amarok.html
>>
>> I have  kdelibs-4.13.0, MariaDB-10.0.11 and taglib-1.9.1 
>> I have cURL-7.37.0, libxml2-2.9.1, OpenSSL-1.0.1 and QJson-0.8.1,


>>
>> [ 65%] Built target amarok-sqlcollection_automoc
>> [ 67%] Built target amarok-sqlcollection
>> [ 67%] Built target amarok_collection-mysqlecollection_automoc
>> Linking CXX shared module ../../../../../../lib/amarok_collection-
>> mysqlecollection.so
>> /usr/bin/ld: cannot find -lmysqld
>> collect2: error: ld returned 1 exit status
>> src/core-
>> impl/collections/db/sql/mysqlecollection/CMakeFiles/amarok_collection-
>> mysqlecollection.dir/build.make:175: recipe for target 'lib/amarok_collection-
>> mysqlecollection.so' failed
>> make[2]: *** [lib/amarok_collection-mysqlecollection.so] Error 1
>> CMakeFiles/Makefile2:1830: recipe for target 'src/core-
>> impl/collections/db/sql/mysqlecollection/CMakeFiles/amarok_collection-
>> mysqlecollection.dir/all' failed
>> make[1]: *** [src/core-
>> impl/collections/db/sql/mysqlecollection/CMakeFiles/amarok_collection-
>> mysqlecollection.dir/all] Error 2
>> Makefile:126: recipe for target 'all' failed
>> make: *** [all] Error 2
>>
>> cmake reports mysqld as located on my system
>> -----------------------------------------------------------------------------
>> -- The following external packages were located on your system.
>> -- This installation will have the extra features provided by these packages.
>> -----------------------------------------------------------------------------


>>    * mysqld - Embedded MySQL Libraries
>>    * mysql - MySQL Server Libraries

>>    * ffmpeg - Libraries and tools for handling multimedia data


>>    * nepomuk-core - NepomukCore Libraries required by Nepomuk Collection

First, apologies, i had not read to end the post, and you (Magnus) have
all dependencies.

> 
> Did you build MariaDB with:
> 
> -DWITH_EMBEDDED_SERVER=ON: This switch enables compiling the embedded
> server library needed by certain applications, such as Amarok.
> 
> I don't see libmysqld.a in package contents section so I guess this flag
> isn't on by default.

So, Armin, this should be modified in MariaDB, right?

I will do it in my next commit.


-- 
[]s,
Fernando


More information about the blfs-dev mailing list