[go-nuts] cgo can't find .so in same directory

2020-04-29 Thread Tamás Gulácsi
Tweak your ld.conf configs and call ldconfig till ldd finds all libs of your binary. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[go-nuts] cgo can't find .so in same directory

2020-04-29 Thread Dean Schulze
I'm following a simple example of using cgo to call a C library function from go. Executing the binary gives error while loading shared libraries: libperson.so: cannot open shared object file: No such file or director Here's