Skip to content

symbol lookup error with the .AppImage on Ubuntu 19.04 #2689

@guillemcordoba

Description

@guillemcordoba

Describe the bug

When executing the .AppImage compiled with Tauri on an Ubuntu 19.40, I get this error:

guillem@guillem:~/Baixades$ ./holochain-launcher_0.3.2_amd64.AppImage 
Gtk-Message: 00:03:55.561: Failed to load module "canberra-gtk-module"
Gtk-Message: 00:03:55.567: Failed to load module "canberra-gtk-module"
  /usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitNetworkProcess: symbol lookup error: /usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitNetworkProcess: undefined symbol: NetworkProcessMainUnix
/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitWebProcess: symbol lookup error: /usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitWebProcess: undefined symbol: WebProcessMainUnix

And I get a blank window.

Error doesn't show up if I use a .deb package, so I assume it's related to the bundling process.

To Reproduce

Steps to reproduce the behavior:

  1. Create a Tauri app.
  2. Compile it inside an Ubuntu 18.04.
  3. Try to execute the .AppImage in an Ubuntu 19.04.
  4. See error

Expected behavior

The error doesn't happen.

Screenshots

Captura de pantalla de 2021-09-30 00-11-01

Tauri info



Operating System - Ubuntu, version 18.04 X64

Node.js environment
  Node.js - 12.22.6
  @tauri-apps/cli - 1.0.0-beta.10
  @tauri-apps/api - 1.0.0-beta.8

Global packages
  npm - 6.14.15
  yarn - 1.22.11

Rust environment
  rustc - 1.54.0
  cargo - 1.54.0

App directory structure
/public
/tests
/.git
/.github
/node_modules
/src-tauri
/src
/scripts

App
  tauri.rs - 1.0.0-beta.8
  build-type - bundle
  CSP - default-src blob: data: filesystem: ws: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'
  distDir - target/webpack_dist
  devPath - target/webpack_dist
  framework - Vue.js (Vue CLI)
  bundler - Webpack

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions