[SOLVED] - Understanding libraries and other pieces

Issues related to applications and software problems
Post Reply
User avatar
warron.french
Posts: 616
Joined: 2014/03/27 20:21:58

[SOLVED] - Understanding libraries and other pieces

Post by warron.french » 2019/03/08 01:57:09

I wrote an RPM recently and discovered something weird.

During the yum localinstall mycustom.rpm execution, I observed that there were several errors, which displayed Requires: lines.

I had Requires lines for several libraries (*.so.*) files; which using the find command some of them I found, and others I did not.

For the libraries I did find, I had references to things like:

Code: Select all

libc.so.1(GLIBC_2_3)(64-bit)
This is an example, possibly a poor one (sorry); however, it is good enough for my question.

The question I am trying to learn an answer to is; the reference to "GLIBC_2_3" ... that is a class reference from within the library, correct?
Last edited by warron.french on 2019/03/13 00:10:37, edited 1 time in total.
Thanks,
War


User avatar
warron.french
Posts: 616
Joined: 2014/03/27 20:21:58

Re: Understanding libraries and other pieces

Post by warron.french » 2019/03/08 13:59:53

Sorry chemal, I still am not positive if I understand.

Is the part inside the first set of () called a symbol?

I am looking to understand from an academic level, so that I can use the term appropriately when I run up against another problem.
Thanks,
War

chemal
Posts: 776
Joined: 2013/12/08 19:44:49

Re: Understanding libraries and other pieces

Post by chemal » 2019/03/08 16:26:09

The whole thing is called "symbol versioning". That's what you put into your search engine to find links like the two given above.

The symbol in your example is a group symbol. This is explained in detail in the second link.

User avatar
warron.french
Posts: 616
Joined: 2014/03/27 20:21:58

Re: Understanding libraries and other pieces

Post by warron.french » 2019/03/13 00:09:23

Chemal, you rock!

Thanks for the feedback.
Thanks,
War

Post Reply