tinyb icon indicating copy to clipboard operation
tinyb copied to clipboard

Cmake error library not found for -lglib-2.0

Open tuzzo77 opened this issue 7 years ago • 4 comments

Hi after first command: " cmake .. -DBUILDJAVA=ON" without errors, i lanched "make" but the command generate the following error:

[ 32%] Linking CXX shared library libtinyb.dylib ld: library not found for -lglib-2.0 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Can anyone help me? Thanks

tuzzo77 avatar Oct 30 '18 14:10 tuzzo77

Same problem for me, could be interesting to get info :-)

jvervier avatar Nov 30 '18 10:11 jvervier

Check after install glib-2.0 sudo apt install glib-2.0

tommyNy avatar Dec 06 '18 12:12 tommyNy

Actually in Ubuntu 19.04 I have installed some additional packages, i.e.

apt install libglib2.0-dev pkg-config cmake

After this step (and some adjustments for building it in openJDK 10) it works.

Heckie75 avatar Apr 30 '19 19:04 Heckie75

apt install libglib2.0-dev fixes this issue for me.

tswaehn avatar Dec 29 '20 15:12 tswaehn