×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

SVD_MathPlugin error

  • Posts: 38
  • 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
5 years 11 months ago #25417

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

  • Posts: 111
  • Thank you received: 41

Replied by Thomas Stibor on topic SVD_MathPlugin error

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: Jasem Mutlaq, Niko Kivel
5 years 11 months ago #25426

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

Replied by Jasem Mutlaq on topic SVD_MathPlugin error

It's merged, thanks!
The following user(s) said Thank You: Niko Kivel
5 years 11 months ago #25431

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

  • Posts: 38
  • Thank you received: 1

Replied by Niko Kivel on topic SVD_MathPlugin error

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
5 years 11 months ago #25432

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

  • Posts: 2
  • Thank you received: 0

Replied by David on topic SVD_MathPlugin error

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.
5 years 10 months ago #25790

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

  • Posts: 298
  • Thank you received: 46

Replied by Markku on topic SVD_MathPlugin error

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: David
5 years 10 months ago #25792

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

  • Posts: 2
  • Thank you received: 0

Replied by David on topic SVD_MathPlugin error

That worked, thank you!
David.
5 years 10 months ago #25959

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

Time to create page: 0.899 seconds