Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SOLVED: fails to build on FreeBSD #90

Open
gearhead opened this issue Dec 29, 2018 · 2 comments
Open

SOLVED: fails to build on FreeBSD #90

gearhead opened this issue Dec 29, 2018 · 2 comments

Comments

@gearhead
Copy link

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
Copy link
Author

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
Copy link
Author

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

@gearhead gearhead changed the title fails to build on FreeBSD SOLVED: fails to build on FreeBSD Jan 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant