/usr/lib/bitlbee/otr.so: undefined symbol: otrl_init

Bug #879730 reported by Moritz Naumann
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bitlbee (Debian)
Fix Released
Unknown
bitlbee (Ubuntu)
Fix Released
Medium
Unassigned
Oneiric
Fix Released
Medium
Unassigned

Bug Description

[Impact]
bitlbee with the otr plugin does not start in ubuntu oneiric due to a missing link caused by Makefiles broken under ld --as-needed

[Fix]
it was fixed in precise by linking the libraries correctly.

[Test Case]
sudo apt-get install bitlbee bitlbee-plugin-otr
sudo /etc/init.d/bitlbee start

expected:
successful start of bitlbee daemon
reality:
bitlbee/usr/sbin/bitlbee: symbol lookup error: /usr/lib/bitlbee/otr.so: undefined symbol: otrl_init
and daemon does not start

[Regression Potential]
low, only needs fixed linking to libotr.

original report:
Hi,
unfortunately bitlbee-plugin-otr seems broken on Oneiric, too, similar to how it was on Natty: Bug #757008
When I try to start BitlBee, this is what happens:
Starting BitlBee IRC/IM gateway: bitlbee/usr/sbin/bitlbee: symbol lookup error: /usr/lib/bitlbee/otr.so: undefined symbol: otrl_init

In contrary to the natty issue, just rebuilding the package doesn't fix it for me.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: bitlbee 3.0.3-1build1
ProcVersionSignature: Ubuntu 3.0.0-13.21-generic 3.0.6
Uname: Linux 3.0.0-13-generic x86_64
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
Date: Sat Oct 22 02:07:23 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: bitlbee
UpgradeStatus: Upgraded to oneiric on 2011-10-21 (0 days ago)

Related branches

Revision history for this message
Moritz Naumann (mnaumann) wrote :
Julian Taylor (jtaylor)
Changed in bitlbee (Ubuntu):
status: New → Confirmed
Julian Taylor (jtaylor)
Changed in bitlbee (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → Medium
tags: added: patch-forwarded-debian
Changed in bitlbee (Debian):
status: Unknown → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bitlbee - 3.0.3-1ubuntu1

---------------
bitlbee (3.0.3-1ubuntu1) precise; urgency=low

  * patch configure and Makefile to link all libaries with their dependencies
    when built with ld --as-needed. (LP: #879730)
 -- Julian Taylor <email address hidden> Tue, 25 Oct 2011 21:59:45 +0200

Changed in bitlbee (Ubuntu):
status: Triaged → Fix Released
Julian Taylor (jtaylor)
description: updated
Revision history for this message
Patrick Regan (patrick-regan) wrote :

Pardon me if I'm being newbish, but even though this says a fix was released, I'm still running into this bug.

$ sudo aptitude install bitlbee-plugin-otr
The following NEW packages will be installed:
  bitlbee-plugin-otr
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/17.6 kB of archives. After unpacking 69.6 kB will be used.
Selecting previously deselected package bitlbee-plugin-otr.
(Reading database ... 174505 files and directories currently installed.)
Unpacking bitlbee-plugin-otr (from .../bitlbee-plugin-otr_3.0.3-1build1_amd64.deb) ...
Setting up bitlbee-plugin-otr (3.0.3-1build1) ...

$ sudo service bitlbee restart
Restarting BitlBee IRC/IM gateway: bitlbee/usr/sbin/bitlbee: symbol lookup error: /usr/lib/bitlbee/otr.so: undefined symbol: otrl_init

Is there something I'm doing wrong?

Revision history for this message
Moritz Naumann (mnaumann) wrote :

The fix which was released was for 'precise', the next version of Ubuntu (which will most likely be versioned 12.04). For oneiric (11.10), a https://wiki.ubuntu.com/StableReleaseUpdates is what's needed.

I had not expected urgency=low since this source package (bitlbee) is used to build one binary package (bilbee-plugin-otr) which makes bitlbee fail to work entirely.

Changed in bitlbee (Ubuntu Oneiric):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Clint Byrum (clint-fewbar) wrote : Please test proposed package

Hello Moritz, or anyone else affected,

Accepted bitlbee into oneiric-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in bitlbee (Ubuntu Oneiric):
status: Triaged → Fix Committed
tags: added: verification-needed
Revision history for this message
Moritz Naumann (mnaumann) wrote :

3.0.3-1ubuntu1 of oneiric-proposed works for me on oneiric-amd64. Thank you.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bitlbee - 3.0.3-1ubuntu0.1

---------------
bitlbee (3.0.3-1ubuntu0.1) oneiric-proposed; urgency=low

  * patch configure and Makefile to link all libraries with their dependencies
    when built with ld --as-needed. (LP: #879730)
 -- Julian Taylor <email address hidden> Tue, 25 Oct 2011 21:59:45 +0200

Changed in bitlbee (Ubuntu Oneiric):
status: Fix Committed → Fix Released
Changed in bitlbee (Debian):
status: Confirmed → Fix Released
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.