Ruby on Rails Wednesday, April 4, 2012

If you are using ubuntu or other apt- system, you can check: aptitude search sqlite3, which will list packages containing that word; installed packages will look like "i   libsqlite3-dev....". Not installed packages will appear with 'p' instead of 'i'.



El miércoles 4 de abril de 2012 16:26:40 UTC+2, Ruby-Forum.com User escribió:
Juan Pablo Avello wrote in post #1055004:
> El mircoles 4 de abril de 2012 15:30:15 UTC+2, Ruby-Forum.com User
> escribi:
>> Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native
>> checking for sqlite3_load_extension()... no
>> database.c:47: error: 'SQLITE_OPEN_READWRITE' undeclared (first use in
>> make: *** [database.o] Error 1
>>
>> checking for sqlite3_initialize()... no
>> -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith
>> this function)
>>
>> Posted via http://www.ruby-forum.com/.
>>
>
> I never faced this problem myself and I can't assure this will solve it
> but
> having seen other similar problems, I'd start by checking that your
> system
> has the 'libsqlite3-dev' package installed.
>
> Anyway its probably better to install mysql or other db system, as you
> will
> do it eventually anyway. Just make sure you install the '-dev' packages
> as
> well.
>
> Regards.

Is the 32bit or 64bit problems?

How to check 'libsqlite3-dev'/'-dev' installed or not?

Thanks & Best Regards

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/lr1nUR1K7pUJ.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment