Informix for Linux work with RH5.1? 
Author Message
 Informix for Linux work with RH5.1?

I am a RedHat 5.1 user and was wondering if anybody has got Informix
running under RedHat 5.1.  The press release said that Informix was working
with RedHat to get it working but it didn't say why it didn't work etc...

I cant think of any reason why it would not work. libc/glibc?  Redhat
distributions support both.

Atif



Wed, 18 Jun 1902 08:00:00 GMT
 Informix for Linux work with RH5.1?


: I am a RedHat 5.1 user and was wondering if anybody has got Informix
: running under RedHat 5.1.  The press release said that Informix was working
: with RedHat to get it working but it didn't say why it didn't work etc...

: I cant think of any reason why it would not work. libc/glibc?  Redhat
: distributions support both.

 For me it has worked...
 Red Hat 5.1.

 See ya!
--
______________________________________________________________________________
|     ___                                                                    |
| _.-|   |          |\__/,|    (\           Aristides P. Preto Jr.           |
|{   |   |          |o o  |__ _) )   Programmer/Web Developer/Unix Systems   |
| "-.|___|        _.( T   )  `  /  Computer Science Eng. at IST, Lisbon, PT  |

|.+|______|__.-||__)`-'(((/  (((/         http://www.poboxes.com/appj        |
------------------------------------------------------------------------------



Wed, 18 Jun 1902 08:00:00 GMT
 Informix for Linux work with RH5.1?

Quote:

> I am a RedHat 5.1 user and was wondering if anybody has got Informix
> running under RedHat 5.1.  The press release said that Informix was working
> with RedHat to get it working but it didn't say why it didn't work etc...

> I cant think of any reason why it would not work. libc/glibc?  Redhat
> distributions support both.

> Atif

Okay here's the deal : everything that is developed with libc(5)
will also run on Redhat 5.1 because the libc(5) libraries are
installed on Redhat 5.1.

Knowing this, you also know that the libc(5) version of SE
will run on Redhat 5.1, as will applications developed with
ESQL/C on a libc5 system (Caldera, SuSe and all the others)
(*** Do note however that this setup is not officially supported
by informix ;) Informix will only support setups that are
tested in their labs ! ***)

BUT ! Developing ESQL/C applications on Redhat 5.1 with
gcc configured to compile against the glibc(6) include files
and libs is a big no-no (because esql/c will link informix libraries
that are compiled against the libc(5) includes e.a. -
you dont want to mix those)

Bert



Wed, 18 Jun 1902 08:00:00 GMT
 Informix for Linux work with RH5.1?
Quote:



[Other important and related stuff SNIPPED]

Quote:
> BUT ! Developing ESQL/C applications on Redhat 5.1 with
> gcc configured to compile against the glibc(6) include files
> and libs is a big no-no (because esql/c will link informix libraries
> that are compiled against the libc(5) includes e.a. -
> you dont want to mix those)

Bert, I've installed on RH 5.0 and have been compiling and running with
no problems (it just required adding -lcrypt to the link line at the
bottom of $INFORMIXDIR/bin/esql or to each esql command line).  The
only problem is that, obviously, I could not distribute my work, as it
is, to anyone not using RH 5.x.  Informix has agreed to port to libc6
as soon as all or at least most 'commercial' releases of Linux are
using libc6.  Currently only Red Hat is, though S.u.S.E. and Debian
have committed to doing so in their next full releases.

I see no reason why third party libc5 based libraries should not work
correctly with libc6.  Granted mixing some libc5 and libc6 RELEASE
libraries could cause all kinds of grief, however, third party libs do
not depend on the C/LINUX library internals only on the public
interface and the public interface has not changed!  The external
behavior of libc5 and libc6 should be identical.  Yes Informix does not
want to OFFICIALLY support this combination but it works well enough.

Art S. Kagel



Wed, 18 Jun 1902 08:00:00 GMT
 Informix for Linux work with RH5.1?
Art S. Kagel said

Quote:
>I see no reason why third party libc5 based libraries should not work
>correctly with libc6.  Granted mixing some libc5 and libc6 RELEASE
>libraries could cause all kinds of grief, however, third party libs do
>not depend on the C/LINUX library internals only on the public
>interface and the public interface has not changed!  The external
>behavior of libc5 and libc6 should be identical.

This is not true. *Any* compiled code that touches libc interfaces
may depend on internal implementation details of libc. The public
interface is defined in terms of functions and semi-opaque types
only. GNU libc, aka libc6, attempts to define types in such a way
that they will not change in incompatible ways _in_the_future_
or _between_systems_ however it does not attempt anything other
than _source_ level backward compatibility. You may often get
away with linking code compiled against libc5 with libc6 but, unless
you know what you are doing in _detail_, you may be getting all
kinds of wierd and undetectable memory corruption as structures
etc. overflow.

  This is exactly why you cannot link the SCO compiled Informix
libs against Linux libs. The linker _can_ link different format
objects together but the internal differences will kill you.

  You can, of course, set up a libc5 compiler environment alongside
the libc6 default - if you read enough documentation...

                                Mike

--
.----------------------------------------------------------------------.

|  Roan Technology Ltd.         |                                      |
|  54A Peach Street, Wokingham  |  Telephone:  +44 118 989 0403        |



Wed, 18 Jun 1902 08:00:00 GMT
 Informix for Linux work with RH5.1?


Quote:
>Okay here's the deal : everything that is developed with libc(5)
>will also run on Redhat 5.1 because the libc(5) libraries are
>installed on Redhat 5.1.

> ...

>BUT ! Developing ESQL/C applications on Redhat 5.1 with
>gcc configured to compile against the glibc(6) include files
>and libs is a big no-no (because esql/c will link informix libraries
>that are compiled against the libc(5) includes e.a. -
>you dont want to mix those)

So how does one configure gcc to use libc(5) rather than glibc(6) ?

Julian.



Wed, 18 Jun 1902 08:00:00 GMT
 
 [ 6 post ] 

 Relevant Pages 

1. installing on linux (RH5.2)--quick and dirty?

2. Oracle8 on Linux RH5.2, please help!!!

3. Installing Oracle805 on Linux RH5.2

4. Digiboard and D3/Linux/RH5.2

5. Does IRoutineManager work on Informix 2000 on Linux??

6. Help/Urgent - Informix Dynamic Server Indexing not working on Linux

7. Informix 4GL on RedHat Linux 6.0 not working

8. Informix Dinamic Server 2000 to Informix Internet Foundation 2000 on Linux

9. Informix and Linux (DBD::Informix/4)

10. MySQL troubles in RH5


 
Powered by phpBB® Forum Software