How can I flush characters in a .la file on Ubuntu Linux?

How can I compose characters in a .la file on Ubuntu Linux?

I get this communication error:

main.c:(.text+0xbfb): undefined reference to `Browser_new'

And I think my main.c is contacting libwebkit-1.0.la. So, how can I find out if libwebkit-1.0.la has the symbol "Browser_new"?

  CXXLD  libwebkit-1.0.la
  CCLD   Programs/GtkLauncher
+3
source share
1 answer

The problem may well be that you are using C, and libwebkit has C ++ characters. C ++ symbol names will be mutilated compared to what you can see in the included files.

In any case, to answer the question: .la is the libtool library. Usually it points to a .so file:

$ grep dlname libwebkit-1.0.la
dlname='libwebkit-1.0.so'

.so nm :

$ nm -D libwebkit-1.0.so
...

++, -C ++.

$ nm -D -C libwebkit-1.0.so
+4

Source: https://habr.com/ru/post/1752586/


All Articles