View Issue Details

IDProjectCategoryView StatusLast Update
0003041SOGoBackend Generalpublic2014-12-30 12:13
ReporterChris Coleman Assigned Toludovic  
PrioritynormalSeveritytweakReproducibilityalways
Status resolvedResolutionno change required 
Platform[Server] LinuxOSDebianOS Version7 (Wheezy)
Product Version2.2.12a 
Summary0003041: Error starting sogo service. Debian 7 (wheezy) with some dotdeb packages (jessie). memcached.so.11
Description

I'm trying to get sogo working on Debian 7 system, using the popular dotdeb repo.

Dotdeb lets you run newer better versions of PHP (5.4) and memcached (libmemcached.so.11), backported from debian 8 jessie.

Installed sogo from inverse repo using apt-get as documented on the inverse
site.

The install completes, but Sogo service fails to start, gives this error :

"Starting SOGo: sogo/usr/sbin/sogod: error while loading shared libraries:
libmemcached.so.10: cannot open shared object file: No such file or directory
already running."

Obviously this is because we have a newer version of memcached. libmemcached.so.11 is on there:

~# locate libmemcached.so
/usr/lib/libmemcached.so.11
/usr/lib/libmemcached.so.11.0.0
/usr/lib/libmemcached.so.5
/usr/lib/libmemcached.so.5.0.0
/usr/lib/x86_64-linux-gnu/libmemcached.so
/usr/lib/x86_64-linux-gnu/libmemcached.so.11
/usr/lib/x86_64-linux-gnu/libmemcached.so.11.0.0

Why is sogo statically linked to particular versions of memcached?
Any suggestion?
Help to fix this?

Steps To Reproduce
  1. Add dotdeb repo to debian 7 wheezy.

wget http://www.dotdeb.org/dotdeb.gpg
sudo apt-key add dotdeb.gpg
nano /etc/apt/sources.list

Add these 2 lines:

deb http://packages.dotdeb.org wheezy all
deb-src http://packages.dotdeb.org wheezy all

  1. apt-get update
    apt-get upgrade
    This installs newer php 5.4, and newer memcached, 11.

  2. Add inverse repo to debian 7 server.

nano /etc/apt/sources.list

Add this line:
deb http://inverse.ca/debian wheezy wheezy

  1. apt-get install sogo

  2. sogo will install OK, but crash error when it tries to start up.

"Starting SOGo: sogo/usr/sbin/sogod: error while loading shared libraries:
libmemcached.so.10: cannot open shared object file: No such file or directory
already running."

  1. Verify that libmemcached.so.10 is not on the system:
    locate libmemcached.so
TagsNo tags attached.

Activities

ludovic

ludovic

2014-12-29 21:13

administrator   ~0007941

SOGo isn't statically linked to libmemcached.

Moreover, no version number is "pinned" in our Debian control files - you can check them yourself on github.

From what I've read, 0.11 is NOT binary compatible with 0.10 so if you want to use SOGo, you would likely have to install yourself 0.10 and LD_PRELOAD it before starting SOGo.

Chris Coleman

Chris Coleman

2014-12-29 22:56

reporter   ~0007942

Thanks for the tips.
For others who have this issue:
I did the following steps, and now sogo server starts.

  1. wget http://ftp.debian.org/debian/pool/main/libm/libmemcached/libmemcached10_1.0.8-1_amd64.deb
    (or )
    wget http://ftp.debian.org/debian/pool/main/libm/libmemcached/libmemcached10_1.0.8-1_i386.deb
    (or other processor architecture from this page:)
    https://packages.debian.org/wheezy/libs/libmemcached10

  2. dpkg -i libmemcached10_1.0.8-1_amd64.deb
    (Or replace with the name of the .deb you downloaded in step 1)

  3. apt-get install sogo

  4. service sogo start

Issue History

Date Modified Username Field Change
2014-12-29 20:44 Chris Coleman New Issue
2014-12-29 21:13 ludovic Note Added: 0007941
2014-12-29 21:13 ludovic Severity major => tweak
2014-12-29 22:56 Chris Coleman Note Added: 0007942
2014-12-30 12:13 ludovic Status new => resolved
2014-12-30 12:13 ludovic Resolution open => no change required
2014-12-30 12:13 ludovic Assigned To => ludovic