#1246 ✓not-applicable

do_sqlite3 accesses missing symbols in libsqlite3

Reported by Postmodern | April 16th, 2010 @ 01:32 AM

Just noticed that do_sqlite3 has trouble accessing symbols in it's own C extension library.

ruby-1.8.7-p249 > require 'do_sqlite3'
LoadError: /home/hal/.rvm/gems/ruby-1.8.7-p249/bundler/gems/do-ead4d72fd14942d850490058a50494994eca82c1-master/do_sqlite3/lib/do_sqlite3/do_sqlite3.so: undefined symbol: sqlite3_enable_load_extension - /home/hal/.rvm/gems/ruby-1.8.7-p249/bundler/gems/do-ead4d72fd14942d850490058a50494994eca82c1-master/do_sqlite3/lib/do_sqlite3/do_sqlite3.so
    from /home/hal/.rvm/gems/ruby-1.8.7-p249/bundler/gems/do-ead4d72fd14942d850490058a50494994eca82c1-master/do_sqlite3/lib/do_sqlite3/do_sqlite3.so
    from /home/hal/.rvm/gems/ruby-1.8.7-p249/bundler/gems/do-ead4d72fd14942d850490058a50494994eca82c1-master/do_sqlite3/lib/do_sqlite3.rb:22
    from (irb):1:in `require'
    from (irb):1
$ nm /usr/lib/libsqlite3.a | grep sqlite3_enable_load_extension
$ nm /home/hal/.rvm/gems/ruby-1.8.7-p249/bundler/gems/do-ead4d72fd14942d850490058a50494994eca82c1-master/do_sqlite3/lib/do_sqlite3/do_sqlite3.so | grep sqlite3_enable_load_extension
                 U sqlite3_enable_load_extension

libsqlite3: 3.6.22
uname -a: Linux example 2.6.28 #8 SMP Sun May 9 22:53:00 PDT 2010 x86_64 AMD Athlon(tm) 64 Processor 3400+ AuthenticAMD GNU/Linux

Comments and changes to this ticket

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 »


Referenced by