Hi,
I did
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
and ran ./Configure again. This time it completed OK.
Cheers
Long
-----Original Message-----
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, 14 June 2001 3:41 PM
To: Multiple recipients of list ORACLE-L
Thanks Tommy and Jared for the advice.
I have downloaded perl5.005_03.tar.gz from CPAN, unzip and untar it and started the
installation. So I ran
sh configure
and accepted default answer for all the questions asked. However after pressing ENTER
for the two questions
Any additinal cc flags? [-I/usr/local/include]
Any additional ld flags? (NOT including libraries) [ -L/usr/local/lib]
the configure script compiled a simple "try.c" program and ran it, but failed. The
error messages were
Checking your choice of compiler and flag for coherency
I've tried compile and link the following simple program:
#include <stdio.h>
main() { printf("O\n"; exit(0); }
I used the command:
gcc -O -I/usr/local/include -L/usr/local/lib -o try try.c -lsocket
-lnsl -lgdbm -lgl -lm -lc -lcrypt
./try
and I got the following
ld.so.1: ./try: fatal: libgdbm.so.2: open failed: No such file or directory
Killed
The program compiled OK, but exist with status 137.
(The supplied flags or libraries might be incorect).
You have a problem . Shall I abort Configure? [Y]
BUT, the file /usr/local/lib/libgdbm.so.2 does exist and is a link to
/usr/local/lib/libgdbm.so.2.0.0 .
So, I do not understand. Please help.
Thanks
Long
--------------------------------------------------------
Long Nguyen
Oracle DBA
CSIRO Information Technology Services
[EMAIL PROTECTED]
Phone 02 6276 6646
Mobile 0418 612 269
--------------------------------------------------------
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Nguyen, Long (ITS, Limestone Ave)
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Nguyen, Long (ITS, Limestone Ave)
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).