|
Установка SQLite для работы в Linux с DBD::SQLite
|
|||
---|---|---|---|
#18+
Здравствуйте! Стоит задача обработки базы данных хистори браузеров на перле, но пока что не получается и простейшее открытие БД... Помогите советом) #! usr/bin/perl use CGI::Carp 'fatalsToBrowser'; use DBI ':sql_types'; my $dbfile = '/media/KINGSTON/places.sqlite'; $db = DBI->connect("dbi:SQLite3:dbname=$dbfile"); $db->disconnect; В результате компиляции в терминале: Status: 500 Content-type: text/html <h1>Software error:</h1> <pre>install_driver(SQLite3) failed: DBD::SQLite object version 1.29 does not match bootstrap parameter 1.11 at /usr/lib/perl/5.10/DynaLoader.pm line 215. Compilation failed in require at (eval 5) line 3. at SQLiteParser.pl line 5 </pre> <p> For help, please send mail to this site's webmaster, giving this error message and the time and date of the error. </p> [Fri Apr 29 16:51:42 2011] SQLiteParser.pl: install_driver(SQLite3) failed: DBD::SQLite object version 1.29 does not match bootstrap parameter 1.11 at /usr/lib/perl/5.10/DynaLoader.pm line 215. [Fri Apr 29 16:51:42 2011] SQLiteParser.pl: Compilation failed in require at (eval 5) line 3. [Fri Apr 29 16:51:42 2011] SQLiteParser.pl: [Fri Apr 29 16:51:42 2011] SQLiteParser.pl: at SQLiteParser.pl line 5 Версия SQLite самая свежая, несколько раз переустанавливал DBI::SQLite самых разных версий через CPAN и вручную переносил файлы библиотек в /etc/perl... Что еще можно попробовать, друзья? ... |
|||
:
Нравится:
Не нравится:
|
|||
29.04.2011, 17:20 |
|
|
start [/forum/topic.php?fid=54&msg=37240752&tid=2009194]: |
0ms |
get settings: |
11ms |
get forum list: |
13ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
67ms |
get topic data: |
13ms |
get forum data: |
2ms |
get page messages: |
45ms |
get tp. blocked users: |
2ms |
others: | 335ms |
total: | 494ms |
0 / 0 |