Re: acroread7 on 10.1 x86_64

Michael Riss <[email protected]> Mon, 18 Apr 2005 18:07:49 +0200
Newsgroups gmane.linux.mandrake.cooker.amd64
Organization TU Munich
Message-ID <[email protected]>
On Monday 18 April 2005 16:18, Giuseppe Ghibò wrote:
> Gwenole Beauchesne ha scritto:
> > On Mon, 18 Apr 2005, Giuseppe Ghibò wrote:
> >>I wonder whether adding i586 (renamed to .so) libldap.so and liblber.so
> >> to /usr/lib/Acrobat7/Reader/intellinux/lib/; In that case
> >>probably an x86-compat-acroread with those two
> >>libraries could be provided.
> >
> > No, fix acroread to depend on the right DSO. See e.g. JVM vs. libodbc.so.
>
> I don't understand. AFAIK remember JDK has a libodbc.so dummy dep, while
> acroread don't (probably they dlopen() the LDAP libraries). And adding a
> Requirement of the ldap libraries won't help, since there is needing to
> manually move some libs to /lib.

Sorry, I caused confusion by mixing two problems with acroread7 and LDAP:

1. acroread7 wants to dlopen "libldap.so" and not "libldap.so.2" or 
   "libldap.so.2.0.130".
   "libldap.so" is contained in the "libldap2-devel-2.1.30-3mdk.i586.rpm"
   package, and - because of dependencies - you also have to install
   "libsasl2-devel-2.1.19-5mdk.i586.rpm". Both are not available in the 32Bit
   media shipped with 10.1 x86_64, so you can't use urpmi to fix the 
   dependencies automatically.
   So the packages connected to the first problem are:
   - "libsasl2-devel-2.1.19-5mdk.i586.rpm" 
   - "libldap2-devel-2.1.30-3mdk.i586.rpm"

2. acroread7 does a nameservice lookup on the uid on startup. As I have my
   users stored on a ldap server the 32Bit glibc environment has to do the
   ldap lookups. That is not possible on a out-of-the-box 10.1 x86_64 system,
   because "/lib/libnss_ldap-2.3.3.so" and "/lib/libnss_ldap.so.2" are 
   missing. "nss_ldap-220-3mdk.x86_64.rpm" and "nss_ldap-220-3mdk.i586.rpm"
   share some files and the same name so you can't have them installed at 
   the same time. That's the reason you have to copy the two 32Bit libraries 
   manually to /lib. Finally you need the "libdbnss4.2-4.2.52-6mdk.i586.rpm"
   as a prerequisite for the two librarys. 


There are three problems here:

- acroread7 should open libraries with their runtime name and not with the
  developer name -> problem of Adobe
- some 32Bit developer libraries are missing in the 10.1 x86_64 distribution,
  that's often a matter of space on the CDs/DVDs. Besides Gwenole
  makes great efforts to streamline the 32/64Bit development environment, 
  so it's steadily improving, maybe it's already fixed in 10.2/LE2005.
- no 32Bit nss_ldap support in 10.1 x86_64, that's a real problem, but before
  filing a bug report I want to check 10.2/LE2005


cu 
Michi