On 06/07/2002 06:13 AM, did Shashi Shekhar S write (doodah! doodah!):
> On Fri, 7 Jun 2002, Philip S Tellis wrote:
>>Your problem is that your library is newer than what is required, so you 
>>have to get compat-libstdc++ - a package for backwards compatibility.
> Sometimes just symlinking the newer library as the older one works just 
> fine for me..like in this case
> 
> ln -s /usr/lib/libstdc++.so.2.96-98 /usr/lib/libstdc++.so.2.8 

They keyword here is /sometimes/.  Linking newer libraries to older ones 
is a Bad Thing unless you know what you are doing.  Here is an 
introduction to libraries and their version numbering:

1. Libraries have version numbers like so: 2.96, 2.8 etc.  The first 
number is the major number and the second number is the minor number.

2. You can approach libraries as two types of users: ordinary users who 
use a piece of software that is dynamically linked against a library. 
Or a developer who is building a piece of software that is going to be 
linked against the library.

3. In an ideal world, the ordinary user should never have to worry about 
libraries and versions.

4. As a developer, one has to be aware of what major and minor numbers 
mean.  The person who develops the library typically increments their 
minor number whenever they change their source code such that they are 
fixing bugs etc.  They increment the major number when the API to their 
library changes in any manner.

Thus, it might be OK to synlink version 2.8 to 2.96.  But it is not ok 
to link 2.9 to 3.2.

Thaths
-- 
Apu:   But, sir, the head office is in India.
Homer: OK.
Lisa:  Dad, that's over 10,000 miles away.
Homer  I'm aware of that!
Lisa:  That's over 16,000 kilometers.
Homer: D'oh!
thaths at aunet.org   Slacker At Large   http://www.aunet.org/~thaths/
Key fingerprint = 8A 84 2E 67 10 9A 64 03  24 38 B6 AB 1B 6E 8C E4


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to