Error in running on AIX 5.2


 
Thread Tools Search this Thread
Operating Systems AIX Error in running on AIX 5.2
# 1  
Old 06-24-2004
Error in running on AIX 5.2

A exe works fine on AIX 4.3 but when I run it on AIX 5.2, I can read the following message :

Symbol resolution failed for pl2x because:
Symbol connect (number 33) is not exported from dependent
module /unix.
Symbol select (number 36) is not exported from dependent
module /unix.
Symbol poll (number 44) is not exported from dependent
module /unix.
Symbol unload (number 67) is not exported from dependent
module /unix.
Examine .loader section symbols with the 'dump -Tv' command.

I ‘ ve searched information concerning this problem and I found :
1 - It is not a kernel problem : 64 bit on both (AIX 4.3 and AIX 5.2)
2 - I guess that this exe includes links to AIX Asynchronous IO (AIO) functions. By default, AIO is disable "STATE to be configured at system restart” = “defined” (check the state by typing the command : lsdev -C | grep aio => aio0 Defined Asynchronous I/O). To enable AIO, from smitty aio/Change-Show Characteristics of Asynchro,ous I/O, I chose “available” instead of “defined", and reboot the machine. Now when I type lsdev -C | grep aio, the result is : aio0 Available Asynchronous I/O... seems to be OK, but I always have the same error message...
3 - I wonder if it could be a compilation problem. Must I re-compile the code on AIX 5.2 ?
I saw that for someone who recompiled the code on AIX 5.2 the error was exactly the same.

Can anyone help to fix the problem ?
Many Thanks for your help.

Regards

Nathalie BARDIAUX
Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Trying to get Samba 4.x running on AIX 7.1?

Hello, I have an AIX 7.1 Power8 machine on which I have a working copy of Samba 3.6 installed using perzl.org repo. The issue I am running into is, Samba 3.6 supports the more secure SMB2 protocol but its tools (smbclient) do not, only in 4.1 did Samba add support for SMB2 to their utilities.... (1 Reply)
Discussion started by: c3rb3rus
1 Replies

2. AIX

Error when running .sh file in AIX platform

Hi, I am trying to open Oracle Warehouse Builder (10g) Design Center in AIX platform using the command ./OWBClient.sh. When I execute, I am getting the below error. The JVM option is invalid: -XX: MaxPermSize=256M. Could not create the Java Virtual Machine. Any resolution guidance for the... (4 Replies)
Discussion started by: becky123
4 Replies

3. AIX

AIX server running very slow

Hello, All the commands on AIX are running very slow. Below is few stats but I didn't find any issue in cpu or memory reosurces vmstat System configuration: lcpu=4 mem=6144MB ent=1.00 kthr memory page faults cpu ----- -----------... (2 Replies)
Discussion started by: Vishal_dba
2 Replies

4. Programming

Pro*C not running in oracle11g R2 on AIX 6.1....

Hi All, When I am running a pro*c executable on an AIX 6.1.0.0 and Oracle 11gR2 environment which is complied in AIX 6.1.0.0 and Oracle 11gR2 environment only , I am getting segment fault error . When the same code is getting compiled in AIX5.3 Oracle 10gR2 env and run in AIX5.3 Oracle 10gR2 ,... (0 Replies)
Discussion started by: amaniitd
0 Replies

5. AIX

How much memory for each process running on AIX?

I'm trying to figure how much memory per process is using? I think it's the TRS column x 4k (127800 x 4). Am I right? Any advice is greatly appreciated. PID TTY STAT TIME PGIN SIZE RSS LIM TSIZ TRS %CPU %MEM COMMAND 753726 - A 13:01 0 154100 281900 xx... (7 Replies)
Discussion started by: Beginer0705
7 Replies

6. AIX

PCs Capable of Running AIX

Does anyone know of any personal computers or very small servers capable of running AIX? I would like to buy one and set it up at home so I can play and learn at the same time. (3 Replies)
Discussion started by: svalenciatech
3 Replies

7. Shell Programming and Scripting

