<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://www.vigyanwiki.in/index.php?action=history&amp;feed=atom&amp;title=Soname</id>
	<title>Soname - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.vigyanwiki.in/index.php?action=history&amp;feed=atom&amp;title=Soname"/>
	<link rel="alternate" type="text/html" href="https://www.vigyanwiki.in/index.php?title=Soname&amp;action=history"/>
	<updated>2026-04-06T13:49:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://www.vigyanwiki.in/index.php?title=Soname&amp;diff=224585&amp;oldid=prev</id>
		<title>Manidh: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://www.vigyanwiki.in/index.php?title=Soname&amp;diff=224585&amp;oldid=prev"/>
		<updated>2023-07-26T05:31:27Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:01, 26 July 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en-GB&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Manidh</name></author>
	</entry>
	<entry>
		<id>https://www.vigyanwiki.in/index.php?title=Soname&amp;diff=224584&amp;oldid=prev</id>
		<title>wikipedia&gt;Cedar101: /* Name */ lang=&quot;console&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.vigyanwiki.in/index.php?title=Soname&amp;diff=224584&amp;oldid=prev"/>
		<updated>2023-03-06T08:00:50Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Name: &lt;/span&gt; lang=&amp;quot;console&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{short description|Field of data in a shared object file}}&lt;br /&gt;
{{more citations needed|date=July 2014}}&lt;br /&gt;
{{lowercase}}&lt;br /&gt;
In [[Unix]] and [[Unix-like]] operating systems, a '''soname''' is a field of data in a [[shared object]] file.&amp;lt;ref&amp;gt;{{cite web&lt;br /&gt;
| url=https://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html#AEN46&lt;br /&gt;
| title=Program Library HOWTO&lt;br /&gt;
| first=David&lt;br /&gt;
| last=Wheeler&lt;br /&gt;
| date=2003-04-11&lt;br /&gt;
| publisher=[[tldp.org]]&lt;br /&gt;
| access-date=2021-01-04}}&amp;lt;/ref&amp;gt; The soname is a [[string (computer science)|string]], which is used as a &amp;quot;logical name&amp;quot; describing the functionality of the object. Typically, that name is equal to the [[filename]] of the library, or to a prefix thereof, e.g. &amp;lt;code&amp;gt;libc.so.6&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Name==&lt;br /&gt;
The soname is often used to provide version backwards-compatibility information.&amp;lt;ref&amp;gt;{{cite web&lt;br /&gt;
| url=http://wiki.linuxquestions.org/wiki/Library-related_Commands_and_Files#soname&lt;br /&gt;
| title=Library-related Commands and Files: soname&lt;br /&gt;
| first=Thorsten&lt;br /&gt;
| last=Staerk&lt;br /&gt;
| date=2011-03-25&lt;br /&gt;
| publisher=[[LinuxQuestions.org]]&lt;br /&gt;
| access-date=2018-02-07}}&amp;lt;/ref&amp;gt; For instance, if versions 1.0 through 1.9 of the shared library &amp;lt;code&amp;gt;libx&amp;lt;/code&amp;gt; provide identical interfaces, they would all have the same soname, e.g. &amp;lt;code&amp;gt;libx.so.1&amp;lt;/code&amp;gt;. If the system only includes version 1.3 of that shared object, with filename &amp;lt;code&amp;gt;libx.so.1.3&amp;lt;/code&amp;gt;, the soname field of the shared object tells the system that it can be used to fill the dependency for a binary which was originally compiled using version 1.2.&amp;lt;ref&amp;gt;{{cite web&lt;br /&gt;
| url=https://www.ibm.com/developerworks/library/l-shobj/&lt;br /&gt;
| title=Shared objects for the object disoriented: How to write dynamically loadable libraries&lt;br /&gt;
| first=Ashish&lt;br /&gt;
| last=Bansal&lt;br /&gt;
| date=2001-04-01&lt;br /&gt;
| publisher=[[IBM DeveloperWorks]]&lt;br /&gt;
| access-date=2018-02-07}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the [[application binary interface]] (ABI) of a library changes in a [[backward-incompatible]] way, the soname would be incremented, e.g. from &amp;lt;code&amp;gt;libX.so.5&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;libX.so.6&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The [[GNU linker]] uses the &amp;lt;code&amp;gt;-h''name''&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;-soname=''name''&amp;lt;/code&amp;gt; to specify the library name field. Internally, the linker will create a &amp;lt;code&amp;gt;DT_SONAME&amp;lt;/code&amp;gt; field and populate it with &amp;lt;code&amp;gt;''name''&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Given any shared object file, one can use the following command to get the information from within the library file using [[objdump]]:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;console&amp;quot;&amp;gt;&lt;br /&gt;
$ objdump -p libx.so.1.3 | grep SONAME&lt;br /&gt;
  SONAME     libx.so.1&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Application programming interface]] (API)&lt;br /&gt;
* [[Linux]]&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{Reflist}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Unix]]&lt;br /&gt;
[[Category:Linux]]&lt;/div&gt;</summary>
		<author><name>wikipedia&gt;Cedar101</name></author>
	</entry>
</feed>