You are not logged in.

#1 2012-09-13 10:22:52

WhiteIntel
Member
Registered: 2012-09-10
Posts: 16

Problem with Gnutls, wine & Outlook

Hello folks,
I have playonlinux installed and Outlook 2010.
All works fine with normal email accounts, also with TLS and SSL.

But when I tried to add an exchange account via autodiscovery, it fails.
It fails also, when I set the connection settings manually.

The debug output directly after the start of outlook says:

p11-kit: couldn't load module: /usr/lib32/pkcs11/gnome-keyring-pkcs11.so: /usr/lib32/pkcs11/gnome-keyring-pkcs11.so: wrong ELF class: ELFCLASS64

I have tried to fix that with a 32Bit library bit it wont work.

The debug output during the exchange setup in outlook says:

GnuTLS error: An unexpected TLS packet was received.

I have no idea how to fix that, but the certificates that we are using are official signed by StartSSL.

Do you have some ideas how to fix that?

greetings

Offline

#2 2012-09-13 14:01:14

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,779

Re: Problem with Gnutls, wine & Outlook

Looks like you need to install the lib32-p11-kit package from multilib repository


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2012-09-13 15:29:59

WhiteIntel
Member
Registered: 2012-09-10
Posts: 16

Re: Problem with Gnutls, wine & Outlook

Thank you for your reply, but I have already installed lib32-p11-kit.

greetings

Offline

#4 2012-09-13 20:05:27

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,779

Re: Problem with Gnutls, wine & Outlook

I've done some more checking , and found  usr/lib/pkcs11/gnome-keyring-pkcs11.so , which is in the gnome-keyring package.

This however doesn't have  a multilib version, but is available for both i686 and x86_64 .

Looks like you have some options :
- run wine/playonlinux in a 32-bit chroot, so you can use 32-bit packages directly

- use abs to create a lib32 version of gnome-keyring

- post a bug report in arch bugtracker that lib32-p11-kit appears to miss a dependency, lib32-gnome-keyring


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2012-09-13 22:46:13

WhiteIntel
Member
Registered: 2012-09-10
Posts: 16

Re: Problem with Gnutls, wine & Outlook

I´ve tried several times to install lib32-libgnome-keyring with yaourt.
But every time it failed.

Now I´ve solved it:
The problem was a dependency called lib32-flex. There were some internal checks for bison. That checks failed.
I found a custom PKGBUILD for exactly that problem:

# Maintainer: Bill Fraser <wfraser@codewise.org>
#
# From flex's PKGBUILD:
#   Maintainer: Allan McRae <allan@archlinux.org>
#   Contributor: judd <jvinet@zeroflux.org>

_pkgbasename=flex
pkgname=lib32-flex
pkgver=2.5.35
pkgrel=4
pkgdesc="A tool for generating text-scanning programs"
arch=('x86_64')
url="http://flex.sourceforge.net"
license=('custom')
groups=('base-devel')
depends=('lib32-glibc' 'm4' 'sh' $_pkgbasename)
source=(http://downloads.sourceforge.net/sourceforge/flex/flex-$pkgver.tar.bz2 
        flex-2.5.35-gcc44.patch
        flex-2.5.35-hardening.patch
        flex-2.5.35-missing-prototypes.patch
        flex-2.5.35-sign.patch
        http://felipec.org/data/flex-2.5.35-no-bison.patch
        lex.sh)
md5sums=('10714e50cea54dc7a227e3eddcd44d57'
         'e4444ef5c07db71a43280be74139bdea'
         'de952b3ed7cc074bc8c3e6ab73634048'
         '6b83f56b1b654c6a321cdc530a3ec68d'
         'd87fd9e9762ba7e230d516bdcf1c8c6f'
         'cf6159a76b5510a198777bcc9a930996'
         'f725259ec23a9e87ee29e2ef82eda9a5')

build() {
  export CC="gcc -m32"
  export CXX="g++ -m32"
  export LD="ld -m32"
  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"

  cd $srcdir/$_pkgbasename-$pkgver

  patch -Np1 -i $srcdir/flex-2.5.35-gcc44.patch
  patch -Np1 -i $srcdir/flex-2.5.35-hardening.patch
  patch -Np1 -i $srcdir/flex-2.5.35-missing-prototypes.patch
  patch -Np1 -i $srcdir/flex-2.5.35-sign.patch

  patch -Np1 -i $srcdir/flex-2.5.35-no-bison.patch
  ./configure --prefix=/usr --libdir=/usr/lib32 \
    --mandir=/usr/share/man --infodir=/usr/share/info
  make
}

check() {
  cd $srcdir/$_pkgbasename-$pkgver
  make check
}

package() {
  cd $srcdir/$_pkgbasename-$pkgver

  make prefix=$pkgdir/usr \
    mandir=$pkgdir/usr/share/man \
    infodir=$pkgdir/usr/share/info \
    libdir=$pkgdir/usr/lib32 \
    install

  rm -rf "${pkgdir}"/usr/{include,share,bin}

  mkdir -p $pkgdir/usr/share/licenses
  ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
}

I installed that packed manually with

makepkg -i

and then the installation of lib32-libgnome-keyring worked fine.

greetings

Offline

Board footer

Powered by FluxBB