Closed richbai90 closed 1 year ago
After installing all of the necessary dependencies, running wails dev on a new wails application fails with a linker error:
Building application for development... • Generating bindings: Done. • Compiling application: # changeme /usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1 /usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/13/../../../../lib64/libwebkit2gtk-4.0.so: undefined reference to `gst_query_set_selectable' collect2: error: ld returned 1 exit status
wails init -n hello_world -ide vscode
cd hello_world
wails dev
The application should build and launch a development server without issues.
reinstall webkit2gtk-3 and gtk-3 reinstall gstreamer 1.14
gst_query_set_selectable
gstreamer
Wails Doctor Output
Scanning system - Please wait (this may take a long time)... (1h1m30s)
(I will update this when if it ever finishes)
OS : Opensuse Tumbleweed Linux Kernel Version: 6.3.4-1-default
(base) ➜ metavision_gui ls /usr/lib64/pkgconfig | grep webkit webkit2gtk-4.0.pc webkit2gtk-web-extension-4.0.pc webkitgtk-6.0.pc webkitgtk-web-process-extension-6.0.pc
(base) ➜ metavision_gui ls /usr/lib64/pkgconfig | grep gtk+ gtk+-3.0.pc gtk+-broadway-3.0.pc gtk+-unix-print-3.0.pc gtk+-wayland-3.0.pc gtk+-x11-3.0.pc
No response
I believe this is a local issue, see: https://github.com/wailsapp/wails/issues/2971. Please reopen if you find it isn't 👍
Description
After installing all of the necessary dependencies, running wails dev on a new wails application fails with a linker error:
Building application for development... • Generating bindings: Done. • Compiling application: # changeme /usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1 /usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/13/../../../../lib64/libwebkit2gtk-4.0.so: undefined reference to `gst_query_set_selectable' collect2: error: ld returned 1 exit status
To Reproduce
wails init -n hello_world -ide vscode
cd hello_world
wails dev
Expected behaviour
The application should build and launch a development server without issues.
Screenshots
Attempted Fixes
Troubleshooting steps
reinstall webkit2gtk-3 and gtk-3 reinstall gstreamer 1.14
Google Searches
gst_query_set_selectable
is a method of thegstreamer
librarySystem Details
Wails Doctor Output
(I will update this
whenif it ever finishes)OS : Opensuse Tumbleweed Linux Kernel Version: 6.3.4-1-default
Additional context
No response