Andrew Stitcher created PROTON-1645:
---------------------------------------

             Summary: Building go binding with libuv fails
                 Key: PROTON-1645
                 URL: https://issues.apache.org/jira/browse/PROTON-1645
             Project: Qpid Proton
          Issue Type: Bug
          Components: go-binding
    Affects Versions: proton-c-0.18.0
         Environment: Fedora 25, go 1.7.6, libuv 1.10.2

            Reporter: Andrew Stitcher
            Assignee: Alan Conway


When proton-c is built with the libuv proactor the go binding build fails to 
link with:
{noformat}
[3/7] cd /home/andrew/Work/proton/bld-libuv && 
/...rew/Work/proton/src/examples/go/proton/broker.go
FAILED: examples/go/CMakeFiles/go_example_proton_broker 
cd /home/andrew/Work/proton/bld-libuv && /usr/bin/python 
/home/andrew/Work/proton/src/proton-c/env.py -- 
GOPATH=/home/andrew/Work/proton/src/proton-c/bindings/go 
CGO_CFLAGS=-I/home/andrew/Work/proton/src/proton-c/include\ 
-I/home/andrew/Work/proton/bld-libuv/proton-c/include 
CGO_LDFLAGS=-L/home/andrew/Work/proton/bld-libuv/proton-c 
PN_INTEROP_DIR=/home/andrew/Work/proton/src/tests/interop /usr/bin/go build 
-ldflags -r\ /home/andrew/Work/proton/bld-libuv/proton-c -o 
/home/andrew/Work/proton/bld-libuv/examples/go/proton/broker 
/home/andrew/Work/proton/src/examples/go/proton/broker.go
# command-line-arguments
/usr/lib/golang/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
/usr/bin/ld: cannot find -lqpid-proton-core
/usr/bin/ld: cannot find -lqpid-proton-core
/usr/bin/ld: cannot find -lqpid-proton-core
collect2: error: ld returned 1 exit status

{noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to