07-27-04, 04:41 #1Registered User
- Join Date
- Jul 2004
I need some help correcting the following makefile.
(error: can't find library libora.a)
SCO UNIX 5.0.5
THANKS A LOT
ILPATH = /u/oracle/demo/lib
IHPATH = /u/oracle/demo/include
CFLAGS = -I$(IHPATH) -I$(ORACLE_HOME)/precomp/public
LDFLAGS = -L$(ORACLE_LIBDIR) -s -L$(PROC_LIBDIR) -s
ORACLE_LIBDIR = $(ORACLE_HOME)/lib
PROC_LIBDIR = $(ORACLE_HOME)/proc/lib
PROC = $(ORACLE_HOME)/bin/proc
PROFLAGS = include=$(IHPATH)
LIBS = -lsql $(ORACLE_LIBDIR)/osntab.o -lsqlnet -lora -lpls -lsqlnet -lnlsrtl -lcv6 -lcore -lnlsrtl -lcv6 -lcore -lm \
$(VDBLIB) -ldxxx -lsrl -lm
.SUFFIXES: .exe .o .c .pc
$(PROC) iname=$*.pc $(PROFLAGS)
$(CC) $(CFLAGS) $(LDFLAGS) $*.c $(LIBS) -o $*
07-27-04, 12:15 #2Registered User
Provided Answers: 1
- Join Date
- Aug 2003
- Where the Surf Meets the Turf @Del Mar, CA
On most *nix systems LD_LIBRARY_PATH environmental variable is used to "find" the required shared object libraries; just as PATH is used to find programs/scripts.You can lead some folks to knowledge, but you can not make them think.
The average person thinks he's above average!
For most folks, they don't know, what they don't know.
Good judgement comes from experience. Experience comes from bad judgement.