Re: [go-nuts] Segmentaion fault / static binary

2016-08-09 Thread willat8
I am having the exact same problem with the same build environment. If I rename /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 to something different then the binary runs no problems. So libcrypto is being statically linked. But why would a statically linked binary care about the system copy of libcryp

Re: [go-nuts] Segmentaion fault / static binary

2016-07-18 Thread James Bardin
FWIW, the "github.com/xeodou/go-sqlcipher" library isn't being linked correctly, and it seems to be trying to load /lib/x86_64-linux-gnu/libcrypto.so at runtime. Not sure what's at fault off hand, but "github.com/xeodou/go-sqlcipher" might be making some assumptions about being dynamically lin

Re: [go-nuts] Segmentaion fault / static binary

2016-07-18 Thread Konstantin Khomoutov
On Mon, 18 Jul 2016 05:38:50 -0700 (PDT) kumargv wrote: > But for me still it is giving same error > I also updated to amd64 with go1.7rc1 > > these are the dependence of the sample program > > linux-vdso.so.1 => (0x7ffca8fba000) > libcrypto.so.1.0.0 > => /lib/x86_64-linu

Re: [go-nuts] Segmentaion fault / static binary

2016-07-18 Thread Peter Waller
Sorry, I don't have any further suggestions. The only other things that spring to mind: * I tested on Ubuntu 15.10, with all of my packages uptodate. The distro could matter, in principle. * Is everything uptodate? Do you have the latest version of github.com/xeodou/go-sqlcipher and its dependenci

Re: [go-nuts] Segmentaion fault / static binary

2016-07-18 Thread kumargv
But for me still it is giving same error I also updated to amd64 with go1.7rc1 these are the dependence of the sample program linux-vdso.so.1 => (0x7ffca8fba000) libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x7fa93c071000) libdl.so.2 => /lib/

Re: [go-nuts] Segmentaion fault / static binary

2016-07-18 Thread kumargv
go 1.6.2 OS 16.04 LTS ubuntu On Monday, July 18, 2016 at 5:25:21 PM UTC+5:30, Peter Waller wrote: > > I just tested this here on amd64 with go1.7rc1, and it works fine with no > crash, so I don't know why it is crashing for you. > > What version of go are you using? > -- You received this messa

Re: [go-nuts] Segmentaion fault / static binary

2016-07-18 Thread Peter Waller
I just tested this here on amd64 with go1.7rc1, and it works fine with no crash, so I don't know why it is crashing for you. What version of go are you using? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and sto

[go-nuts] Segmentaion fault / static binary

2016-07-18 Thread kumargv
This is the Link of program what i am compiling https://play.golang.org/p/drJGhsWiEi when i am using- go build program.go ,it generating ->program(binary) file ./program program: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2