Matlab can not find any function from a shared library in Linux

view story

http://stackoverflow.com – This behavior is a little bit strange. I have created a shared library .so, and when I load the library, Matlab can not find any function. >> loadlibrary liblocation.so location_matlab.h alias LocationLib Warning: The function 'Init' was not found in the library > In loadlibrary at 421 But when I inspect the library, this function is present >> nm -Ca liblocation.so | grep Init 000000000000ef80 T ProcessInit() 0000000000014438 T Init() The header location_matlab.h is: void Init(void); This happens for all the functions, so when I load the library, what I have in Matlab (HowTos)