DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: How to compile without header files in working directory

  1. #1
    Join Date
    Dec 2005
    Posts
    1

    How to compile without header files in working directory

    Hi.

    I was able to compile and successfully execute a program earlier
    written in Oracle 7 (Solaris) but now in Oracle 10G (Linux). The only
    problem is that I have to include two header files
    sqlca.h and sqlda.h in the present working directory.
    If I remove them from current working directory it gives error
    sqlda.h etc. not found.......

    The commands used for compiling.......
    1.$proc sample.pc
    2.$cc -L$ORACLE_HOME/lib -L/usr/lib -lclntsh -o sample sample.c

    How to compile so that the sqlca.h and sqlda.h are not to be entered in current working directory and still the program gets compiled ?

    regds.
    J.S.Sachdeva

  2. #2
    Join Date
    Jan 2001
    Posts
    2,828
    Hi

    You can use softlinks or include that in your path.

    regards
    Hrishy

Posting Permissions

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


Click Here to Expand Forum to Full Width