#811 ✓resolved
Rafael Rosa Fu

Problem running do_sqlite3 0.9.12 with SQLite3 3.3.6

Reported by Rafael Rosa Fu | March 3rd, 2009 @ 01:56 PM

Hi,

I'm deploying my application to a shared host which is running SQLite 3.3.6. When I tried to run automigrate I got the following error:

/vendor/gems/do_sqlite3-0.9.12/lib/do_sqlite3_ext.so: undefined symbol: sqlite3_open_v2

It's a Rails app running Edge DataMapper, all dm and do gems are vendorized and rebuilt on the server, to avoid machine specific problems. I talked to dkubb on the IRC channel and he told me to post the ticket so you can decide if it's worth a patch or not. If you need more information or someone to test a patch, just drop a mail.

Thanks

Comments and changes to this ticket

  • Dirkjan Bussink

    Dirkjan Bussink March 22nd, 2009 @ 09:36 AM

    • Assigned user set to “Dirkjan Bussink”

    Hmm, strange, it should not use sqlite3_open_v2 if it can't find those. Could you clone the DO repository on that machine and build the extension in there? I'd like to see the output to check wether it correctly determines that sqlite3_open_v2 is not available.

  • Rafael Rosa Fu

    Rafael Rosa Fu March 22nd, 2009 @ 02:00 PM

    Hi,

    You can download the unpacked gem at http://rafaelrosafu.com/sqlite3.tar, if you need anything else just drop a comment here.

    Thanks, Rafael

  • Dirkjan Bussink

    Dirkjan Bussink March 23rd, 2009 @ 04:45 PM

    Looks like the archive doesn't enable sqlite3_open_v2, i wonder why it is linked against it then. Do you have the output of rake compile in a checkout somewhere?

    What distro is this btw so maybe I can try to reproduce it then.

  • Dirkjan Bussink

    Dirkjan Bussink July 23rd, 2009 @ 11:50 AM

    • State changed from “unconfirmed” to “resolved”

    I'm closing this for since it didn't have any activity for a while. If you still see this issue, please supply the operating system and versions installed so I can reproduce the issue.

  • Rafael Rosa Fu

    Rafael Rosa Fu July 23rd, 2009 @ 11:56 AM

    Hi, sorry I didn't reply earlier, but I was unable to reproduce the same environment I had before and now I'm not working very much with DataMapper. I expect to have some spare time soon, and then I'll try to reproduce it and I'll report back. Thanks.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket

Pages