开发者

What can cause the application to report Undefined symbol __shlinit from a .sl library in HP-UX 11.00?

I am building a .sl library using aCC in HP-UX 11.00. I am able to build it and then link it to the application also successfully.

But, when I execute the exe, it giv开发者_如何学运维es the below error

/usr/lib/dld.sl: Unresolved Symbol: __shlinit(code) from mylib.sl

Any pointers towards resolving this problem will be helpful


Is mylib.sl your library I take it?

Is your library perhaps calling a function called shlinit() at any point? If not more probably another library function that your code, or the application code, is calling then goes on to call shlinit().

shlinit()is obviously implemented in another library that you do not have installed or is not installed in the correct place or somewhere your dynamic link path points to.

You need to find which library implements that function and ensure it is correctly installed.

A quick Google search gives the following link which may be useful, but now I have to go:

unresolved symbol: __shlinit during shlload()

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