Aide : problem witj taglib

Festus Hagen festushagenlists at yahoo.com
Wed May 9 19:43:25 UTC 2018


Do the examples work?
A stab in the dark ... Static vs. Shared, Ensure the link types are the same.
Taglib defaults to static and requires TAGLIB_STATIC to be defined in your app.

-Enjoyfh : )_~

      From: "gentil.ecureuil at free.fr" <gentil.ecureuil at free.fr>
 To: taglib-devel at kde.org 
 Sent: Sunday, May 6, 2018 3:58 PM
 Subject: Aide : problem witj taglib
   
Hi,

I am with debian stretch.

I compiled taglib.

$ make install
[ 98%] Built target tag
[100%] Built target tag_c
Install the project...
-- Install configuration: ""
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/bin/taglib-config
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/lib/pkgconfig/taglib.pc
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/lib/libtag.a
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/tag.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/fileref.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/audioproperties.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/taglib_export.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/taglib_config.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/taglib.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/tstring.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/tlist.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/tlist.tcc
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/tstringlist.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/tbytevector.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/tbytevectorlist.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/tbytevectorstream.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/tiostream.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/tfile.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/tfilestream.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/tmap.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/tmap.tcc
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/tpropertymap.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/trefcounter.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/tdebuglistener.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/mpegfile.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/mpegproperties.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/mpegheader.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/xingheader.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/id3v1tag.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/id3v1genres.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/id3v2extendedheader.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/id3v2frame.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/id3v2header.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/id3v2synchdata.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/id3v2footer.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/id3v2framefactory.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/id3v2tag.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/attachedpictureframe.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/commentsframe.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/eventtimingcodesframe.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/generalencapsulatedobjectframe.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/ownershipframe.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/popularimeterframe.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/privateframe.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/relativevolumeframe.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/synchronizedlyricsframe.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/textidentificationframe.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/uniquefileidentifierframe.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/unknownframe.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/unsynchronizedlyricsframe.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/urllinkframe.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/chapterframe.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/tableofcontentsframe.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/podcastframe.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/oggfile.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/oggpage.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/oggpageheader.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/xiphcomment.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/vorbisfile.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/vorbisproperties.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/oggflacfile.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/speexfile.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/speexproperties.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/opusfile.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/opusproperties.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/flacfile.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/flacpicture.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/flacproperties.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/flacmetadatablock.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/apefile.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/apeproperties.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/apetag.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/apefooter.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/apeitem.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/mpcfile.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/mpcproperties.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/wavpackfile.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/wavpackproperties.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/trueaudiofile.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/trueaudioproperties.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/rifffile.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/aifffile.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/aiffproperties.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/wavfile.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/wavproperties.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/infotag.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/asffile.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/asfproperties.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/asftag.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/asfattribute.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/asfpicture.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/mp4file.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/mp4atom.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/mp4tag.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/mp4item.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/mp4properties.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/mp4coverart.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/modfilebase.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/modfile.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/modtag.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/modproperties.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/itfile.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/itproperties.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/s3mfile.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/s3mproperties.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/xmfile.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/xmproperties.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/lib/libtag_c.a
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib/tag_c.h
-- Installing: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/lib/pkgconfig/taglib_c.pc
    

Now, I compile my applicattion VVV.

$ cmake 
-DCMAKE_INSTALL_PREFIX=/home/anne/sda1/anne/Documents/anne/linux/vvv-8/VVV-1.3.0-x86_64 
 
-DFB_LIB=/home/anne/sda1/anne/Documents/anne/linux/vvv-8/VVV-1.3-src/firebird_runtime/firebird/libfbembed.so 
 
-DFB_EMBEDDED_PATH=/home/anne/sda1/anne/Documents/anne/linux/vvv-8/VVV-1.3-src/firebird_runtime/firebird 
 
-DTAGLIB_LIB=/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/lib/libtag.a 
 
-DTAGLIB_INCLUDE_PATH=/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib 
.
-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found wxWidgets: 
-L/usr/lib/x86_64-linux-gnu;-pthread;;;-lwx_gtk2u_html-3.0;-lwx_gtk2u_adv-3.0;-lwx_gtk2u_core-3.0;-lwx_baseu-3.0;-lwx_baseu_net-3.0;-lwx_gtk2u_aui-3.0;-lwx_gtk2u_xrc-3.0;-lwx_gtk2u_qa-3.0;-lwx_gtk2u_richtext-3.0 
(found version "3.0.2")
-- TagLib header files path: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/include/taglib
-- TagLib: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/lib/libtag.a
-- Firebird interface: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/VVV-1.3-src/firebird_runtime/firebird/libfbembed.so
-- Embedded firebird files path: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/VVV-1.3-src/firebird_runtime/firebird
-- Configuring done
-- Generating done
-- Build files have been written to: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/VVV-1.3-src

