From: danfan on
On 27 Maj, 03:25, Helmut Tessarek <tessa...(a)evermeet.cx> wrote:
> > The environment is a Linux red hat 64-bit application server. Apps on
> > this server talks to db2
> > databases on remote machines. Up to now we have had a full db2 install,
> > but have not used any
> > local databases lately.  I wanted to upgrade from 9.1 to 9.5 and also
> > reduce the footprint.
>
> If you are using a 64bit OS, the DB2 server instance can only be 64bit. But
> you can still use the 32bit libraries to link against.
> Only the client is supported to be 32bit on a 64bit system.
> But this was also true for 9.1, so in that case nothing should have changed
> for you.
>
> > I finally db2idrop -ed to new db2inst1 of V9.5  and recreated the old
> > 9.1 instance.
> > Now the compilation works OK.
> > I assume it is a Microfocus related problem. I'll open a PMR with them
> > tomorrow.
> > Perhaps I need to get a newer compiler version to match 9.5.5
>
> Maybe they provide a 64bit version as well. I always try to get rid of
> bitwidth differences to exclude problems that arise in hybrid environments.
>
> Can you please post a short status update, if you find out that it was a
> compiler issue?
>
> --
> Helmut K. C. Tessarek
> DB2 Performance and Development
>
> /*
>    Thou shalt not follow the NULL pointer for chaos and madness
>    await thee at its end.
> */

I had forgotten to change the environment variables pointing to 9.1.
LD_LIBRARY_PATH
COBPATH

:-( (shame on me)

/dg
From: Helmut Tessarek on

> I had forgotten to change the environment variables pointing to 9.1.
> LD_LIBRARY_PATH
> COBPATH
>
> :-( (shame on me)

nope, this happens more often than you think. Especially if you are using
another user than the instance user for app development and you have more than
just one instance.

Happened to me several times that I forgot to change the path of the
db2profile of the user to the new instance... :-)

--
Helmut K. C. Tessarek
DB2 Performance and Development

/*
Thou shalt not follow the NULL pointer for chaos and madness
await thee at its end.
*/