473,385 Members | 1,256 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Problems with Oracle OCI library - help please

RTJ
I have experienced problems with Oracle OCI library. I was unable to properly
link
OCI library using gcc. Probably gcc compiler provided with SFU is unable to
link
native Windows library.
Oracle provides OCI dll (named oci.dll) and additionally OCI stub library
(oci.lib)
for Microsoft MSVC compiler. I have attempted to link dora with both OCI dll
and
OCI lib. Link with OCI lib resulted with many strange linker errors
(probably gcc does not recognize the "lib" file format).
Link with OCI dll i have performed in two ways:
-- using options: -L$(ORACLE_HOME)/bin -loci
- gcc produced error message that library is not found
-- providing full library pathname in command line:
$(ORACLE_HOME)/bin/oci.dll
- gcc produced error messages about unresolved symbols, although these
symbols are located in this library.

If somebody did successfully link any native Windows library with any program
written for SFU, please inform me how to link such library properly.

On the other hand, I couldn't bring to work the second compiler provided with
SFU
-- the Microsoft compiler. Maybe somebody was able to compile
a C++ source file or create a shared library using it ?
Which compiler are you using ?
--
Regards
Romek
=> http://www.rtj.republika.pl <= my photo gallery

Nov 14 '05 #1
4 4053
On Tue, 14 Dec 2004 16:37:57 +0100
"RTJ" <ro**********@polbox.com> wrote:
I have experienced problems with Oracle OCI library.
Not part of the C language and therefor off topic here.
I was unable to properly link
OCI library using gcc. Probably gcc compiler provided with SFU is
unable to link native Windows library.
How to drive the tools is implementation specific and off topic here.
Oracle provides OCI dll (named oci.dll) and additionally OCI stub
library
(oci.lib)
..dll and .lib files are not part of the C language and therefor off
topic here.
for Microsoft MSVC compiler. I have attempted to link dora with both
Interoperability of different tool chains is highly implementation
specific and therefor off topic here.

<snip>
Which compiler are you using ?


Irrelevant to most discussions here.

I suggest asking in a Windows, gcc or Oracle group since nothing you are
asking about is on topic for this group.
--
Flash Gordon
Living in interesting times.
Although my email address says spam, it is real and I read it.
Nov 14 '05 #2
On Tue, 14 Dec 2004 16:37:57 +0100, RTJ wrote:
I have experienced problems with Oracle OCI library. I was unable to properly
link
OCI library using gcc. Probably gcc compiler provided with SFU is unable to
link
native Windows library.


comp.lang.c is a newsgroup for discussing the standard C programming
language. Your problem isn't about standard C, rather it is about a highly
platform and compiler specific link issue. Try a newsgroup better
targetted to your problem, maybe something in the gnu.gcc.* or
comp.databases.oracle.* hierarchies.

Lawrence

Nov 14 '05 #3
RTJ wrote:

I have experienced problems with Oracle OCI library. I was unable
to properly link OCI library using gcc. Probably gcc compiler
provided with SFU is unable to link native Windows library.
Oracle provides OCI dll (named oci.dll) and additionally OCI stub
library (oci.lib) for Microsoft MSVC compiler. I have attempted to

.... snip ...

To make this even remotely on-topic here you will have to publish
the full source and headers for the OCI library and the Windows
library. Make sure they don't exceed a few hundred lines, properly
indented with spaces, not tabs.

This newsgroup deals with the portable C language as described in
the ISO standards, and not with non-standardized add-ons. For
system specific things, find a newsgroup dealing with that system.

--
Chuck F (cb********@yahoo.com) (cb********@worldnet.att.net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net> USE worldnet address!

Nov 14 '05 #4
RTJ
"CBFalconer" <cb********@yahoo.com> wrote in message
news:41***************@yahoo.com...

To make this even remotely on-topic here you will have to publish
the full source and headers for the OCI library and the Windows
library. Make sure they don't exceed a few hundred lines, properly
indented with spaces, not tabs.


;-)
ok, ok, I understood
sorry for off topic

--
Regards
Romek
=> http://www.rtj.republika.pl <= my photo gallery

Nov 14 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Greg Lindstrom | last post by:
Greetings- I am running Python 2.3.3 on HP-UX and would like to access an Oracle 9i database. Looking through the vaults, I see 4 or 5 modules that might work and was wondering if anyone is...
3
by: Jan Bols | last post by:
I've been trying to install Oracle 8.1.7 on a fresh Mandrake 9.1 O.S for days, but I'm still not able to get it running. I've tried several install instructions that I found on the internet but no...
2
by: William F. O'Neill | last post by:
Have just upgraded my home installation of Oracle 10g. Was using 9i. The installation seemed to go fine, but with all the documentation, I'm having a hard time getting the Enterprise Manager to...
1
by: black hawk | last post by:
Hello, i have a big problems, to install oracle 9i v9.2 Server to my "Windows XP" with Service Pack 2 and all security and other updates from Microsoft. The "Universall Installer" (Standard...
0
by: black hawk | last post by:
Hello, i have a big problems, to install oracle 9i v9.2 Server to my "Windows XP" with Service Pack 2 and all security and other updates from Microsoft. The "Universall Installer" (Standard...
0
by: Nagi | last post by:
Hi, I'm working for the backup application. Currently we need to support Oracle8i backups for our application. We are having OCI* calls from our code. We are using Recovery Manager: Release...
1
by: RTJ | last post by:
I have experienced problems with Oracle OCI library. I was unable to properly link OCI library using gcc. Probably gcc compiler provided with SFU is unable to link native Windows library. Oracle...
4
by: Francis Awofeso | last post by:
I am new to .NET and I am trying to connect to Oracle database. Can someone with this experience please describe the steps or process to connect to Oracle from .Net. I will appreciate it if anyone...
5
by: Michael Rudolph | last post by:
Hi newsgroup, I have an issue with the configuration of a DB2 federated database (WebSphere Information Integrator) in conjunction with the relational wrapper for Oracle on AIX. DB2 seems to not...
9
by: Frank | last post by:
Hi, imagine there's a WEB application reading data from an Oracle database to visualize in using DataGrids in the clients browser. Yes, sounds simple, just create OracleConnection + OracleCommand...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.