sahib / glyr

Glyr is a music related metadata searchengine, both with commandline interface and C API
GNU Lesser General Public License v3.0
248 stars 24 forks source link

SOLVED: fails to build on FreeBSD #90

Open gearhead opened 5 years ago

gearhead commented 5 years ago

I run the make command and get this in return:

[bunch of messages] 
[ 73%] Building C object lib/CMakeFiles/glyr.dir/intern/backdrops/htbackdrops.c.o
[ 74%] Linking C shared library ../bin/libglyr.so
/usr/bin/ld: cannot find -lgthread-2.0
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make[2]: stopped in /usr/home/kgrider/glyr
*** Error code 1

Stop.
make[1]: stopped in /usr/home/kgrider/glyr
*** Error code 1

Stop.
make: stopped in /usr/home/kgrider/glyr
gearhead commented 5 years ago

Still struggling with this. Further info: I have the dependencies installed glib-2.56.3_2,1: /usr/local/lib/libgthread-2.0.so.0.5600.3 curl-7.63.0_1: cmake-3.13.2: sqlite-2.8.17_4:

This should build for /usr/local. How do I get it to use the libgthread-2.0?

gearhead commented 5 years ago

Figured it out... 'export LIBRARY_PATH=/usr/local/lib' Then executed 'make' Works fine, now. Apparently even though FreeBSD installs libraries in /usr/local/lib, make only looks in /usr/lib and /lib