[96019] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: libc.so.4

daemon@ATHENA.MIT.EDU (Thomas Ribbrock \(Design/DEG\))
Fri Oct 23 04:36:55 1998

Date: Fri, 23 Oct 1998 09:37:39 +0100
From: "Thomas Ribbrock \(Design/DEG\)" <argathin@iname.com>
To: redhat-list@redhat.com
Mail-Followup-To: redhat-list@redhat.com
In-Reply-To: <006c01bdfe33$e83f6d60$6c713fd1@raider.wangnet.bogus>; from Lester P. Wang on Thu, Oct 22, 1998 at 08:19:10PM -0700
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Lester P. Wang writes:
> I am using redhat 5.1. When I check the /lib, I have libc.so.6.  I am trying
> to install Lone-Tar on a Linux server at work.  I'm going with Linux because
> we have to have SCO and our support contract calls for Lone-Tar.  How do I
> install libc.so.4 so that Lone-Tar will install/work?  I did a symbolic link
> to libc.so.6 as libc.so.4 and Lone-Tar didn't like it.  Thanks.

libc.so.4?! Am I mistaken or is that quite old (in computer terms...)?
Anyway, you won't be able to get that program running with libc.so.6, that's
for sure. There's been some major changes between libc5 and libc6 (aka
glibc). What I'd suggest is this: Write a wrapper shell script which sets
the environment variable LD_LIBRARY_PATH so, that it points to libc5 (you
should have libc.so.5 as well on a RHL system) first and then calls your
program. That might not work, as I'm not sure whether libc5 is combatible
with libc4. If it doesn't work, you'll need to search the net for a copy of
libc4 and modiify the wrapper script to point there.
It might also be necessary to use the environment variable LD_PRELOAD in
your wrapper script. I've used that one only once, but I think you can use
it to explicitly pre-load the libc of your choice - can somebody elde please
fill in details here? (Might be in the documentation of "ld" (man ld)).

Ciao,

Thomas
-- 
                    "Look, ma, no obsolete quotes!"

     Thomas Ribbrock | http://www.bigfoot.com/~kaytan | ICQ#: 15839919
   "You have to live on the edge of reality - to make your dreams come true!"


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post