Re: Pro*C: Error in linking

From: Lim Choon Long <scip3109_at_leonis.nus.sg>
Date: 16 Jun 1994 22:53:41 GMT
Message-ID: <2tql5l$asf_at_nuscc.nus.sg>


I wrote:
: I got the following error when compiling the sample program.
 

: dogbertp:/home/cllim/proc 242% make -f proc.mk samplec
: /usr/5bin/cc -I. -O -Bdynamic -L/oracle/lib -o samplec samplec.c /oracle/lib/libsql.a /oracle/lib/osntab.o -lsqlnet -lora /oracle/lib/libpls.a -lsqlnet -lnlsrtl -lcv6 -lcore -lnlsrtl -lcv6 -lcore -lm
: ld: Undefined symbol
: _ligcnv
: _ligncc
: _lictbn
: _ligraw
: _ligstm
: _liclas
: _liltbn
: _liccof
: _littbn
: _ligpth
: _ligratio
: _listab
: _licbas
: *** Error code 2
: make: Fatal error: Command failed for target `samplec'

To answer my own question, it is a corrupted library (libnlsrtl.a). Copying it from the cdrom and ranlib it solved the problem.

Regards,
CL Received on Fri Jun 17 1994 - 00:53:41 CEST

Original text of this message