Project

General

Profile

Bug #8956

darktable crashes if libsoup2 is not installed

Added by Andreas Schrell over 7 years ago.

Status:
Fixed
Priority:
Low
Category:
-
Start date:
09/25/2012
Due date:
% Done:

100%

Estimated time:
Affected Version:
git development version
System:
bitness:
64-bit
hardware architecture:
amd64/x86

Description

If libsoup2 is not installed, the map module is not compiled. But DT referres to it unconditionally:

[view_load_module] could not open /opt/darktable/lib/darktable/views/libmap.so (/opt/darktable/lib/darktable/views/libmap.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden)!
[view_manager_init] failed to load view module 'map'
[lib_load_module] `/opt/darktable/lib/darktable/plugins/lighttable/liblocation.so' is compiled for another version of dt (module 6 (opt) != dt 6 (debug)) !
[lib_load_module] failed to open operation `location': (null)
darktable: symbol lookup error: /opt/darktable/lib/darktable/plugins/lighttable/libmetadata_view.so: undefined symbol: osd_latitude_str

Associated revisions

Revision ab3a712b (diff)
Added by Tobias Ellinghaus over 7 years ago

Fix #8956: Forgot a few #ifdef to safeguard map code

History

#1 Updated by Tobias Ellinghaus over 7 years ago

  • % Done changed from 0 to 50
  • Target version set to Candidate for next minor release
  • Assignee set to Tobias Ellinghaus
  • Status changed from New to In Progress

Some of the stuff is confirmed, others might be fixed already. I will report back.

#2 Updated by Tobias Ellinghaus over 7 years ago

  • % Done changed from 50 to 100
  • Status changed from In Progress to Fixed

Applied in changeset darktable|commit:ab3a712b2c5c62fe5258646d9a95cdd04ac5e5dc.

#3 Updated by Tobias Ellinghaus over 7 years ago

Andreas Schrell wrote:

[view_load_module] could not open /opt/darktable/lib/darktable/views/libmap.so (/opt/darktable/lib/darktable/views/libmap.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden)!
[view_manager_init] failed to load view module 'map'

Fixed.

[lib_load_module] `/opt/darktable/lib/darktable/plugins/lighttable/liblocation.so' is compiled for another version of dt (module 6 (opt) != dt 6 (debug)) !
[lib_load_module] failed to open operation `location': (null)

You are mixing debug builds with regular builds. If I may give you an advice: forget that debug builds exist at all and never use them.

darktable: symbol lookup error: /opt/darktable/lib/darktable/plugins/lighttable/libmetadata_view.so: undefined symbol: osd_latitude_str

Fixed

Also available in: Atom PDF

Go to top