Welcome, Guest
Username: Password: Remember me
25 Jul 2018
Glad to announce of release of INDI Library v1.7.4 on 2018-07-25. A few drivers were added in this release as we continue to improve & stabilize existing drivers.
Read More...
  • Page:
  • 1

TOPIC: SVD_MathPlugin error

SVD_MathPlugin error 5 months 1 day ago #25417

  • bigblue
  • bigblue's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 35
  • Thank you received: 1
Hi all

I just compiled indilib and the eqmod driver on a RPi 3B+.
When starting ` indiserver indi_eqmod_telescope`, I get this error.
Driver indi_eqmod_telescope: EnumeratePlugins - cannot load plugin /libindi_SVD_MathPlugin.so error /libindi_SVD_MathPlugin.so: cannot open shared object file: No such file or directory
I'm sure it's looking in the wrong place, because the fs-root is an unlikely place to find it :)
By linking the actual file to the fs-root it works fine.

best
Niko

Please Log in or Create an account to join the conversation.

SVD_MathPlugin error 5 months 12 hours ago #25426

Hi Niko,

the problem is here:
--- a/libindi/libs/indibase/alignment/MathPluginManagement.cpp
+++ b/libindi/libs/indibase/alignment/MathPluginManagement.cpp
@@ -361,7 +361,7 @@ void MathPluginManagement::EnumeratePlugins()
     #endif
 
     dp    = opendir(MATH_PLUGINS_DIRECTORY);
-    snprintf(MATH_PLUGINS_DIRECTORY, 2048 - 1, "%s%s", MATH_PLUGINS_DIRECTORY, "/");
+    snprintf(MATH_PLUGINS_DIRECTORY, 2048 - 1, "%s%s", INDI_MATH_PLUGINS_DIRECTORY, "/");
     if (dp)

I send a PR to Jasem Fix issue: cannot load plugin /libindi_SVD_MathPlugin.so
which fixes the problem:
>./indiserver -v indi_eqmod_telescope
2018-04-24T09:14:21: startup: ./indiserver -v indi_eqmod_telescope 
2018-04-24T09:14:21: Driver indi_eqmod_telescope: pid=20339 rfd=3 wfd=6 efd=7
2018-04-24T09:14:21: listening to port 7624 on fd 4
2018-04-24T09:14:21: Driver indi_eqmod_telescope: snooping on GPS Simulator.GEOGRAPHIC_COORD
2018-04-24T09:14:21: Driver indi_eqmod_telescope: snooping on GPS Simulator.TIME_UTC
2018-04-24T09:14:21: Driver indi_eqmod_telescope: snooping on Dome Simulator.DOME_PARK
2018-04-24T09:14:21: Driver indi_eqmod_telescope: snooping on Dome Simulator.DOME_SHUTTER
2018-04-24T09:14:21: Driver indi_eqmod_telescope: Using prefix /opt/indi/master/share/indi//indi_eqmod_sk.xml
2018-04-24T09:14:21: Driver indi_eqmod_telescope: Using prefix /opt/indi/master/share/indi//indi_align_sk.xml
2018-04-24T09:14:21: Driver indi_eqmod_telescope: Using prefix /opt/indi/master/share/indi//indi_eqmod_simulator_sk.xml
2018-04-24T09:14:21: Driver indi_eqmod_telescope: Using prefix /opt/indi/master/share/indi//indi_eqmod_scope_limits_sk.xml
2018-04-24T09:14:21: Driver indi_eqmod_telescope: EnumeratePlugins - found plugin SVD Math Plugin

Cheers
Thomas
The following user(s) said Thank You: knro, bigblue

Please Log in or Create an account to join the conversation.

SVD_MathPlugin error 5 months 11 hours ago #25431

It's merged, thanks!
The following user(s) said Thank You: bigblue

Please Log in or Create an account to join the conversation.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info

SVD_MathPlugin error 5 months 10 hours ago #25432

  • bigblue
  • bigblue's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 35
  • Thank you received: 1
Thanks for fixing this in record time.
I wish I could be more of help and fix stuff myself rather than just reporting errors.
best
Niko

Please Log in or Create an account to join the conversation.

SVD_MathPlugin error 4 months 2 weeks ago #25790

Hi, I'm still getting this error. I'm running Ubuntu Mate 16.04 on a Raspberry Pi 2. INDI was installed from the ppa.

Thanks,
David.

Please Log in or Create an account to join the conversation.

SVD_MathPlugin error 4 months 2 weeks ago #25792

  • maxer
  • maxer's Avatar
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 193
  • Karma: 1
  • Thank you received: 20
Hi David,
I have the same problem but solved it temporary until new version is out..
I did a softlink like this :
sudo ln -s /usr/lib/arm-linux-gnueabihf/indi/MathPlugins/libindi_SVD_MathPlugin.so /libindi_SVD_MathPlugin.so
If you have another distro the path could be different, I'm using Ubuntu-mate on a RPi.
Br
/Markku
The following user(s) said Thank You: vgdav

Please Log in or Create an account to join the conversation.

SVD_MathPlugin error 4 months 1 week ago #25959

That worked, thank you!
David.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.091 seconds

Login



3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!


Gallery

Replica

Why INDI

Replica