[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: java from sun: installation problem



On Tue, Dec 10, 2002 at 11:28:19AM -0500, Dragan Cvetkovic wrote:
> Does this one gives you a clue? Your system can't find
> libstdc++-libc6.1-1.so.2
> 
> What I did on my system was to create a symlink from whatever current
> libstdc++-libc6 so library in /usr/lib is to
> $HOME/lib/libstdc++-libc6.1-1.so.2 and add $HOME/lib to my LD_LIBRARY_PATH
> env. variable.
> 
> Not really a solution in a Debian way(tm), but works.

Rodrigo has the right answer here. It's not so much that your solution
isn't the "Debian way", it's that it's potentially unreliable. The
soname of a library changes because something changed in the library to
render it incompatible with previous versions; it might not be anything
you'll notice right away, but it's better to avoid the chance that
something will inexplicably fall over three months from now when you've
forgotten what you did.

This is why, especially in the case of things like libstdc++, Debian
tries to provide older versions of libraries and make sure that they can
be installed at the same time as the newer versions.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: