473,549 Members | 2,835 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to build/install DCOracle2 on tru64 5.1

I've have some fun getting DCOracle2 (python-to-oracle interface)
going on HP/Compaq Tru64 with Oracle8i Release 3 (oracle 8.1.7). I'd
like to share an answer/bug-fix with you:

After un-tarring the source...
1) edit setup.py. Change the lines:
LFLAGS = ["-Wl,-rpath,%s" % string.join(LIB _DIR,",")]



LIBS=['clntsh','ocijd bc8']

2) Now run python setup.py build
3) Now, as root (or whatever), run python setup.py install
4) When you test, DO NOT sit in any directory that contains a
"DCOracle2" sub-directory! Get away from the build area and its

This works for me. The usual technique produces a broken dco2.so,
which cannot resolve "OCILobIsTempor ary", due to some brain-damage in
the Oracle8i libraries. The trick of using ocijdbc8 came from
somebody else on the web whose name I now cannot recall, I apologize
to whoever is was.

Best of Luck Tru64 people!
Jul 18 '05 #1
0 1342

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

Similar topics

by: Skip Montanaro | last post by:
Connections to remote Oracle databases doesn't seem possible with DCOracle2. I have no problem making remote connections using Perl's DBI::Oracle package, so I know it's possible in theory. Is this capability available in DCOracle2 but just not documented perhaps? Thx, Skip
by: Timo Virkkala | last post by:
I'm having some trouble with Python2.2 and DCOracle2. I'm successfully executing a query, and getting the result I'm hoping for - with an added bonus of some interesting encoding. The beginning of the result set I get looks like this: , ... So, where are those \x00 -characters coming? It should read: , ...
by: Ron Reidy | last post by:
All, I am trying to compile DCOracle2 on RedHat 8.0 and make is giving me the following error: gcc -pthread -fPIC -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/usr/local/include/python2.3 -I/usr/local/include/python2.3 @DEFS@ -I/oracle/app/oracle/9i/rdbms/demo -I/oracle/app/oracle/9i/network/public -I/oracle/app/oracle/9i/plsql/public
by: Keana | last post by:
Hi, I am trying to retrieve data from an Oracle DB table. One of the columns is defined as 'Long Raw' data type and contains multi-line string data (with newlines). My query returns 'None' for this column although there is data in the rows I am retrieving. Can someone tell me how to get around this problem? I am using DCOracle2 v2.1.2...
by: Joe Wong | last post by:
Hi, I have two system running with DCOracle2 library. On one system, the data is returned as 'float' but the other system return the value as 'string'. What could be the problem here? Best regards, -- Wong
by: jose luis fernandez diaz | last post by:
Hi, When I run the program below on Tru64: #include <string> int main() { char *cad="hola"; string s1 = 1 ? string(cad, 0, 2) : "";
by: Nikola Milutinovic | last post by:
Hi guys. I have just had some problems resolved while building PostgreSQL 7.4.2 on Tru64 UNIX 5.1B. File "./src/backend/utils/adt/float.c" uses "NAN" on two spots. It ahs a fall-back definition of NAN as: #define NAN 0.0/0.0
by: Chris | last post by:
Hello I'm using DCOracle2 with Python 2.1 and Oracle 8.1.7 on Solaris and while it's working most of the time, I have random ORA-01084 invalid argument in OCI call errors that occur on INSERT. Out of 18000 queries all using the same DB connection I have like 15 errors of this type. It's always the same SQL queries (2 different INSERT and...
by: Yannick | last post by:
Hi, I'm Julien from France, We have recently install a new Web Server for my company The server is composed : - Linux RedHat RHEL4 U4 - Httpd-2.0.52-27.ent - Oracle Database
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.