I'm not getting along :)
The -linkshared option creates a lib not an executable, otherwise it works.
Le jeudi 4 février 2021 à 08:48:02 UTC+1, Christophe Valmir a écrit :
> Something else interesting :
>
> ron :~/inceptionv3/test_go$ ldd ./test_go
> linux-vdso.so.1 (0x007f7a3d1000)
>
Something else interesting :
ron :~/inceptionv3/test_go$ ldd ./test_go
linux-vdso.so.1 (0x007f7a3d1000)
libstd.so => not found
ron :~/inceptionv3/test_go$ ./test_go
Illegal instruction
ron :~/inceptionv3/test_go$ file ./test_go
./test_go: ELF 64-bit LSB shared object, ARM aarch64,
I make a test with small program and it's a option " -shared" only into
CGO_LDFLAGS which causes me problem.
If I don't use it of course I can't use dynamic libs. Do you think the
libstd.so program?
ron:~/test_go$ ldd ./test_go
linux-vdso.so.1 (0x007f87ebc000)
libstd.so => /home/ron