cztomczak / cef2go

Go lang bindings for the Chromium Embedded Framework (CEF)
https://groups.google.com/d/forum/cef2go
Other
882 stars 127 forks source link

error while loading shared libraries: libcef.so (sandboxing) #20

Closed timfayz closed 9 years ago

timfayz commented 9 years ago

Hello, I can't make "Hello world" example successfully.

First of all, it's difficult to understand where to place builded/installed CzarekTomczak/cef2go repository or how to structure the code.

After some attempts, I make the following:

#I add the root of cef2go repository into ~/.profile file:
#export GOPATH=$HOME/cloud/go:$HOME/cloud/go/src/github.com/CzarekTomczak/cef2go
~/cloud/go/src/github.com/CzarekTomczak/cef2go
#Create dead simple project:
~/cloud/go/src/myapp/app.go

After that, I try to go run app.go in the project directory, but I get the following:

/tmp/go-build526896982/command-line-arguments/_obj/exe/app: error while loading shared libraries: libcef.so: cannot open shared object file: No such file or directory
exit status 127

What need I do?

timfayz commented 9 years ago

Please create an issue in the tracker.

As you asked, I opened this issue, but you just close it..) What is it need for?