Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 26-04-2021, 15:17   #1
Registered User

Join Date: Apr 2021
Posts: 4
C'an install oeSENC plugin on Opencpn 5.2.4 under MacOS Big Sur

The installation of the oeSENC plugin fails due to missing library : libwx_osx_cocoau_stc-3.1.dylib

This is only visible in log :

Code:
17:17:30.638 MESSAGE pluginmanager.cpp:2232 PlugInManager: Loading PlugIn: /Users/ricard/Library/Application Support/OpenCPN/Contents/PlugIns/liboesenc_pi.dylib
17:17:30.894   ERROR dlunix.cpp:162 dlopen(/Users/ricard/Library/Application Support/OpenCPN/Contents/PlugIns/liboesenc_pi.dylib, 2): Library not loaded: @executable_path/../Frameworks//libwx_osx_cocoau_stc-3.1.dylib
  Referenced from: /Users/ricard/Library/Application Support/OpenCPN/Contents/PlugIns/liboesenc_pi.dylib
  Reason: image not found
17:17:30.894 MESSAGE pluginmanager.cpp:2291    PlugInManager: Cannot load library: /Users/ricard/Library/Application Support/OpenCPN/Contents/PlugIns/liboesenc_pi.dylib
Looking in OpenCPN.app/Content/Frameworks, the file libwx_osx_cocoau_stc-3.1.dylib is missing, while some other libwx_osx_cocoau_... files are present.

How can I get this plugin working, please ?
TI REV is offline   Reply With Quote
Old 26-04-2021, 17:28   #2
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,473
Re: C'an install oeSENC plugin on Opencpn 5.2.4 under MacOS Big Sur

TI REV...


What version of the oeSENC plugin are you trying to load? Not enough of the logfile to see....


Thanks
Dave
bdbcat is offline   Reply With Quote
Old 26-04-2021, 18:18   #3
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: C'an install oeSENC plugin on Opencpn 5.2.4 under MacOS Big Sur

Dave...

Seems to be the case even (/at least/also) with the latest 4.2.19.26

Code:
# otool -L "/Users/nohal/Library/Application Support/OpenCPN/Contents/PlugIns/liboesenc_pi.dylib"|grep libwx
	@executable_path/../Frameworks//libwx_baseu-3.1.dylib (compatibility version 1.0.0, current version 1.0.0)
	@executable_path/../Frameworks//libwx_osx_cocoau_core-3.1.dylib (compatibility version 1.0.0, current version 1.0.0)
	@executable_path/../Frameworks//libwx_baseu_net-3.1.dylib (compatibility version 1.0.0, current version 1.0.0)
	@executable_path/../Frameworks//libwx_baseu_xml-3.1.dylib (compatibility version 1.0.0, current version 1.0.0)
	@executable_path/../Frameworks//libwx_osx_cocoau_html-3.1.dylib (compatibility version 1.0.0, current version 1.0.0)
	@executable_path/../Frameworks//libwx_osx_cocoau_stc-3.1.dylib (compatibility version 1.0.0, current version 1.0.0)
Pavel
nohal is offline   Reply With Quote
Old 26-04-2021, 18:26   #4
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: C'an install oeSENC plugin on Opencpn 5.2.4 under MacOS Big Sur

FWIW, the standard OpenCPN installation with the oesenc plugin installed via the plugin manager on my dev machine results in a particularly interesting mix of libraries loaded at runtime
Code:
# vmmap 75297 | grep libwx | cut -c 100- | sort -u
      /Applications/OpenCPN.app/Contents/Frameworks/libwx_baseu-3.1.2.0.0.dylib
      /Applications/OpenCPN.app/Contents/Frameworks/libwx_baseu_net-3.1.2.0.0.dylib
      /Applications/OpenCPN.app/Contents/Frameworks/libwx_baseu_xml-3.1.2.0.0.dylib
      /Applications/OpenCPN.app/Contents/Frameworks/libwx_osx_cocoau_aui-3.1.2.0.0.dylib
      /Applications/OpenCPN.app/Contents/Frameworks/libwx_osx_cocoau_core-3.1.2.0.0.dylib
      /Applications/OpenCPN.app/Contents/Frameworks/libwx_osx_cocoau_gl-3.1.2.0.0.dylib
      /Applications/OpenCPN.app/Contents/Frameworks/libwx_osx_cocoau_html-3.1.2.0.0.dylib
      /Applications/OpenCPN.app/Contents/Frameworks/libwx_osx_cocoau_webview-3.1.2.0.0.dylib
      /usr/local/lib/libwx_baseu-3.1.5.0.0.dylib
      /usr/local/lib/libwx_osx_cocoau_core-3.1.5.0.0.dylib
      /usr/local/lib/libwx_osx_cocoau_stc-3.1.5.0.0.dylib
