E
E
Evgeny Ivanovich2019-09-09 02:39:50
linux
Evgeny Ivanovich, 2019-09-09 02:39:50

In what cases does an undefined symbol error occur in linux libraries?

In what cases does it happen that an undefined symbol error occurs when loading a library?
Library function not found?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
jcmvbkbc, 2019-09-09
@jcmvbkbc

How to debug this process?

By setting the environment variables LD_DEBUG and LD_DEBUG_OUTPUT before running the program and looking at the resulting log. See man ld.so .

C
CityCat4, 2019-09-09
@CityCat4

As a rule - when either is too old and the program refers to it as new - usually occurs when the author of the lib is a weirdo and does not increase the build number. Or vice versa - the old source is linked to the new one, the new one doesn't have such names anymore.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question