[Python-Dev] Build problems with sqlite on OSX

"Martin v. Löwis" martin at v.loewis.de
Wed May 30 07:14:15 CEST 2007


Darrin Thompson schrieb:
> On 5/29/07, "Martin v. Löwis" <martin at v.loewis.de> wrote:
>> p &sqlite3InitCallback
>>
> 
> (gdb) p $sqlite3InitCallback
> $1 = void

Please try '&' instead of '$'. It's the address of that function
I was after (to then find out whether it is in the address range
of the extension module).

> The smoking gun: something is hauling in the system provided sqlite3
> in addition to my static one. (Weren't you just saying that?) I'm
> going to investigate that further unless you tell me I'm an idiot. I
> suspect it's the official Qt binaries from Trolltech doing it
> indirectly.
> 
> Plus that's the only way I can rationalize some sqlite functions
> having source available and some acting like they've been stripped.

Very likely. I think you will have to read up on "two-level namespaces"
and stuff like that to resolve this.

Regards,
Martin



More information about the Python-Dev mailing list