rubinius/rubinius — Issue #1391: Rubinius Trunk - 1.9 mode sqlite3 gem loading error from missing C API function
Author: cwgem
Created: 2011-10-31 16:46:57+00:00
State: open

## Rubinius Version

rubinius 2.0.0dev (1.9.2 c116f06c yyyy-mm-dd JI) [x86_64-unknown-linux-gnu]

## Issue

The SQLite3 gem is unable to load due to a missing C API function related to encoding:

```
$ irb
irb(main):001:0> require 'sqlite3'
LoadError::InvalidExtensionError: Could not open library /home/cwgem/gems/rubinius-trunk/gems/1.9/gems/sqlite3-1.3.4/lib/sqlite3/sqlite3_native.so - /home/cwgem/gems/rubinius-trunk/gems/1.9/gems/sqlite3-1.3.4/lib/sqlite3/sqlite3_native.so: undefined symbol: rb_to_encoding_index
```