`(' unexpected error when running a shell script in AIX

Hi, We are moving from linux to AIX servers, and as a result testing our scripts on the new platform. When I run one of our scripts, I get the following error message: ./branchDataUpdate.sh: syntax error at line 21 : `(' unexpected Following is an extract from the script: ...... ........ (1 Reply)
Discussion started by: dawgfather80
1 Replies

8. UNIX for Advanced & Expert Users

Running C#.NET program in AIX?

Hi Guys Am new in UNIX environment I was asked by my boss to write a program that transfer files from the AIX server to the Wintel Server. I have written the program in C# windows which does almost the same thing. So how to run the C# program in UNIX? (1 Reply)
Discussion started by: michmsk
1 Replies

9. AIX

AIX 6.1 app running on 5.x?

Hi, A quick question. If I build an application on AIX 6.1 TL3 using XL C/C++ 8.0 and Oracle 10g, can I then take those binaries and run them on AIX 5.3 and previous? Regards Kevin (3 Replies)
Discussion started by: KevB
3 Replies

10. UNIX for Dummies Questions & Answers

daemon running in AIX checking

how do u check if a daemon is running in AIX.. Is it ps -ef|grep daemon lssrc -s demon ??? Thanks! (0 Replies)
Discussion started by: karthikosu
0 Replies
Login or Register to Ask a Question
PERLOS400(1)						 Perl Programmers Reference Guide					      PERLOS400(1)

NAME
README.os400 - Perl version 5 on OS/400 DESCRIPTION
This document describes various features of IBM's OS/400 operating system that will affect how Perl version 5 (hereafter just Perl) is com- piled and/or runs. By far the easiest way to build Perl for OS/400 is to use the PASE (Portable Application Solutions Environment), for more information see http://www.iseries.ibm.com/developer/factory/pase/index.html This environment allows one to use AIX APIs while programming, and it provides a runtime that allows AIX binaries to execute directly on the PowerPC iSeries. Compiling Perl for OS/400 PASE The recommended way to build Perl for the OS/400 PASE is to build the Perl 5 source code (release 5.8.1 or later) under AIX. The trick is to give a special parameter to the Configure shell script when running it on AIX: sh Configure -DPASE ... The default installation directory of Perl under PASE is /QOpenSys/perl. This can be modified if needed with Configure parameter -Dpre- fix=/some/dir. Starting from OS/400 V5R2 the IBM Visual Age compiler is supported on OS/400 PASE, so it is possible to build Perl natively on OS/400. The easier way, however, is to compile in AIX, as just described. If you don't want to install the compiled Perl in AIX into /QOpenSys (for packaging it before copying it to PASE), you can use a Configure parameter: -Dinstallprefix=/tmp/QOpenSys/perl. This will cause the "make install" to install everything into that directory, while the installed files still think they are (will be) in /QOpenSys/perl. If building natively on PASE, please do the build under the /QOpenSys directory, since Perl is happier when built on a case sensitive filesystem. Installing Perl in OS/400 PASE If you are compiling on AIX, simply do a "make install" on the AIX box. Once the install finishes, tar up the /QOpenSys/perl directory. Transfer the tarball to the OS/400 using FTP with the following commands: > binary > site namefmt 1 > put perl.tar /QOpenSys Once you have it on, simply bring up a PASE shell and extract the tarball. If you are compiling in PASE, then "make install" is the only thing you will need to do. The default path for perl binary is /QOpenSys/perl/bin/perl. You'll want to symlink /QOpenSys/usr/bin/perl to this file so you don't have to modify your path. Using Perl in OS/400 PASE Perl in PASE may be used in the same manner as you would use Perl on AIX. Scripts starting with #!/usr/bin/perl should work if you have /QOpenSys/usr/bin/perl symlinked to your perl binary. This will not work if you've done a setuid/setgid or have environment variable PASE_EXEC_QOPENSYS="N". If you have V5R1, you'll need to get the latest PTFs to have this feature. Scripts starting with #!/QOpenSys/perl/bin/perl should always work. Known Problems When compiling in PASE, there is no "oslevel" command. Therefore, you may want to create a script called "oslevel" that echoes the level of AIX that your version of PASE runtime supports. If you're unsure, consult your documentation or use "4.3.3.0". If you have test cases that fail, check for the existence of spool files. The test case may be trying to use a syscall that is not imple- mented in PASE. To avoid the SIGILL, try setting the PASE_SYSCALL_NOSIGILL environment variable or have a handler for the SIGILL. If you can compile programs for PASE, run the config script and edit config.sh when it gives you the option. If you want to remove fchdir(), which isn't implement in V5R1, simply change the line that says: d_fchdir='define' to d_fchdir='undef' and then compile Perl. The places where fchdir() is used have alternatives for systems that do not have fchdir() available. Perl on ILE There exists a port of Perl to the ILE environment. This port, however, is based quite an old release of Perl, Perl 5.00502 (August 1998). (As of July 2002 the latest release of Perl is 5.8.0, and even 5.6.1 has been out since April 2001.) If you need to run Perl on ILE, though, you may need this older port: http://www.cpan.org/ports/#os400 Note that any Perl release later than 5.00502 has not been ported to ILE. If you need to use Perl in the ILE environment, you may want to consider using Qp2RunPase() to call the PASE version of Perl. AUTHORS
Jarkko Hietaniemi <jhi@iki.fi> Bryan Logan <bryanlog@us.ibm.com> David Larson <larson1@us.ibm.com> perl v5.8.9 2007-11-17 PERLOS400(1)