Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] dropbox-2.2.8 complains about missing libbz2.so.1.0
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
fberger
Tux's lil' helper
Tux's lil' helper


Joined: 04 Dec 2006
Posts: 89
Location: Germany

PostPosted: Mon Aug 19, 2013 8:49 pm    Post subject: [SOLVED] dropbox-2.2.8 complains about missing libbz2.so.1.0 Reply with quote

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
View user's profile Send private message
megabaks
Apprentice
Apprentice


Joined: 22 Jan 2012
Posts: 253
Location: Russia && Saint-Petersburg

PostPosted: Mon Aug 19, 2013 9:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
megabaks
Apprentice
Apprentice


Joined: 22 Jan 2012
Posts: 253
Location: Russia && Saint-Petersburg

PostPosted: Mon Aug 19, 2013 9:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21490

PostPosted: Mon Aug 19, 2013 9:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
megabaks
Apprentice
Apprentice


Joined: 22 Jan 2012
Posts: 253
Location: Russia && Saint-Petersburg

PostPosted: Mon Aug 19, 2013 10:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
fberger
Tux's lil' helper
Tux's lil' helper


Joined: 04 Dec 2006
Posts: 89
Location: Germany

PostPosted: Wed Aug 21, 2013 7:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum