This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: libgcc.a not found on AIX 4..3.3 linking DBD::ORACLE
- From: lrtaylor at micron dot com
- To: <kmpeter at hotmail dot com>, <gcc-help at gcc dot gnu dot org>
- Date: Tue, 9 Sep 2003 10:12:43 -0600
- Subject: RE: libgcc.a not found on AIX 4..3.3 linking DBD::ORACLE
Have you tried setting LIBPATH to point to where these libraries are? I don't think setting PATH will help you pick up the libraries. If LIBPATH doesn't already exist in your environment, just simply set it to the path to the libraries. If it does exist, add the path to its value
set LIBPATH=$LIBPATH:/path/to/libraries
export LIBPATH
Of course, the actual commands to use will depend on the shell you're using, but that's the general idea.
Thanks,
Lyle Taylor
IS Applications
-----Original Message-----
From: Peter Ma [mailto:kmpeter@hotmail.com]
Sent: Monday, September 08, 2003 8:47 PM
To: gcc-help@gcc.gnu.org
Subject: libgcc.a not found on AIX 4..3.3 linking DBD::ORACLE
Hello:
Forgive my igornace if this problem has already been addressed. I've seen
this posting before and just wanted to know if anyone knew what the solution
was.
I'm trying to install perl 5.8, DBI 1.38, and DBD-Oracle 1.14 on AIX 4.3.3.
Got the perl & DBI to install without a problem. However, when I try to
make the DBD, I get
ld: 0706-005 Cannot find or open file: libgcc.a
ld:open(): A file or directory in the path name does not exist.
ld: 0706-005 Cannot find or open file: libgcc_eh.a
ld:open(): A file or directory in the path name does not exist.
ld: 0706-005 Cannot find or open file: libgcc.a
ld:open(): A file or directory in the path name does not exist.
ld: 0706-005 Cannot find or open file: libgcc_eh.a
ld:open(): A file or directory in the path name does not exist.
make: 1254-004 The error code from the last command is 1.
My gcc (version 3.2) is installed in a directory other than the default, but
I've set my PATH variable to point to my gcc and the above archive files.
Anyone have any ideas??
Thanks,
Peter
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail