Page 1 of 1

Libselinux

Posted: 03 Apr 2017, 18:53
by Lucas
Hi everyone,

After installing Matlab I came to an error message that, after searching for a while, it ended up being a lack of libselinux (don't know if it works or is adequate, but I think it can be found here: https://aur.archlinux.org/packages/libselinux/).

Code: Select all

./MATLABWindow: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory
Reference: https://www.mathworks.com/matlabcentral ... w-on-linux

I would be really thankful if someone could help me solve this:

Regards,

Re: Libselinux

Posted: 03 Apr 2017, 19:57
by Blaze
Hi Lucas.
What about these packages

Code: Select all

https://rpmfind.net/linux/rpm2html/search.php?query=libselinux.so.1()(64bit)
https://rpmfind.net/linux/rpm2html/search.php?query=libselinux.so.1
?

Re: Libselinux

Posted: 03 Apr 2017, 23:33
by Lucas
Blaze,

Thanks a lot! It worked like a charm!
Just one more thing. There is a package that helps integrating matlab, usually you can get it in Ubuntu with:

Code: Select all

sudo apt-get install matlab-support
How can I make it work in Porteus? Is there an alternative?
Thanks again.

Regards,

Re: Libselinux

Posted: 04 Apr 2017, 17:53
by Blaze
Lucas, unfortunately matlab does not present in USM (Slackware) repos
Lucas wrote:you can get it in Ubuntu with:

Code: Select all

sudo apt-get install matlab-support
for Porteus it looks like this

Code: Select all

su
toor
usm -u all
usm -g matlab
Lucas wrote:How can I make it work in Porteus? Is there an alternative?
You can use pkgs.org service
https://pkgs.org/download/matlab
and convert matlab-support.deb to xzm module.

Cheers

Re: Libselinux

Posted: 06 Apr 2017, 20:26
by Lucas
Blaze,

Thanks alot for the help. I wasn't sure how to convert the .deb to a module, but I was able to get things the way I wanted with some guidance of this link:

https://help.ubuntu.com/community/MATLAB (just posting if someone is in the same needs I was).

It helped with the installation and adding matlab to the application's menu. Didn't knew that I was able to edit things through the /usr/share/applications. Opened some of the files in kate to learn the semantics and options I had (nothing as being curious for learning! :D ).

Regards,