bug-glibc
[Top][All Lists]
Advanced

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

Re: libc/5011


From: James Richard Tyrer
Subject: Re: libc/5011
Date: Wed, 07 May 2003 10:01:15 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.3) Gecko/20030312

Roland McGrath wrote:
Is there a Fine Manual somewhere that explains this?


Not like you're looking for.  This is part of the ELF spec, and you need to
understand a lot of things and how they fit together.

I'll have to look at that when I have time.

I now understand how libc.so.5 works since its ld-linux is version '1',
but I don't understand how the RedHat compat GLibc libraries work (if
they actually do).


The packages you are talking about are for linking against, not for
running.

No, there are packages that are dependent on them [the compat-glibc 2.0 & 2.1 packages]. That is why I originally installed them.

You do not use old libc binaries to get compatibility, you use
compatible libc binaries.  If new libraries are not compatible, the soname
is changed.

I know that that is the way it is supposed to be. Perhaps Corel-WINE is a specific case since it is a 'hack', but it won't run on GLibc-2.3.2.

But, I do note that there *is* a problem here with backward
compatibility.

As I understand it, there is some backward compatibility, but not total. I see this as a problem. It isn't a bug, it is more of a feature request.

In any case, I got this working. The attached script starts WordPerfect with Corel-WINE. :-)

But, in doing this, I get back to my original suggestion that there is a problem here. The GLibc-2.2.5 library did not have: "libSM.so.6", so I added: "/usr/i386-glibc21-linux/lib" (which is from: "compat-glibc-6.2-2.1.3.2.i386.rpm" mentioned above) to the LD_LIBRARY_PATH. This appears to work (as I said, there is some backward compatibly).

>
> No, you just don't understand how it works.
>

True, but I think that there are things which you don't completely understand as well. I remain puzzled about it.

Again, thanks for your help.

--
JRT
#!/bin/bash

LD_LIBRARY_PATH=/usr/i586-glibc225-linux/lib
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/i386-glibc21-linux/lib
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/X11R6/lib

WINEPREFIX=.wpo2000
export WINEPREFIX

export LC_ALL=en

export LD_LIBRARY_PATH=/usr/lib/corel/wine/lib:$LD_LIBRARY_PATH

/usr/i586-glibc225-linux/lib/ld-linux.so.2 /usr/lib/corel/wine/bin/wineserver
/usr/i586-glibc225-linux/lib/ld-linux.so.2 /usr/lib/corel/wine/bin/wine 
/usr/lib/corel/wpo/programs/wpwin9.exe  -winver nt40 -managed

reply via email to

[Prev in Thread] Current Thread [Next in Thread]