$ make
Scanning dependencies of target data_interface
[  2%] Building CXX object 
src/data_interface/CMakeFiles/data_interface.dir/base_db.cpp.o
[  5%] Building CXX object 
src/data_interface/CMakeFiles/data_interface.dir/base_rec.cpp.o
[  7%] Building CXX object 
src/data_interface/CMakeFiles/data_interface.dir/data_error.cpp.o
[ 10%] Building CXX object 
src/data_interface/CMakeFiles/data_interface.dir/fb_base_rec.cpp.o
[ 12%] Building CXX object 
src/data_interface/CMakeFiles/data_interface.dir/fb_files.cpp.o
[ 15%] Building CXX object 
src/data_interface/CMakeFiles/data_interface.dir/fb_files_audio_metadata.cpp.o
[ 17%] Building CXX object 
src/data_interface/CMakeFiles/data_interface.dir/fb_paths.cpp.o
[ 20%] Building CXX object 
src/data_interface/CMakeFiles/data_interface.dir/fb_virtual_files.cpp.o
[ 22%] Building CXX object 
src/data_interface/CMakeFiles/data_interface.dir/fb_virtual_paths.cpp.o
[ 25%] Building CXX object 
src/data_interface/CMakeFiles/data_interface.dir/fb_volumes.cpp.o
[ 27%] Building CXX object 
src/data_interface/CMakeFiles/data_interface.dir/files.cpp.o
[ 30%] Building CXX object 
src/data_interface/CMakeFiles/data_interface.dir/files_audio_metadata.cpp.o
[ 32%] Building CXX object 
src/data_interface/CMakeFiles/data_interface.dir/firebird_db.cpp.o
[ 35%] Building CXX object 
src/data_interface/CMakeFiles/data_interface.dir/paths.cpp.o
[ 37%] Building CXX object 
src/data_interface/CMakeFiles/data_interface.dir/virtual_files.cpp.o
[ 40%] Building CXX object 
src/data_interface/CMakeFiles/data_interface.dir/virtual_paths.cpp.o
[ 42%] Building CXX object 
src/data_interface/CMakeFiles/data_interface.dir/volumes.cpp.o
[ 45%] Linking CXX static library libdata_interface.a
[ 45%] Built target data_interface
Scanning dependencies of target ibpp
[ 47%] Building CXX object 
src/ibpp/core/CMakeFiles/ibpp.dir/all_in_one.cpp.o
[ 50%] Linking CXX static library libibpp.a
[ 50%] Built target ibpp
Scanning dependencies of target vvv
[ 52%] Building CXX object src/CMakeFiles/vvv.dir/audio_metadata.cpp.o
[ 55%] Building CXX object src/CMakeFiles/vvv.dir/catalog_volume.cpp.o
[ 57%] Building CXX object 
src/CMakeFiles/vvv.dir/catalog_volume_functions.cpp.o
[ 60%] Building CXX object 
src/CMakeFiles/vvv.dir/choose_virtual_folder.cpp.o
[ 62%] Building CXX object src/CMakeFiles/vvv.dir/chooselang.cpp.o
[ 65%] Building CXX object src/CMakeFiles/vvv.dir/convert_db_unicode.cpp.o
[ 67%] Building CXX object src/CMakeFiles/vvv.dir/decode_search_string.cpp.o
[ 70%] Building CXX object src/CMakeFiles/vvv.dir/dlg_file_information.cpp.o
[ 72%] Building CXX object src/CMakeFiles/vvv.dir/exportdata.cpp.o
[ 75%] Building CXX object src/CMakeFiles/vvv.dir/long_task_beep.cpp.o
[ 77%] Building CXX object src/CMakeFiles/vvv.dir/mainframe.cpp.o
[ 80%] Building CXX object src/CMakeFiles/vvv.dir/object_description.cpp.o
[ 82%] Building CXX object src/CMakeFiles/vvv.dir/opencatalog.cpp.o
[ 85%] Building CXX object src/CMakeFiles/vvv.dir/restore.cpp.o
[ 87%] Building CXX object src/CMakeFiles/vvv.dir/settings.cpp.o
[ 90%] Building CXX object src/CMakeFiles/vvv.dir/update_volume.cpp.o
[ 92%] Building CXX object src/CMakeFiles/vvv.dir/utils.cpp.o
[ 95%] Building CXX object src/CMakeFiles/vvv.dir/vvv.cpp.o
[ 97%] Building CXX object src/CMakeFiles/vvv.dir/window_position.cpp.o
[100%] Linking CXX executable vvv
/usr/bin/ld: 
/home/anne/sda1/anne/Documents/anne/linux/vvv-8/taglib-release/lib/libtag.a(tzlib.cpp.o): 
référence au symbole non défini «inflate»
//lib/x86_64-linux-gnu/libz.so.1: error adding symbols: DSO missing from 
command line
collect2: error: ld returned 1 exit status
src/CMakeFiles/vvv.dir/build.make:566 : la recette pour la cible 
« src/vvv » a échouée
make[2]: *** [src/vvv] Erreur 1
CMakeFiles/Makefile2:91 : la recette pour la cible 
« src/CMakeFiles/vvv.dir/all » a échouée
make[1]: *** [src/CMakeFiles/vvv.dir/all] Erreur 2
Makefile:149 : la recette pour la cible « all » a échouée
make: *** [all] Erreur 2

-----

Why I have the problem with 'libtag.a(tzlib.cpp.o): référence au symbole 
non défini «inflate»'

What to do?

thank you
Anne


   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/taglib-devel/attachments/20180509/20e5f739/attachment-0001.html>


More information about the taglib-devel mailing list