The base of the final solution probably is to include the full set of the WX libs in the OpenCPN installer. Short term oesenc_pi has to be stripped of the wxstc dependency or needs it linked statically (if that can be done at all) I'm afraid.
nohal is offline   Reply With Quote
Old 27-04-2021, 04:34   #5
Registered User

Join Date: Apr 2021
Posts: 4
Re: C'an install oeSENC plugin on Opencpn 5.2.4 under MacOS Big Sur

Quote:
Originally Posted by bdbcat View Post
TI REV...


What version of the oeSENC plugin are you trying to load? Not enough of the logfile to see....


Thanks
Dave
Version of plugin is 4.2.19.26 and OpenCPN is 5.2.4+6b314e6 (the latest versions at this time).
I've succeeded running the plugin making some hacks.

First was building wxWidgets version 3.1.2 and copying the missing dynlib to OpenCPN Frameworks folder.

Another problem was found : the plugin can't find and run oeserverd.
I've managed it making symlinks under ~/Library/Application Support/OpenCPN/Contents/Plugins (which is in the $PATH).

So that works for me now, but I shouldn't make any OpenCPN upgrade until the problem is fixed...
TI REV is offline   Reply With Quote
Old 27-04-2021, 17:50   #6
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,473
Re: C'an install oeSENC plugin on Opencpn 5.2.4 under MacOS Big Sur

TI REV, et al...
Both MacOS installation problems corrected in oeSENC_PI Version 4.2.19.28, available in master catalog now.


Thanks
Dave
bdbcat is offline   Reply With Quote
Old 29-04-2021, 16:05   #7
Registered User

Join Date: Apr 2021
Posts: 4
Re: C'an install oeSENC plugin on Opencpn 5.2.4 under MacOS Big Sur

Perfect ! thank you. I've just tested and it works.
TI REV is offline   Reply With Quote
Old 24-06-2021, 10:35   #8
Registered User
 
Antipole's Avatar

Join Date: Oct 2019
Location: Emsworth, UK
Boat: Alubat Ovni 395
Posts: 315
Missing oeserverd untlity?

Have tried to update my charts and get the following alert:
Quote:
Cannot find the oserverd utility at
{"/Users/Tony/Library/Applications Support/OpenCPN/Contents/Plugins/oeserverd"}
(Note the is a spelling inconsistency between oserverd & oeserverd)

Indeed, when I look in the Plugins folder, the only relevant things there are liboesenc_pi.dylib

I have tried reinstalling the plugin but to no avail.
I have lost my charts too and we are off sailing for six weeks at the end of this month.

Any ideas about what is going on, please?

Running MacOS 10.15.7 Catalina
osSENC 4.2.19.28
Antipole is offline   Reply With Quote
Old 24-06-2021, 11:05   #9
Registered User

Join Date: Apr 2021
Posts: 4
Re: Missing oeserverd untlity?

Previously, I'd solved this issue by creating a symlink to oserverd in plugins folder :


$ cd "~/Library/Application Support/OpenCPN/Contents/PlugIns"
$ ln -s ../SharedSupport/plugins/oesenc_pi/oeserverd .


Quote:
Originally Posted by Antipole View Post
Have tried to update my charts and get the following alert:

(Note the is a spelling inconsistency between oserverd & oeserverd)

Indeed, when I look in the Plugins folder, the only relevant things there are liboesenc_pi.dylib

I have tried reinstalling the plugin but to no avail.
I have lost my charts too and we are off sailing for six weeks at the end of this month.

Any ideas about what is going on, please?

Running MacOS 10.15.7 Catalina
osSENC 4.2.19.28
TI REV is offline   Reply With Quote
Old 24-06-2021, 11:29   #10
Registered User
 
Antipole's Avatar

Join Date: Oct 2019
Location: Emsworth, UK
Boat: Alubat Ovni 395
Posts: 315
Re: C'an install oeSENC plugin on Opencpn 5.2.4 under MacOS Big Sur

Thanks @ti_rev - that has fixed it. Phew!
Antipole is offline   Reply With Quote
Reply

Tags
enc, opencpn, plug, plugin


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenCPN 5 and OeSenc plugin 4 davidbirnie OpenCPN 13 28-07-2020 13:03
oeSENC and macOS bcn OpenCPN 2 21-03-2020 07:25
Ubuntu - install oeSENC plugin - Opencpn.org petter5 OpenCPN 9 25-10-2019 06:10
oesenc plugin missing from PPA:opencpn repository DamnDecentDave OpenCPN 10 15-05-2019 11:45
OpenCPN Plugin Issue on MacOS X peterbw OpenCPN 1 28-09-2018 20:07

Advertise Here


All times are GMT -7. The time now is 14:12.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.