1 |
Hi, |
2 |
|
3 |
our public library uses Adobe Digital Rights Management. |
4 |
That means you download a paper/book and open it with acroread. |
5 |
|
6 |
It used to work fine with gentoo ~amd64 but not with ~x86 and x86. |
7 |
(I assume it works with amd64 as well, can't just test it) |
8 |
|
9 |
Acroread always crashed, when I tried to open a drm-protected document |
10 |
on x84-installations. |
11 |
|
12 |
The reason is, that acroread (acroread-9.4.2) is installed as binary, |
13 |
but dynamically linked and when you open a drm-protected document, it |
14 |
tries to load the non-existing library /usr/lib32/libidn.so.11. |
15 |
|
16 |
To reproduce: |
17 |
in xterm: |
18 |
$ export ACRODEBUG=1 |
19 |
$ acroread |
20 |
|
21 |
now open drm-protected document |
22 |
|
23 |
dlopen: libidn.so.11: cannot open shared object file: No such file or |
24 |
directory |
25 |
|
26 |
This library is part of app-emulation/emul-linux-x86-baselibs-20110928 |
27 |
which is usually installed with non-x86 installations. |
28 |
|
29 |
So I installed emul-linux-x86-baselibs and did set a softlink from |
30 |
/usr/lib32/libidn.so.11 to /usr/lib. It works fine. |
31 |
|
32 |
But lately I ran into problems after upgrading gcc. I couldn't emerge |
33 |
qt-gui |
34 |
anymore. Actually I had to remove the link, rename /usr/lib32 and |
35 |
reemerge gcc. Then it was possible to emerge qt-gui. |
36 |
|
37 |
Any suggestions? |
38 |
Could there be a library on x86 installation, that one could use? |
39 |
Could I hide the library from ebuilds other than acroread? |
40 |
Should I file a gentoo-bug-report? |
41 |
|
42 |
Greetings |
43 |
Michael |