Error when compiling with the pro-c


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Error when compiling with the pro-c
# 1  
Old 04-20-2010
Error Error when compiling with the pro-c

Gentlemen, I can not compile with the Pro-C installed on a Solaris 10. I get the following error ..:

Code:
! Compilation: startdmn.pc
------------------------------------------------------------------
ld.so.1: proc: fatal: libclntsh.so.9.0: open failed: No such file or directory
make: Fatal error: Command failed for target `startdmn.o'
------------------------------------------------------------------
!                                                                !
!               ERROR                    !
!                                                                !
-----------------------------------------------------------------

Thanks for the help ....

Last edited by vbe; 04-20-2010 at 12:04 PM.. Reason: code tags please
# 2  
Old 04-20-2010
Like it says, it's missing that file. Are they in $ORACLE_HOME/lib and just not being searched, or are they missing entirely?
# 3  
Old 04-20-2010
Quote:
Originally Posted by Corona688
Like it says, it's missing that file. Are they in $ORACLE_HOME/lib and just not being searched, or are they missing entirely?
Corona688: No longer gives me the error of library. Now, I get the following error:

It is when I compile the file startdmn.pc. there is an error in the command MAKE

Code:
...> hide.sh startdmn.pc
startdmn.hide: No such file or directory
del
del 2
valor de tcs: /home/oracle/aplic/salta/proc/desarrollo
==================================================================
! Compilando: startdmn.pc
------------------------------------------------------------------
make: Fatal error: Command failed for target `startdmn.o'
------------------------------------------------------------------
!                                                                !
!               ERROR durante la compilacion                     !
!                                                                !
------------------------------------------------------------------
compilo
mv: cannot access startdmn
movio


Gracias...

Last edited by pludi; 04-20-2010 at 02:11 PM.. Reason: code tags, please...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Error while compiling

Hi I am trying to compile a binary file (CASPER: Context-Aware Scheme for Paired-End Read) but I am getting the following error: user@user-OptiPlex-780 make g++ -O2 -Wall -fopenmp -c -o merge.o merge.c merge.c:8:35: fatal error: boost/unordered_map.hpp: No such... (2 Replies)
Discussion started by: Xterra
2 Replies

2. UNIX and Linux Applications

Pro*c file Compiling Issue in suse Linux

The existing .pc (pro *C) file is running successfully in UNIX. But when Iam trying to compile this same file in LINUX using proc iname filename.pc, Iam getting an error, proc file not recognized. Could someone help how to generate execute file from the proc*c file. what are the prerequisites... (2 Replies)
Discussion started by: vikrambharat
2 Replies

3. Solaris

ERROR while compiling

Hi guys i came across an error while compiling a c file in solaris using gcc. the error is, Undefined first referenced symbol in file bind /var/tmp//ccAr8qAh.o accept ... (4 Replies)
Discussion started by: rajeshb6
4 Replies

4. Programming

Error with compiling

Hi guys. I have a header file: unp.h like this: #ifndef _UNP_H_ #define _UNP_H_ extern ssize_t readn(int filedes, void *buff, size_t nbytes); extern ssize_t writen(int filedes, const void *buff, size_t nbytes); extern void err_quit(const char *msg); #define TRUE 1 #define FALSE 0 ... (2 Replies)
Discussion started by: majid.merkava
2 Replies

5. Programming

gcc compiling error

I am using gcc to compile c objects on solaris 5.10 and hit the following error messages: /usr/include/sys/vfs.h:323: error: syntax error before "statvfs64_t" /usr/include/sys/vfs.h:334: error: syntax error before "statvfs64_t" gmake: *** Error 1 The c program files were copied over from... (3 Replies)
Discussion started by: med7006
3 Replies

6. Programming

Compiling Pro*C program under unix

Hello, I am trying to compile a Pro*C program under unix: proc iname=test.pc works fine but then I am not able to compile the test.c file : gcc test.c -o test.o -L $ORACLE_HOME/lib -l clntsh /usr/bin/ld: Object file format error in: /u01/app/oracle/product/10.1.0.2.0/lib:... (1 Reply)
Discussion started by: nsmrmd
1 Replies

7. Programming

Compilation error when compiling Pro*C code

I'm running a query similar to the one that I'm describing below -: _______________________________ EXEC SQL INSERT INTO TABLE1 ( C1 ,C2 ,C3 ,C4 ) (SELECT DISTINCT B.V1 ,B.V2 ,( SELECT D.V3 FROM TABLE2 D WHERE D.V3 = C.V4) ,B.V4 FROM TABLE2 B ,TABLE3 C WHERE B.V3 = C.V4) ;... (1 Reply)
Discussion started by: maheshp
1 Replies

8. Programming

pipes : error on compiling!

Hi All. I have one problem. I am writng client-server by using pipes. But when i compile i get following error. /usr/lib/gcc/i386-redhat-linux/3.4.2/../../../crt1.o(.text+0x18): In function `_start': : undefined reference to `main' collect2: ld returned 1 exit status make: *** Error 1 ... (2 Replies)
Discussion started by: i.pas
2 Replies

9. Programming

Compiling Error

Hi, I have installed "Freetype2" library in my SuSe Linux 9.3 version system. When Iam compiling a program, I am getting these below errors. Undefined reference to "FT_Init_FreeType" Undefined reference to "FT_Load_Char" Please show me a solution? Thank you. With regards, Chandramouli (1 Reply)
Discussion started by: chandra80
1 Replies

10. UNIX for Dummies Questions & Answers

domain logon problem - FreeBSD PDC w/ win2k pro and winxp pro

this is the seventh problem i'm having with samba. for some reason, i cannot logon to the domain. i've created user accounts... and i was able to establish a connection between the samba server (my PDC) and my workstations by logging in as "root." however now when i try to logon it gives... (5 Replies)
Discussion started by: xyyz
5 Replies
Login or Register to Ask a Question