smithjd15 / playlist

A tool for converting, inspecting, and modifying media playlists. It can transform playlist targets into relative or absolute paths, and insert, append, reorder, remove or change entries. It can remove duplicate and unfound entries, randomize the order of entries and can convert between asx, cue, jspf, m3u, pls, wpl and xspf playlist formats.
GNU General Public License v3.0
5 stars 1 forks source link

TagLib linking issue on macOS #2

Open zhenhuaw-me opened 2 years ago

zhenhuaw-me commented 2 years ago

Seen TagLib linking issue on macOS Montrey (12.5.1).

Consolidate compiler generated dependencies of target playlist
[ 10%] Linking CXX executable playlist
ld: library not found for -ltag
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [playlist] Error 1
make[1]: *** [CMakeFiles/playlist.dir/all] Error 2
make: *** [all] Error 2
$ ls /usr/local/lib/libtag*.dylib
/usr/local/lib/libtag.1.18.0.dylib  /usr/local/lib/libtag.dylib         /usr/local/lib/libtag_c.0.dylib
/usr/local/lib/libtag.1.dylib       /usr/local/lib/libtag_c.0.0.0.dylib /usr/local/lib/libtag_c.dylib
$ make -j4
[ 10%] Linking CXX executable playlist
[100%] Built target playlist
zhenhuaw-me commented 2 years ago

Not sure if it's a machine depenent issue or related to how the TagLib linking rule is set.

smithjd15 commented 2 years ago

I don't have an OSX machine and therefore have no way of fixing and/or testing this. Patches welcome!