473,756 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can't import Object Craft's Sybase module...


I downloaded and built Object Craft's Sybase module but can't import it:

% PYTHONSTARTUP= python
Python 2.4a0 (#4, Mar 31 2004, 15:02:21)
[GCC 3.3.2] on sunos5
Type "help", "copyright" , "credits" or "license" for more information.
import Sybase

Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/home/titan/skipm/local/lib/python2.4/site-packages/Sybase.py", line 20, in ?
from sybasect import *
ImportError: ld.so.1: python: fatal: relocation error: file /opt/sybase/lib/libblk.so: symbol srv__get_xdrrec v: referenced symbol not found

The comp.lang.pytho n archives from late 2001 contain a message from Dave
Cole about this same problem, but as far as I could tell there was never any
resolution.

My environment for this mini-project is Solaris 9 on Intel. I've scanned
every directory I can think of (/usr/lib, /opt/sybase/lib, /opt/Forte*, etc)
looking for .so files containing that symbol but haven't found anything. I
wasn't able to fine anything on the Sybase website either.

Any suggestions appreciated.

Skip
Jul 18 '05 #1
0 1509

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

Similar topics

11
3394
by: BogAl | last post by:
Hi, all.... I'm hoping someone can help me. I've downloaded the csv.pyd file from http://www.object-craft.com.au/projects/csv/download.html and put it into my C:\Python22\DLLs directory. Typing import csv into a python window results in the following error message:
0
1152
by: rabbits77 | last post by:
I need a binary version of object craft's csv parser(http://www.object-craft.com.au/projects/csv/) for 2.3. I do not have the appropriate C environment for Windows and getting one is an impossibility(in the short term anyway). I am working on a project which uses this module. The project needs to work under 2.3 but this module is used so extensively refactoring the code to use another parsing method would be an undertaking that I would...
2
1782
by: DilbertFan | last post by:
Hi, I really thought that I had this importing business down. I recently downloaded and installed mx module for the DateTime class. In IDLE, I go: import mx mx.DateTime.DateTime(2004)
3
1580
by: Tim Hoffman | last post by:
Hi I have been using object crafts csv module for quite a few projects, mainly because I found the csv in python in it's current incarnation is funtionally inferior to object crafts. The object craft module for instance allowed you build up csv gradually (ie field at a time rather the python csv module where the writer does the work a record at a time) which isn't always the way I would like to work, also I have always had encoding...
5
2478
by: Steve Holden | last post by:
This is even stranger: it makes it if I import the module a second time: import dbimp as dbimp import sys if __name__ == "__main__": dbimp.install() #k = sys.modules.keys() #k.sort() #for kk in k:
0
2068
by: Martin Bless | last post by:
I need to access a MSSQL database (MS-Sql, not MySQL!)and would very much like to use mssql-0.09.tar.gz which is available from http://www.object-craft.com.au/projects/mssql/download.html Unfortunately the binary for Python-2.4 isn't available yet and I'd hate to step back to a previous version. I'm glad I managed to set up my XP machine to being able to compile extensions using the VC++ toolkit which freely availbale from MS. See
6
4896
by: scottyman | last post by:
I can't make this script work properly. I've gone as far as I can with it and the rest is out of my ability. I can do some html editing but I'm lost in the Java world. The script at the bottom of the html page controls the form fields that are required. It doesn't function like it's supposed to and I can leave all the fields blank and it still submits the form. Also I can't get it to transfer the file in the upload section. The file name...
13
4968
by: sonald | last post by:
Hi, Can anybody tell me how to change the text delimiter in FastCSV Parser ? By default the text delimiter is double quotes(") I want to change it to anything else... say a pipe (|).. can anyone please tell me how do i go about it?
0
1486
by: =?ISO-8859-1?Q?S=E9bastien_Sabl=E9?= | last post by:
WHAT IS IT: The Sybase module provides a Python interface to the Sybase relational database system. It supports all of the Python Database API, version 2.0 with extensions. The module is available here: http://downloads.sourceforge.net/python-sybase/python-sybase-0.39.tar.gz
0
9152
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9930
Oralloy
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9716
jinu1996
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8569
agi2029
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6410
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4996
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3676
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3185
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2542
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.