> On Thursday 13 April 2006 05:06 am, James Carlson wrote:
>> /opt/csw/lib/libfoo.so.1
>>
>> and the other installs as
>>
>> /opt/sfw/lib/libfoo.so.1
>>
>> then one can't really satisfy the other. The user is forced straight
>> into LD_LIBRARY_PATH or crle(1) hell, and that's just not right.
LD_LIBRARY_PATH is just plain evil.
However, it does allow me to do oddball things like getting rdesktop from
Blastwave running on BeleniX :
http://www.blastwave.org/docs/BeleniX/images/xfce004.png
But in general "LD_LIBRARY_PATH is just plain evil".
><snip>
> Not only does this problem exist, I've experienced it first hand.
You and I and probably a lot of other people.
>> Not just "would be nice." I don't care about the disk space (I use
>> Blastwave regularly and enjoy it; the CCD bits are just too stale for
>> me). What I do care about is the library tragedy. Having two
>> separate libraries on the system that implement the same thing is
>> toxic to applications: you're just one dynamic link away from a
>> mystifying core dump.
>
> Providing the packages are compiled properly they should co-exist. Not
> saying
> it's not toxic to have multiple libs floating around, that's the very
> problem
> I would like to see solved.;-)
>
>>
>> (This is in part why you rarely ever find more than one libthing.so.N
>> library.)
>
So then a dream would be to get a single base set of libraries that work
for all the apps on top. Regardless of what the app is or where it is
parked it can depend on a base lib in /opt/foo or /usr/local/lib or
whereever. Gee, maybe drop the common base libs into /opt/foo and then
create links in /usr/lib that point there. Nope, that won't work. I boot
exploding due to /opt not being mounted yet.
So the dream is still a common set of libs that are up to date and able to
be compiled and dropped ( repeatedly and consistently ) into some LIBPATH
somewhere on Solaris 8 and upwards.
Oh .. I posted this to companion-discuss at opensolaris.org .. probably bad
etiquette on my part but I really want to comply with the community
decision to get the discussion there. Hard to believe but true.
Dennis Clarke