Hello BLFS Support List <[email protected]>

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,

uname -a
Linux lfs 3.14.1 #3 SMP Fri Jun 6 17:25:28 CEST 2014 x86_64 GNU/Linux
 
cmake -DCMAKE_INSTALL_PREFIX=$KDE_PREFIX \
      -DCMAKE_BUILD_TYPE=Release         \
      -DKDE4_BUILD_TESTS=OFF             \
      -Wno-dev .. &&
make

I get:

[ 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.
-----------------------------------------------------------------------------
   * kdelibs - The toolkit Amarok uses to build
   * QtOpenGL - Required for the spectrum analyzer
   * mysqld - Embedded MySQL Libraries
   * mysql - MySQL Server Libraries
   * zlib - zlib
   * qca2 - Qt Cryptographic Architecture
   * QJson - Qt JSON Parser used for the Playdar Collection
   * ffmpeg - Libraries and tools for handling multimedia data
   * GDK-PixBuf - Support for artwork on iPod audio devices via GDK-PixBuf
   * curl - cURL provides the necessary network libraries required by 
mp3tunes.
   * libxml2 - LibXML2 is an XML parser required by mp3tunes.
   * openssl or libgcrypt - OpenSSL or GNU Libgcrypt provides cryptographic 
functions required by mp3tunes.
   * Qt4 Glib support - Qt4 must be compiled with glib support for mp3tunes
   * gobject - Required by libgpod and mp3tunes.
   * glib2 - Required by libgpod and mp3tunes
   * nepomuk-core - NepomukCore Libraries required by Nepomuk Collection
   * Soprano - Soprano libraries required by Nepomuk Collection
   * taglib - Support for Audio metadata.
   * taglib - Additional support for Audio metadata of mod, s3m, it and xm 
files.
   * taglib - Additional support for Audio metadata of opus files.

Best regards,

Magnus





-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to