Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to load shared library 'plplot' on Linux #1

Closed
DiomedesDominguez opened this issue Dec 13, 2019 · 2 comments
Closed

Unable to load shared library 'plplot' on Linux #1

DiomedesDominguez opened this issue Dec 13, 2019 · 2 comments

Comments

@DiomedesDominguez
Copy link

After I copy the plplot files in Ubuntu 19.04 x64 with the following command cp ./runtimes/linux-x64/native/lib* ., I get the error that the project could load the library

~/Dev/LoadingData$ dotnet run
Loading data...
Unhandled exception. System.DllNotFoundException: Unable to load shared library 'plplot' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libplplot: cannot open shared object file: No such file or directory
   at PLplot.Native.mkstrm(Int32& p_strm)
   at PLplot.PLStream..ctor() in C:\projects\plplotnet\PLplotNet\PLStream.cs:line 24
   at LoadingData.Program.Main(String[] args) in ~/Dev/LoadingData/Program.cs:line 29
@DiomedesDominguez
Copy link
Author

DiomedesDominguez commented Dec 13, 2019

I even try to specify the runtime.

Screenshot from 2019-12-12 21-53-37

@DiomedesDominguez
Copy link
Author

To resolve this I need it to execute the following:

$ sudo apt-get install libplplot16 
$ sudo apt-get install plplot-driver-cairo
$ sudo apt-get install libplplot-dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant