How to list exported functions in a shared lib on Ubuntu

前端 未结 3 1545
小蘑菇
小蘑菇 2020-12-24 11:58

I have just built a shared lib on Ubuntu, and when I attempt to use the function, the application that loads the library is reporting \'xxx\' symbol not found.

I wan

3条回答
  •  旧巷少年郎
    2020-12-24 12:18

    Try the nm utility.

    GNU nm lists the symbols from object files objfile.... If no object files are listed as arguments, nm assumes the file a.out. [reference]

提交回复
热议问题