Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re:RE: pro C

Re:RE: pro C

From: <dgoulet_at_vicr.com>
Date: Mon, 27 Nov 2000 09:18:01 -0500
Message-Id: <10693.122937@fatcity.com>


What platform, Please?? Different platforms, like HP-UX, require setting a particular compiler option to define how it looks for a shared library, otherwise the linker in it's "infinite wisdom" will hardcode the path in.

Dick Goulet

____________________Reply Separator____________________
Subject: RE: pro C
Author: "DEMANCHE Luc (Cetelem)" <luc.demanche_at_cetelem.fr> Date: 11/23/2000 4:30 AM

hi,

I have a another question about demo_proc.mk

I tried to use $ORACLE_HOME/precomp/demo/proc/demo_proc.mk with all my environments variables pointed to /app/oracle/product/8.1.6 (included LD_LIBRARY_PATH) and when a executed my program, it still asks for a Oracle7 library called libclntsh.so.1.0

"ld.so.1: prsql: fatal: libclntsh.so.1.0: open failed: No such file or directory"
If my Ld_LIBRARY_PATH included /app/oracle/product/7.34/lib, it works fine, so I don't want my program used 7.3.4 libraries.

What is the problem ?

TIA -----Message d'origine-----
De: Robin Williams [ mailto:Rwilliams_at_globaledge.co.za
<mailto:Rwilliams_at_globaledge.co.za> ]

Date: Wednesday, November 22, 2000 10:05 AM A: vikram somanathan; oracledba_at_quickdoc.co.uk Objet: RE: pro C

using the makefile $ORACLE_HOME/precomp/demo/proc/demo_proc.mk

try

make -f demo_proc.mk build EXE=yourexe OBJS=yourobjs.o

Let me know if you have problems

Robin

-----Original Message-----
<mailto:vicky_somanathan_at_yahoo.com> ]

Sent: Wednesday, November 22, 2000 7:38 AM To: oracledba_at_quickdoc.co.uk

hi,
can anybody who has worked on pro C let me know have i can complie the code generated by Pro C to an exectable format ....
thanx
vikram



Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/ <http://shopping.yahoo.com/>

Think you know someone who can answer the above question? Forward it to them!
to unsubscribe, send a blank email to oracledba-unsubscribe_at_LAZYDBA.com to subscribe send a blank email to oracledba-subscribe_at_LAZYDBA.com Visit the list archive: http://www.LAZYDBA.com/odbareadmail.pl
<http://www.LAZYDBA.com/odbareadmail.pl>


Think you know someone who can answer the above question? Forward it to them!
to unsubscribe, send a blank email to oracledba-unsubscribe_at_LAZYDBA.com to subscribe send a blank email to oracledba-subscribe_at_LAZYDBA.com Visit the list archive: http://www.LAZYDBA.com/odbareadmail.pl
<http://www.LAZYDBA.com/odbareadmail.pl>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>

<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2448.0">
<TITLE>RE: pro C</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>hi,</FONT>
</P>

<P><FONT SIZE=2>I have a another question about demo_proc.mk</FONT>
</P>

<P><FONT SIZE=2>I tried to use $ORACLE_HOME/precomp/demo/proc/demo_proc.mk with
all my environments variables pointed to /app/oracle/product/8.1.6 (included LD_LIBRARY_PATH) and when a executed my program, it still asks for a Oracle7 library called libclntsh.so.1.0</FONT></P>

<P><FONT SIZE=2>&quot;ld.so.1: prsql: fatal: libclntsh.so.1.0: open failed: No
such file or directory&quot;</FONT>
<BR><FONT SIZE=2>If my Ld_LIBRARY_PATH included /app/oracle/product/7.34/lib, it
works fine, so I don't want my program used 7.3.4 libraries.</FONT></P>

<P><FONT SIZE=2>What is the problem ?</FONT>
</P>

<P><FONT SIZE=2>TIA</FONT>
</P>

<P><FONT SIZE=2>-----Message d'origine-----</FONT>
<BR><FONT SIZE=2>De: Robin Williams [<A

HREF="mailto:Rwilliams_at_globaledge.co.za">mailto:Rwilliams_at_globaledge.co.za</A>]< /FONT>
<BR><FONT SIZE=2>Date: Wednesday, November 22, 2000 10:05 AM</FONT>
<BR><FONT SIZE=2>A: vikram somanathan; oracledba_at_quickdoc.co.uk</FONT>
<BR><FONT SIZE=2>Objet: RE: pro C</FONT>
</P>
<BR>

<P><FONT SIZE=2>using the makefile

$ORACLE_HOME/precomp/demo/proc/demo_proc.mk</FONT>
</P>

<P><FONT SIZE=2>try</FONT>
</P>

<P><FONT SIZE=2>make -f demo_proc.mk build EXE=yourexe OBJS=yourobjs.o</FONT>
</P>

<P><FONT SIZE=2>Let me know if you have problems</FONT>
</P>

<P><FONT SIZE=2>Robin</FONT>
</P>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: vikram somanathan [<A
HREF="mailto:vicky_somanathan_at_yahoo.com">mailto:vicky_somanathan_at_yahoo.com</A>]< /FONT>
<BR><FONT SIZE=2>Sent: Wednesday, November 22, 2000 7:38 AM</FONT>
<BR><FONT SIZE=2>To: oracledba_at_quickdoc.co.uk</FONT>
<BR><FONT SIZE=2>Subject: pro C</FONT>
</P>
<BR>

<P><FONT SIZE=2>hi,</FONT>
<BR><FONT SIZE=2>can&nbsp; anybody who has worked on pro C let me know

have</FONT>

<BR><FONT SIZE=2>i can complie the code generated by Pro C to an</FONT>
<BR><FONT SIZE=2>exectable format .... </FONT>
<BR><FONT SIZE=2>thanx</FONT>
<BR><FONT SIZE=2>vikram </FONT>
</P>

<P><FONT SIZE=2>__________________________________________________</FONT>
<BR><FONT SIZE=2>Do You Yahoo!?</FONT>
<BR><FONT SIZE=2>Yahoo! Shopping - Thousands of Stores. Millions of
Products.</FONT>
<BR><FONT SIZE=2><A HREF="http://shopping.yahoo.com/"
TARGET="_blank">http://shopping.yahoo.com/</A></FONT>
</P>

<P><FONT SIZE=2>--------</FONT>
<BR><FONT SIZE=2>Think you know someone who can answer the above question?
Forward it to</FONT>
<BR><FONT SIZE=2>them!</FONT>
<BR><FONT SIZE=2>to unsubscribe, send a blank email to
oracledba-unsubscribe_at_LAZYDBA.com</FONT>
<BR><FONT SIZE=2>to subscribe send a blank email to
oracledba-subscribe_at_LAZYDBA.com </FONT>
<BR><FONT SIZE=2>Visit the list archive: <A
HREF="http://www.LAZYDBA.com/odbareadmail.pl" TARGET="_blank">http://www.LAZYDBA.com/odbareadmail.pl</A></FONT>
</P>
<BR>

<P><FONT SIZE=2>--------</FONT>
<BR><FONT SIZE=2>Think you know someone who can answer the above question?
Forward it to them!</FONT>
<BR><FONT SIZE=2>to unsubscribe, send a blank email to
oracledba-unsubscribe_at_LAZYDBA.com</FONT>
<BR><FONT SIZE=2>to subscribe send a blank email to
oracledba-subscribe_at_LAZYDBA.com </FONT> Received on Mon Nov 27 2000 - 08:18:01 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US