>>>>> "|" == Martin v Loewis <[EMAIL PROTECTED]> writes:

>> The problem is that i have too Interbase 4.0 for linux. The
>> libraries for interbase were linked against glibc2.0 from REdHat
>> 5.1.  I have installed the compat-* rpm from the installation. How
>> can I link my programs to the interbase that uses glibc2.0.  and how
>> can i tell to the loader to use glibc2.1 or glibc2.0 at the same
>> time depending on the library the current program need.

|> In theory, programs linked with glibc 2.0 should continue to work with
|> glibc 2.1, with no problems. So there is no need to link with glibc
|> 2.0. Also, it is not possible.

|> Is there a problem with using glibc 2.1?

Yes, the following simple (C++) test program doesn't work under
glibc-2.1 if compiled/linked with glibc-2.0 (tested with RedHat 5.2
vs. RedHat 6.0)
---------------------------- snip --------------------------
#include <strstream.h>
main() {
   char x ;
   istrstream beitl (&x, 1) ;
   char y ;
   beitl.read (&y, 1) ;
}
---------------------------- snip --------------------------

Bernhard

get my pgp key from a public keyserver (keyID=0x62446355)
-----------------------------------------------------------------------------
Bernhard Heidegger                                       [EMAIL PROTECTED]
                  Hyperwave Software Research & Development
                       Albrechtgasse 9/2, A-8010 Graz
Voice: ++43/316/820918-25                             Fax: ++43/316/820918-99
-----------------------------------------------------------------------------

Reply via email to