dylib icon indicating copy to clipboard operation
dylib copied to clipboard

shared linux library dlsym error

Open UMUTBAYGUT opened this issue 3 years ago • 1 comments

Hello , When I used this code , I got error.

lib2 = dylib.NewLazyDLL("./libs/libWrapper.so")

dlsym err: libs/libWrapper.so: undefined symbol: MySyscall

What is the reason ?

I can use this library with 'dlfcn' , like this :

handle := C.dlopen(pathLib, C.RTLD_LAZY)

UMUTBAYGUT avatar Feb 27 '22 11:02 UMUTBAYGUT

Hello! This error can be ignored. It used to be a prompt used in the govcl project, and now I have removed it. After the update, this error message no longer appears.

ying32 avatar Feb 27 '22 12:02 ying32