Results 1 to 2 of 2

Thread: makefile

  1. #1
    Join Date
    Jul 2004
    Posts
    5

    Unhappy Unanswered: makefile

    Hi,
    I need some help correcting the following makefile.
    (error: can't find library libora.a)
    SCO UNIX 5.0.5
    ORACLE 7.4.3

    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 \
    $(ILPATH)/vocalis.a \
    $(ILPATH)/indexis.a \
    $(ILPATH)/common.a \
    $(VDBLIB) -ldxxx -lsrl -lm
    .SUFFIXES: .exe .o .c .pc

    .pc.exe:
    $(PROC) iname=$*.pc $(PROFLAGS)
    $(CC) $(CFLAGS) $(LDFLAGS) $*.c $(LIBS) -o $*



    access: access.exe

  2. #2
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •