View previous topic :: View next topic |
Author |
Message |
fberger Tux's lil' helper
Joined: 04 Dec 2006 Posts: 89 Location: Germany
|
Posted: Mon Aug 19, 2013 8:49 pm Post subject: [SOLVED] dropbox-2.2.8 complains about missing libbz2.so.1.0 |
|
|
Hi,
I've just emerged net-misc/dropbox-2.2.8. Running /opt/bin/dropbox yields
Code: | Traceback (most recent call last):
File "dropbox/client/main.py", line 106, in <module>
File "dropbox/client/authenticate.py", line 38, in <module>
File "dropbox/sync_engine/__init__.py", line 1, in <module>
File "dropbox/sync_engine/attrs_handler.py", line 37, in <module>
File "dropbox/sync_engine/sync_engine_util.py", line 8, in <module>
File "dropbox/librsync.py", line 6, in <module>
ImportError: libbz2.so.1.0: cannot open shared object file: No such file or directory |
Installed bzip2 is app-arch/bzip2-1.0.6, which is fairly recent.
Code: | $ ls -l /usr/lib/libbz*
-rw-r--r-- 1 root root 74424 23. Mär 2011 /usr/lib/libbz2.a
-rwxr-xr-x 1 root root 521 23. Mär 2011 /usr/lib/libbz2.so |
It used to work some updates ago. I'd be glad about any hints how to fix this.
Thanks,
fberger
Last edited by fberger on Wed Aug 21, 2013 7:14 pm; edited 1 time in total |
|
Back to top |
|
|
megabaks Apprentice
Joined: 22 Jan 2012 Posts: 253 Location: Russia && Saint-Petersburg
|
Posted: Mon Aug 19, 2013 9:03 pm Post subject: |
|
|
why /usr/lib/?
Code: | equery b libbz2.so.1.0
* Searching for libbz2.so.1.0 ...
app-arch/bzip2-1.0.6-r4 (/lib/libbz2.so.1.0 -> libbz2.so.1.0.6)
|
_________________ sorry my bad english |
|
Back to top |
|
|
megabaks Apprentice
Joined: 22 Jan 2012 Posts: 253 Location: Russia && Saint-Petersburg
|
Posted: Mon Aug 19, 2013 9:08 pm Post subject: |
|
|
paste output Code: | ldd /opt/dropbox/bz2.so /opt/dropbox/_librsync.so /opt/dropbox/librsync.so.1 2>/dev/null | grep libbz2 |
_________________ sorry my bad english |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21431
|
Posted: Mon Aug 19, 2013 9:48 pm Post subject: |
|
|
What is the output of ls -l /lib/libbz*? Alternately, try building a newer version of Dropbox instead of using a prebuilt binary. |
|
Back to top |
|
|
megabaks Apprentice
Joined: 22 Jan 2012 Posts: 253 Location: Russia && Saint-Petersburg
|
Posted: Mon Aug 19, 2013 10:03 pm Post subject: |
|
|
Hu wrote: | What is the output of ls -l /lib/libbz*? Alternately, try building a newer version of Dropbox instead of using a prebuilt binary. | net-misc/dropbox-2.2.8 + app-arch/bzip2-1.0.6-r4 work fine _________________ sorry my bad english |
|
Back to top |
|
|
fberger Tux's lil' helper
Joined: 04 Dec 2006 Posts: 89 Location: Germany
|
Posted: Wed Aug 21, 2013 7:13 pm Post subject: |
|
|
megabaks wrote: | paste output Code: | ldd /opt/dropbox/bz2.so /opt/dropbox/_librsync.so /opt/dropbox/librsync.so.1 2>/dev/null | grep libbz2 |
|
Of course, ldd. Here we go:
Code: | $ ldd /opt/dropbox/bz2.so /opt/dropbox/_librsync.so /opt/dropbox/librsync.so.1 2>/dev/null | grep libbz2
libbz2.so.1.0 => not found
libbz2.so.1.0 => not found
libbz2.so.1.0 => not found |
Not unexpected.
Hu wrote: | What is the output of ls -l /lib/libbz*? |
Code: | $ ls -l /lib/libbz*
lrwxrwxrwx 1 root root 15 16. Jan 2013 /lib/libbz2.so.1 -> libbz2.so.1.0.6
-rwxr-xr-x 1 root root 70020 23. Mär 2011 /lib/libbz2.so.1.0.6 |
Seems my bzip2 version does not provide the .so.1.0 symlink.
Hu wrote: | Alternately, try building a newer version of Dropbox instead of using a prebuilt binary. |
Eh, I was under the impression net-misc/dropbox would do just that - build from source. Anyway,
megabaks wrote: | net-misc/dropbox-2.2.8 + app-arch/bzip2-1.0.6-r4 work fine |
Yes, a bzip2 update solved it. I'll file a bug for dropbox, as it should depend on the correct bzip2 version.
Thanks for helping! |
|
Back to top |
|
|
|