New dependencies in juju-core

Martin Packman martin.packman at canonical.com
Thu Jun 20 16:25:20 UTC 2013


On 20/06/2013, John Arbash Meinel <john at arbash-meinel.com> wrote:
>
> So you'll want to "go get launchpad.net/gwacl/..." once that lands.

And if you have a minimal environment like me, you'll need some other
steps to get that working:

$ go get launchpad.net/gwacl/...
# pkg-config --cflags libcurl
exec: "pkg-config": executable file not found in $PATH
$ sudo apt-get install pkg-config
...
$ go get launchpad.net/gwacl/...
# pkg-config --cflags libcurl
Package libcurl was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcurl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcurl' found
exit status 1


> I also wanted to let people know that 'go-curl' use cgo to bind to
> libcurl, so you'll probably need to:
>   apt-get install libcurl4-openssl-dev

Which then works.

Martin



More information about the Juju-dev mailing list