For Ubuntu/Kubuntu x86 installations you need the library libxul0d. You can downloadgedumer wrote:Can someone please tell me what package needs to be installed to get libgtkembedmoz.so?
and install this library with Synaptic or open a Console and type
You will have to enter your root password and this library will be downloaded andsudo apt-get install libxul0d
installed. Afterwards you will find libgtkembedmoz.so in /usr/lib/xulrunner.
This libgtkembedmoz.so is a symbolic link to usr/lib/libgtkembedmoz.so.0d.
To utilize the WebGadget you should test this code example afterwards:
Code: Select all
If OpenWindow(0, 0, 0, 600, 300, "WebGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
If WebGadgetPath("/usr/lib/xulrunner/libgtkembedmoz.so", "/usr/lib/xulrunner") = 0
MessageRequester("Error", "The library libgtkembedmoz.so was not found!")
Else
WebGadget(0, 10, 10, 580, 280, "http://www.purebasic.com")
Repeat
Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf
EndIf
Thomas, that's not true. You should know it better, because I already explained in twots-soft wrote:I think libgtkembedmoz.so is for FireFox 2
threads in the German forum (in the second thread you also posted

libgtkembedmoz.so for OpenSuSE 11.0 (with the at that time new Firefox 3.0) and
OpenSuSE 11.1. However you may be right that Firefox 2 contained libgtkembedmoz
in its own libraries whereas Firefox 3 didn't. Therefore you had to install Xulrunner 1.8.x
which still contained libgtkembedmoz:
http://www.purebasic.fr/german/viewtopi ... 22&start=5
http://purebasic.fr/german/viewtopic.ph ... 8&start=14