running a program fails on AIX 4.3.2

running a program fails on AIX 4.3.2

Post by Liora Milbau » Thu, 12 Aug 1999 04:00:00



I have this problem that I sent few days ago and nobody answered. I am
sending it again with some more insights. Maybe someone can help because
I am very new to IBM and I need the help urgently.

This is the problem:
I have compiled a module on AIX 4.3.2 system. It runs perfectly on my
machine. The problem is that when I try to run it on the customer's
machine it fails. His machine is also AIX 4.3.2.
The error I get is:

Quote:>exec () Cannot load program nucleus_ogl because of the following
errors:

>            Symbol _XtUnregisterWindow in nucleus_ogl is not defined.
>            Symbol _XtRegisterWindow in nucleus_ogl is not defined.
>            System error: Cannot run a file that does not have a valid
>format.

I know now that if I set the environment variable LIBPATH to be
/usr/lpp/X11/R5 the executable runs.
I have built my application with Motif 1.2 and not the default which is
Motif 2.1.
The problem is that now all the other executables fails to run from the
same reason as the above.
Why I don't see the problem in my machine and I do see it in the
customer site?

Can some PLEASE help me figure it out?

Liora

  liora.vcf
< 1K Download
 
 
 

running a program fails on AIX 4.3.2

Post by Peter Bennet » Thu, 12 Aug 1999 04:00:00


I'd suspect and envinronment variable setting being different on the
two machines, or, more likely, that there is some compat component of
X11 not loaded on the customer machine.
Try looking through the output of 'lslpp -l X11.*' for anything that
is loaded on your machine, but  not at the customer site.
Good Luck!
Pete Bennett


> I have this problem that I sent few days ago and nobody answered. I am
> sending it again with some more insights. Maybe someone can help because
> I am very new to IBM and I need the help urgently.

> This is the problem:
> I have compiled a module on AIX 4.3.2 system. It runs perfectly on my
> machine. The problem is that when I try to run it on the customer's
> machine it fails. His machine is also AIX 4.3.2.
> The error I get is:

> >exec () Cannot load program nucleus_ogl because of the following
> errors:

> >            Symbol _XtUnregisterWindow in nucleus_ogl is not defined.
> >            Symbol _XtRegisterWindow in nucleus_ogl is not defined.
> >            System error: Cannot run a file that does not have a valid
> >format.

> I know now that if I set the environment variable LIBPATH to be
> /usr/lpp/X11/R5 the executable runs.
> I have built my application with Motif 1.2 and not the default which is
> Motif 2.1.
> The problem is that now all the other executables fails to run from the
> same reason as the above.
> Why I don't see the problem in my machine and I do see it in the
> customer site?

> Can some PLEASE help me figure it out?

> Liora


 
 
 

running a program fails on AIX 4.3.2

Post by Paul Landa » Thu, 12 Aug 1999 04:00:00


Run the command:
    lslpp -h
on both systems and compare the output.
I suspect one system has an X11.compat
fileset that the other system doesn't.
Once you know what is missing you can
go back to the original AIX 4.3.2 install
media (CDs) and 'smit install' those filesets.
 
 
 

1. A vb.NET program to run informix programs in aix

Hi,

I have an RS 6000 with aix. It has an informix database. The thing has
huge 10,000 line programs to add and manipulate data. The data to it
comes in little floppies/emails etc. from around the whole state.
There are about 13 progressive steps (commands with a few parameters)
that need to be done every time one of these 'data' come in.

Now, I need a vb.NET program with an easy to use interface to do this.
The interface will be used by a normal user (my receptionist).

Could some one give suggestions on how this can be handled best.

Could I just use the Script command and throw commands over to the RS
6000?
Or, is there a better way?

thanks,
pam

2. What does *.*~ mean?

3. aix 3.2 - see sed run, run sed run

4. PATCH: Allowing OS/2 NFS clients to mount linux rootfs.

5. AIX not working properly failing to run login shell

6. lockd to run only on a specific IP

7. bind() fails when running program second time

8. setting up web server with Linux- requirements??

9. Programs (some) fail to run.

10. Program fails when run by cron

11. program fails unless run with truss?

12. Running SIMPLE program fails ... libc.a

13. Running programs in X fails