Manager not starting since upgrade to ubuntu 20.04

Message boards : BOINC Manager : Manager not starting since upgrade to ubuntu 20.04
Message board moderation

To post messages, you must log in.

Previous · 1 · 2

AuthorMessage
MarkJ
Volunteer tester
Help desk expert

Send message
Joined: 5 Mar 08
Posts: 272
Australia
Message 98552 - Posted: 16 May 2020, 13:51:48 UTC
Last modified: 16 May 2020, 13:55:23 UTC

I don’t find it much of a hinderance not being able to shut down the core client from the manager. You couldn’t start it up again anyway. I usually have a terminal window open at the same time as the manager and do the systemctl stop/start boinc-client from there.

Back to Dave’s problem. The reason why I suggested he use Gianfranco’s version is his manager presumably works unlike the one Dave has currently. I know Gianfranco spent some time finding a working wxWidgets.
MarkJ
ID: 98552 · Report as offensive
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2518
United Kingdom
Message 98553 - Posted: 16 May 2020, 14:07:39 UTC - in response to Message 98552.  

Back to Dave’s problem. The reason why I suggested he use Gianfranco’s version is his manager presumably works unlike the one Dave has currently. I know Gianfranco spent some time finding a working wxWidgets.


Except I am getting the error on Gianfranco's version as well. It is only the manager that isn't working. Controlling things from the command line works normally and as I said, I am now looking at it from a knowledge perspective rather than a can't get the flipping thing to work point of view.
ID: 98553 · Report as offensive
Ian&Steve C.

Send message
Joined: 24 Dec 19
Posts: 228
United States
Message 98557 - Posted: 16 May 2020, 16:09:11 UTC - in response to Message 98551.  
Last modified: 16 May 2020, 16:10:44 UTC

Maybe just nuke your version and use Gianfranco’s 7.16.6 version. He has an Ubuntu ppa here:
https://launchpad.net/~costamagnagianfranco/+archive/ubuntu/boinc


Tried that, got the same error.

 boincmgr: error while loading shared libraries: libwx_gtk2u_html-3.0.so.0: cannot open shared object file: No such file or directory


Having got the self extracting one going, I now want to work out why the problem exists. My guess is I have installed something that replaces the version of the library the program expects with another one. I want to be able to build future releases from source and would rather resolve the issue now than wait till a new version I want to try comes out.


the problem is that you don't have the wxWidgets library installed that was compiled with gtk2, that's what boincmgr is looking for in that error. I can't remember if this was just not available in Ubuntu 20.04 anymore.

1. one solution is to compile boincmgr using wxWidgets with gtk2 and statically link it so you no longer have that dependency (this combo causes a long startup lag though on Ubuntu 20.04, expect 15-30 seconds from the time you click it before it actually starts)
2. another solution is to compile boincmgr using wxWidgets with gtk3 and dynamically link it, which you should have the ability to install on ubuntu 20
3. another solution is to compile boincmgr using wxWidgets with gtk3 and statically link it so you no longer have the dependency.

i chose option 3. here is the one that I built. download it, extract it, and drop the boincmgr executable wherever you need it.

https://drive.google.com/open?id=1erjrEKCwxTr3QsL6tm4cIbTqRzLVxttA
ID: 98557 · Report as offensive
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2518
United Kingdom
Message 98558 - Posted: 16 May 2020, 16:47:22 UTC
Last modified: 16 May 2020, 17:11:05 UTC

the problem is that you don't have the wxWidgets library installed that was compiled with gtk2, that's what boincmgr is looking for in that error. I can't remember if this was just not available in Ubuntu 20.04 anymore.


Trying to compile from source now gives the following on make

/usr/include/wx-3.0/wx/string.h:477: undefined reference to `wxWebViewNameStr'
/usr/bin/ld: /usr/include/wx-3.0/wx/string.h:477: undefined reference to `wxWebViewBackendDefault'
/usr/bin/ld: /usr/include/wx-3.0/wx/string.h:477: undefined reference to `wxWebViewDefaultURLStr'


Now running make again after a couple of changes.

Now compiling my own wxWidgets to see how that affects anything.

Edit: Particularly confusing because I was able to roll my own on the desktop which had the same problem.
ID: 98558 · Report as offensive
Ian&Steve C.

Send message
Joined: 24 Dec 19
Posts: 228
United States
Message 98560 - Posted: 16 May 2020, 18:12:13 UTC - in response to Message 98558.  
Last modified: 16 May 2020, 18:12:58 UTC

install the webview dev library (when compiling stuff you always need the -dev packages):

sudo apt install libwxgtk-webview3.0-gtk3-dev

but if you compile wxWidgets from source, this will be installed also.
ID: 98560 · Report as offensive
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2518
United Kingdom
Message 98562 - Posted: 16 May 2020, 21:53:55 UTC

At least my wanderings have taught me that adding -j4 to the make command speeds things up a bit.
ID: 98562 · Report as offensive
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2518
United Kingdom
Message 98563 - Posted: 16 May 2020, 21:56:45 UTC - in response to Message 98560.  

install the webview dev library (when compiling stuff you always need the -dev packages):

sudo apt install libwxgtk-webview3.0-gtk3-dev

but if you compile wxWidgets from source, this will be installed also.
Was already installed.
ID: 98563 · Report as offensive
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2518
United Kingdom
Message 98569 - Posted: 17 May 2020, 5:36:14 UTC

I think I will wait till I run out of work and do a clean install of 20.04
ID: 98569 · Report as offensive
Previous · 1 · 2

Message boards : BOINC Manager : Manager not starting since upgrade to ubuntu 20.04

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.