Upgrade to evolution 2.22.2 lost evolution-exchange

Bug #239052 reported by Jan Newmarch
2
Affects Status Importance Assigned to Milestone
evolution (Ubuntu)
Invalid
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: evolution

Automatic package upgrade installed exchange 2.22.2 from 2.22.1 yesterday. But it didn't upgrade evolution-exchange from 2.22.1 to 2.22.2. Evolution now has no means of connecting to an exchange server and I can't find a 2.22.2 compiled package.

lsb_release -rd: Description: Ubuntu 8.04

h#apt-cache policy evolution
evolution:
  Installed: 2.22.2-0ubuntu1.2
  Candidate: 2.22.2-0ubuntu1.2
  Version table:
 *** 2.22.2-0ubuntu1.2 0
        500 http://au.archive.ubuntu.com hardy-updates/main Packages
        500 http://security.ubuntu.com hardy-security/main Packages
        100 /var/lib/dpkg/status
     2.22.1-0ubuntu3 0
        500 http://au.archive.ubuntu.com hardy/main Packages

#apt-cache policy evolution-exchange
evolution-exchange:
  Installed: 2.22.1-0ubuntu1
  Candidate: 2.22.1-0ubuntu1
  Version table:
 *** 2.22.1-0ubuntu1 0
        500 http://au.archive.ubuntu.com hardy/main Packages
        100 /var/lib/dpkg/status

Expected: exchange account shows in folder list.

Actual: folders accessible via exchanges do not show. Editing the account doesn't show exchange as possible protocol.

ProblemType: Bug
Architecture: i386
Date: Wed Jun 11 11:35:32 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/evolution
Package: evolution 2.22.2-0ubuntu1.2
PackageArchitecture: i386
ProcEnviron:
 PATH=.:/usr/local/src/jdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
SourcePackage: evolution
Uname: Linux 2.6.24-18-generic i686

Tags: apport-bug
Revision history for this message
Jan Newmarch (jan-newmarch) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for your bug report, could you run evolution on a command line and copy whatever is displayed there to a comment? the 2.22.1 version should work correctly on evolution 2.22.2, the new version is still a candidate update and should be moved to hardy-updates when it has been tested

Changed in evolution:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Jan Newmarch (jan-newmarch) wrote :

~$evolution
evolution-shell-Message: Killing old version of evolution-data-server...

(evolution:11294): evolution-shell-WARNING **: Cannot activate 'OAFIID:GNOME_Evolution_Exchange_Component:2.22': Child process did not give an error message, unknown failure occurred

(evolution:11294): evolution-mail-WARNING **: couldn't get service exchange://j.newmarch;<email address hidden>/;owa_url=http://mail3.mail.bhtafe.edu.au;save-passwd=true;ad_server=mail-dc3.mail.bhtafe.edu.au;mailbox=J.Newmarch;owa_path=/exchange: Could not load /usr/lib/evolution-data-server-1.2/camel-providers/libcamelexchange.so: libldap-2.3.so.0: cannot open shared object file: No such file or directory

There are /usr/lib/libldap-2.4.so.2, /usr/lib/libldap_r-2.4.so.2, /usr/lib/libldap_r-2.4.so.2.0.3 installed, but no libldap-2.3.so.0 on my system

Revision history for this message
Sebastien Bacher (seb128) wrote :

do you really use the ubuntu binary?

does reinstalling evolution-exchange do a difference there? the hardy version is using the correct library not sure why you local version would not

Revision history for this message
Jan Newmarch (jan-newmarch) wrote :

Listing in Synaptic package manager:
    evolution-exchange 2.22.1-0ubunt1 2.22.1-0ubunt1

Using Synaptic package manager to reinstall evolution-exchange resulted in the following "details" trace:
  [Reading database ... 117660 files and directories currently installed]
  Preparing to replace evolution-exchange 2.22.1-0ubuntu1 (using .../evolution-exchange_2.22.1-0ubuntu1_i386.deb) ...
  Unpacking replacement evolution-exchange ...
  Setting up evolution-exchange (2.22.1-0ubuntu1) ...

After that, running evolution from the command line gave the same error:
 Could not load /usr/lib/evolution-data-server-1.2/camel-providers/libcamelexchange.so: libldap-2.3.so.0: cannot open shared object file: No such file or directory

Now the odd bit: ldd gave
$ldd /usr/lib/evolution-data-server-1.2/camel-providers/libcamelexchange.so | grep libldap
 libldap_r-2.4.so.2 => /usr/lib/libldap_r-2.4.so.2 (0xb7f7d000)
 libldap-2.3.so.0 => not found

2.3 and 2.4??? I'm not sure what that means!
   libldap_r-2.4.so.2 => /usr/lib/libldap_r-2.4.so.2 (0xb7ecf000)
 libldap-2.3.so.0 => not found

Revision history for this message
Jan Newmarch (jan-newmarch) wrote :

I know I shouldn't do this, but just to see what happened...

   ln -s libldap-2.4.so.2 libldap-2.3.so.0
   ln -s liblber-2.4.so.2 liblber.2.3.so.0

(both needed)

Now I can see that I have an exchange account, and even try to connect to it. Connection fails (but now so does evolution 2.22.2 connecting to my IMAP server while thunderbird succeeds) but it is a step in the right direction, even if the means are wrong. But it would be nice to figure out what is going wrong with the shared libraries before moving on to the next issue...

Revision history for this message
Jan Newmarch (jan-newmarch) wrote :

More info. I now have two boot partitions, one running Ubuntu 8.0.4 freshly installed off DVD with evolution 2.22.1, the second running Ubuntu with all updates applied at June 13, 2008 (Australian time) with evolution 2.22.2. but evolution-exchange 2.22.1 My home directories are all on a separate partition, with symbolic links from /home (/home/newmarch -> /mnt/sda5/newmarch). So alll config files for ~newmarch are the same across both boot options.

.gnome2_private/Evolution is now becoming a bit of a mess:

    [Passwords-Mail]
    imap:__newmarch@192.168.1.2_=..........=

    [Passwords-Exchange]
    exchange:__J.Newmarch;<email address hidden>au_=.......=
    exchange:__J.Newmarch;<email address hidden>au_=........=
    exchange:__J.Newmarch;<email address hidden>au_=.........=

The exchange account works fine on evoluton 2.22.1 from original Ubuntu 8.0.4 DVD distro.

With the upgrades to 2.22.2 and with the bodgy links from 2.4 to 2.3 dlls it shows me my exchange account and lets me edit the preferences->exchange account. But all that I am seeing in the folders list is the exchange directory folder with no contents. When I click on it a fast message says "scanning"....??? (too fast to see what is going on). No content shows in the folder after this scan.

My imap connections are working okay now (duh! I had to set evolution online).

So I am only having problems with 2.22.2 connecting to an exchange server.

Revision history for this message
Jan Newmarch (jan-newmarch) wrote :

Not an issue after all. I had tried to build evolution from source once and this left lots of libraries in /usr/local/lib which got picked up during loading. One of these must have referenced libldap-2.3.so.0. Cleaning out /usr/local/lib solved the problem.

Sorry for any inconvenience and thanks for your help!

Revision history for this message
C de-Avillez (hggdh2) wrote :

Thank you for your last input. Please feel free to open any new bugs you find.

Changed in evolution:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.