[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with AIX4 Compiler

From: Robert Boehne
Subject: Re: Problems with AIX4 Compiler
Date: Tue, 08 Jan 2002 11:36:56 -0600


The problem isn't that the executables can't execute, it's
that they can't find the libraries that they depend on.
Because you're using MPI and mpicc, those libraries
are not in the default search path.  There are fixes for
your problem (if I recall correctly) in the current cvs
sources for libtool.  You can run your programs by setting
LIBPATH to the proper location of libmpi.a until you upgrade



Bill Wendling wrote:
> Hello,
> I have a question/problem with libtool and autoconf which I was hoping
> someone here could help me with.
> We've had this problem with earlier versions of libtool and autoconf and
> I'm trying libtool-1.4.2 and autoconf-2.52 for our project. When working
> on the SP3 machines (config.guess output: rs6000-ibm-aix4.3.3.0, and the
> other being powerpc-ibm-aix4.3.3.0), the compiler would output "binaries"
> which can't execute. That is, there's a problem during linking.
> During linking, "-Wl,-b -Wl,libpath:..." flags get appended to the
> compile line and cause the compiler (C for AIX Compiler, Version
> to produce code which can't execute.
> Here's the errors we see (the result of running it through the libtool
> --mode=execute commands)
> rm -f .libs/H5detectS.c .libs/H5detect.nm .libs/H5detect.nmS
> .libs/H5detect.nmT
> mpicc .libs/H5detectS.o -o H5detect H5detect.o  -lm  -Wl,-bnolibpath
> -Wl,-blibpath:/g/g21/wendling/v1.4/bin:/usr/lib:/lib
> rm -f .libs/H5detectS.o
>         LD_LIBRARY_PATH="$LD_LIBRARY_PATH`echo  | \
>                 sed -e 's/-L/:/g' -e 's/ //g'`"  ../libtool --mode=execute 
> ./H5detect >H5Tinit.c
> exec(): 0509-036 Cannot load program ./H5detect because of the following
> errors:        0509-150   Dependent module libmpi.a(mpipoe.o) could not be 
> loaded.
>         0509-022 Cannot load module libmpi.a(mpipoe.o).
>         0509-026 System error: A file or directory in the path name does not 
> exist.
> Have you seen this before? Is there a fix for it?
> Thanks you.
> (P.S., please include my email address in your replies as I'm not
> subscribed to this list).

Robert Boehne             Software Engineer
Ricardo Software   Chicago Technical Center
TEL: (630)789-0003 x. 238
FAX: (630)789-0127
email:  address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]