How call other lib functions in a pass?

My pass has to call one function of a binary library. But when opt loads my pass, it tells me that the function is "undefined symbol".

I copy the library to /usr/lib, and run ldconfig, but this is unuseful.

Should I modify the Makefile? :frowning:

Thanks.

Xia

-------------------------------------------------------------------------------------AOC(¹Ú½Ý)17´çÒº¾§16ms£¤2888 http://design.163.com/aocmonitor/index.html