Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Newbie's question: Pro*c compile failed: -lxa not found
jing shen wrote:
>
> Hello all:
>
> I am now trying to learn how to compile proc*C programe .
>
> I write a small program to connect to db and read record out.
>
> when I try to compile it , it shows :
>
> %make -f proc.mk EXE=test OBJS="test.o"
> ld: fatal error -lxa : not found
>
> ....
>
> I don't know where a lib exist in oracle package , I have limited disk space
> to install oracle 7.3.3.0.2 .
Did you have ORACLE_HOME set before you tried the compile?
Enter the following from the command line:
echo $ORACLE_HOME
if it comes back with a directory, is this the same directory that is
specified in
/var/opt/oracle/oratab? If not, do the following:
. oraenv
and when prompted, enter the name of your Oracle sid.
You can also do the work of oraenv by simply assigning the path of your Oracle home directory to ORACLE_HOME.
That should fix things for you. Received on Mon Jan 03 2000 - 09:30:15 CST
![]() |
![]() |