mount.s3ql - ImportError: sqlite3_uri_parameter

147 views
Skip to first unread message

Chris Franz

unread,
Jun 15, 2012, 10:24:49 PM6/15/12
to s3...@googlegroups.com
New s3ql install on centos5.8.  Installed the following according to the s3ql centos 64bit instructions:

apsw-3.7.12.1-r1
fuse-2.9.0
llfuse-0.37.1
sqlite-autoconf-3071300
s3ql-1.11.1

Note I installed gcc44 using "yum install gcc44 gcc44-c++ libstdc++44-devel" before building all of above
as default gcc 4.1.2 compiler threw multiple errors.

I got this to work before on centos6 and created an Amazon S3 bucket s3ql fs.  Trying to
mount or even mkfs  I get:

[root@hostname]# mount.s3ql s3://my-bucket  /mnt
Traceback (most recent call last):
  File "/usr/bin/mount.s3ql", line 9, in <module>
    load_entry_point('s3ql==1.11.1', 'console_scripts', 'mount.s3ql')()
  File "/usr/lib/python2.6/site-packages/distribute-0.6.27-py2.6.egg/pkg_resources.py", line 337, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.6/site-packages/distribute-0.6.27-py2.6.egg/pkg_resources.py", line 2307, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.6/site-packages/distribute-0.6.27-py2.6.egg/pkg_resources.py", line 2017, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/usr/lib64/python2.6/site-packages/s3ql-1.11.1-py2.6-linux-x86_64.egg/s3ql/mount.py", line 10, in <module>
    from . import fs, CURRENT_FS_REV
  File "/usr/lib64/python2.6/site-packages/s3ql-1.11.1-py2.6-linux-x86_64.egg/s3ql/fs.py", line 12, in <module>
    from .database import NoSuchRowError
  File "/usr/lib64/python2.6/site-packages/s3ql-1.11.1-py2.6-linux-x86_64.egg/s3ql/database.py", line 20, in <module>
    import apsw
ImportError: /usr/lib64/python2.6/site-packages/apsw.so: undefined symbol: sqlite3_uri_parameter

Any help would be appreciated. 

Thanks, Chris

Nikolaus Rath

unread,
Jun 17, 2012, 12:18:56 PM6/17/12
to s3...@googlegroups.com
Chris Franz <mrfi...@gmail.com> writes:
> New s3ql install on centos5.8. Installed the following according to the
> s3ql centos 64bit instructions:
>
> apsw-3.7.12.1-r1
> fuse-2.9.0
> llfuse-0.37.1
> sqlite-autoconf-3071300
> s3ql-1.11.1
>
> Note I installed gcc44 using "yum install gcc44 gcc44-c++
> libstdc++44-devel" before building all of above
> as default gcc 4.1.2 compiler threw multiple errors.
>
> I got this to work before on centos6 and created an Amazon S3 bucket s3ql
> fs. Trying to
> mount or even mkfs I get:
>
> [root@hostname]# mount.s3ql s3://my-bucket /mnt
[..]
> ImportError: /usr/lib64/python2.6/site-packages/apsw.so: undefined symbol:
> sqlite3_uri_parameter


This looks as if apsw has been compiled against the right SQLite
version, but at runtime is linked with an older version. Could that be
it?


Best,

-Nikolaus

--
»Time flies like an arrow, fruit flies like a Banana.«

PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6 02CF A9AD B7F8 AE4E 425C

Chris Franz

unread,
Jun 18, 2012, 11:21:17 PM6/18/12
to s3...@googlegroups.com

Thanks Nicolaus.  That got me past that error.  After setting LD_LIBRARY_PATH to use the correct libraries, however, I hit a le64toh issue.  I fixed that too but hit another.  I'm going to keep working on it and see if I can't post a more comprehensive "getting s3ql running on centos5.X" response.  I'll probably be calling on your expertise more.  Chris
Reply all
Reply to author
Forward
0 new messages