@ccall for adslib.so

Hello,
I sucessfully used the TcAdsDll under windows which is used to communicate with beckhoff hardware. Now I m switching stuff to linux and want to use the library here which produces adslib.so TcAdsDll. Julia can load the library but any function I try to call reports undefined symbol. What should I do ?
Br Yves -Julien

If julia errors out because the symbol you’re trying to ccall it means that either you’re using the wrong name, or that the symbol is not visible. Check with

nm -D /path/to/adslib.so | grep '<symbol name>'

to find the function name and its visibility status.

1 Like

Thanks, that’s effectively the problem; this lib version does export only a part of the functions !