Compile error
hetsch opened this issue · comments
hetsch commented
Hi,
i get following error while trying to install your library.
go get github.com/ziutek/glib
# github.com/ziutek/glib
/tmp/go-build642310031/github.com/ziutek/glib/_obj/type.cgo2.o: In function `_cgo_4dd0e201dc87_Cfunc_g_thread_init':
/usr/share/go/src/pkg/github.com/ziutek/glib/type.go:81: undefined reference to `g_thread_init'
collect2: ld gab 1 als Ende-Status zurück
I've installed libglib2 and libglib2-dev with
sudo apt-get install libglib2.0 and libglib2.0-dev
My system is:
Ubuntu 12.04 LTS
Golang 1.0.1
Thank you!
(might this link has something to do with it?)
http://osdir.com/ml/commits.gnome/2011-10/msg08477.html)
pkg-config --cflags glib-2.0 gobject-2.0
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
hetsch commented
Thank's works perfect now.
Tried it on Ubuntu 11.04