armhf: MailPartViewers: undefined symbol: OPENSSL_init_ssl

Bug #1860906 reported by msaxl
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
sogo (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

On at least armhf and the upcoming focal fossa version of sogo (4.1.1) I get the following error in sogo.log

Error (objc-load):/usr/lib/GNUstep/SOGo/MailPartViewers.SOGo/MailPartViewers: undefined symbol: OPENSSL_init_ssl
Error (objc-load):/usr/lib/GNUstep/SOGo/MailerUI.SOGo/MailerUI: undefined symbol: __objc_class_name_UIxMailSizeFormatter

Openssl is of course installed. ldd /usr/lib/GNUstep/SOGo/MailPartViewers.SOGo/MailPartViewers does not list libssl.so, so I think this is a link issue.

Putting LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/libssl.so.1.1 in /etc/default/sogo fixes the problem in the mean time

Revision history for this message
jsbhth (jsbhth) wrote :

Same behavior on amd64 with SOGo 4.3.0-1 from 20.04 release.

Furthermore imaps isn't working with Dovecot, which can't be fixed by preloading openssl.

SOGo:
May 08 15:33:02 sogod [1808]: <0x0x5628ea3473d0[NGImap4Client]> ERROR(-[NGImap4Client _processUnknownCommandParserException:]): catched non-IMAP4 parsing exception UnexpectedEndOfStream: the parsed stream ended unexpectedly
May 08 15:33:02 sogod [1808]: [ERROR] <0x0x5628ea1749a0[NGImap4ConnectionManager]> IMAP4 login failed:
  host=imap.example.com, <email address hidden>, pwd=yes
  url=imaps://user%<email address hidden>/
  base=(null)
  base-class=(null))
  = <0x0x5628ea3473d0[NGImap4Client]: <email address hidden>(pwd) socket=<NGActiveSSLSocket[0x0x5628ea1b6680]: mode=rw address=<0x0x5628ea1c7560[NGInternetSocketAddress]: host=sogo.example.com port=41906> connectedTo=<0x0x5628ea0bc600[NGInternetSocketAddress]: host=imap.example.com port=993>>>

Dovecot:
May 8 15:33:02 imap dovecot: imap-login: Login: user=<email address hidden>, method=PLAIN, rip=10.0.0.9, lip=10.0.0.11, mpid=1452, TLS: read(size=514) failed: Connection reset by peer, session=<GHVVCSOluqMKAAAJ>
May 8 15:33:02 imap dovecot: imap(<email address hidden>)<1444><06JSCSOlsqMKAAAJ>: Connection closed (No commands sent) in=0 out=403 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0

When building sogo and libsope1 packages against openssl everything works as expected. Same is true for building SOGo and SOPE 4.3.0 from upstream sources: OpenSSL works, GnuTLS doesn't.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in sogo (Ubuntu):
status: New → Confirmed
Revision history for this message
Hannes Erven (hannes-erven) wrote :

Ubuntu 20.04.3 LTS

Putting "LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libssl.so.1.1" into /etc/default/sogo indeed fixes the issue for me.

Changed in sogo (Ubuntu):
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.