help requested!
some time ago I submitted a request to add fbd support to sqlalchemy
That is now being implemented, but they have encountered a problem on OSX.
I know nothing about OSX, but it looks as if that version misses an
entrypoint, BLOB_open.
I am not sure which version of Firebird they are using.
Any help welcome
--- Begin Message ---
#2504: alternative driver for firebird
-------------------------------------------+-------------------------------
Reporter: treeve | Owner: zzzeek
Type: enhancement | Status: new
Priority: medium | Milestone: 0.x.xx
Component: firebird | Severity: major - 1-3 hours
Resolution: | Keywords:
Progress State: needs questions answered |
-------------------------------------------+-------------------------------
Changes (by zzzeek):
* status_field: in progress => needs questions answered
* milestone: 0.7.9 => 0.x.xx
Comment:
I can get this going if you can help me get the library to build on OSX:
{{{
classics-MacBook-Pro:fdb-0.8.5 classic$ export
CFLAGS=-I/Library/Frameworks/Firebird.framework/Headers; export
LFLAGS=-L/Library/Frameworks/Firebird.framework/Libraries; python setup.py
build_ext Traceback (most recent call last):
File "setup.py", line 7, in <module>
from fdb import __version__
File "/usr/local/src/fdb-0.8.5/fdb/__init__.py", line 23, in <module>
from fdb.fbcore import *
File "/usr/local/src/fdb-0.8.5/fdb/fbcore.py", line 26, in <module>
from . import ibase
File "/usr/local/src/fdb-0.8.5/fdb/ibase.py", line 1789, in <module>
BLOB_open = fb_library.BLOB_open
File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py",
line 366, in __getattr__
func = self.__getitem__(name)
File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py",
line 371, in __getitem__
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: dlsym(0x1003ad890, BLOB_open): symbol not found
}}}
--
Ticket URL: <http://www.sqlalchemy.org/trac/ticket/2504#comment:2>
sqlalchemy <http://www.sqlalchemy.org/>
The Database Toolkit for Python
--- End Message ---
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel