PBv6.30b3 RPi Trixie - WebGadet Linker error
Posted: Wed Oct 08, 2025 8:59 am
With the current Raspberry Pi OS Debian Trixie, the sample code from the help section no longer works. There is a linker error.
I assume the error occurs because the libwebkit2gtk-4.0-dev package is no longer available. Installing libwebkit2gtk-4.1-dev results in a linker error.
Here is the output from apt:
Peter
Code: Select all
If OpenWindow(0, 0, 0, 600, 300, "WebGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
WebGadget(0, 10, 10, 580, 280, "https://www.purebasic.com")
Repeat
Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf
Here is the output from apt:
Code: Select all
RPi Trixie:
pedre@p400:~ $ apt list libwebkit2gtk*
libwebkit2gtk-4.0-doc/stable,stable,stable-security,stable-security 2.48.5-1~deb13u1 all
libwebkit2gtk-4.1-0/stable,stable-security,now 2.48.5-1~deb13u1 arm64 [Installiert,automatisch]
libwebkit2gtk-4.1-0/stable,stable-security 2.48.5-1~deb13u1 armhf
libwebkit2gtk-4.1-dev/stable,stable-security,now 2.48.5-1~deb13u1 arm64 [installiert]
libwebkit2gtk-4.1-dev/stable,stable-security 2.48.5-1~deb13u1 armhf