Skip to content

Commit

Permalink
Fix running on Ubuntu 22x (#1250)
Browse files Browse the repository at this point in the history
* This is to fix running on Ubuntu 22x
- they don't have libdl.so - but only libdl.so.2
- see https://stackoverflow.com/questions/75855053/how-to-address-crash-due-to-missing-libdl-so-on-ubuntu-22

Co-authored-by: John Lambert <[email protected]>
  • Loading branch information
johnml1135 and johnml1135 authored May 26, 2023
1 parent 512bf9c commit c9c5fde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Fixed

- [SIL.Windows.Forms] Make `PalasoImage.FromFile(Robustly)` methods more robust
- [SIL.Windows.Forms] Update dll to `libdl.so.2` to make compatible with Ubuntu 22.x. Affects multiple projects.
- [SIL.Core] Fixed `BulkObservableList.MoveRange` method when moving a single item forward.

## [12.0.0] - 2023-02-14
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ internal partial class LinuxClipboard

private const int RTLD_NOW = 2;

private const string LIBDL_NAME = "libdl.so";
private const string LIBDL_NAME = "libdl.so.2";
private const string LIBGLIB_NAME = "libglib-2.0.so.0";

[DllImport(LIBDL_NAME, SetLastError = true)]
Expand Down

0 comments on commit c9c5fde

Please sign in to comment.