Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Application Programming


    

Blue Forest http://www.lslnet.com at 10:18 on June 6, 2006


Oracle pro*c under solaris, the translation has passed

Sparc solaris 8.0 on the environment :
Oracle 817
After pro*C installed with a database. In $ORACLE_HOME/precomp/demo implemented :
Make-f demo_proc sample1, there :
/usr/ccs/bin/make /oracle/product/8.1.7/precomp/demo/proc/demo_proc.mk OBJS=sample1.o EXE=sample1 build-f
Cc -o sample1 sample1.o -L/oracle/product/8.1.7/lib/ -lclntsh `cat /oracle/product/8.1.7/lib/sysliblist` -R/oracle/product/8.1.7/lib -laio -lm -lthread
Ucbcc : Warning : Option -YP, : /usr/ucblib:/opt1/SUNWspro/WS6U2/bin/. . /lib:/opt1/SUNWspro/WS6U2/bin:/usr/ccs/lib : /usr/lib passed to ld, if ld is invoked, ignored otherwise
Ld : warning : option -YP appears more than once, first setting taken

It is better generated sample1 procedures. Sample1 implementation occur when :
Ld.so.1 : sample1 : fatal : libucb.so.1 : open failed : No such file or directory
Killed
Secretary did not link bars.
Brother greenhorn, please enlighten ah heroes.

This is because of what?
Solaris the cc manual Who? Or where I can find.
Please advise!

Oracle pro*c under solaris, the translation has passed

Installed LD_LIBRARY_PATH environment variable.
Libucb.so.1 the path you should join.



 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com