Libselinux

If you are looking for a specific 64-bit package and you can't find it in any of the 64-bit repos, please post a request for it here
Post Reply
Lucas
Black ninja
Black ninja
Posts: 42
Joined: 25 Apr 2015, 01:58
Distribution: Porteus 3.1
Location: São Paulo, Brazil

Libselinux

Post#1 by Lucas » 03 Apr 2017, 18:53

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,

User avatar
Blaze
DEV Team
DEV Team
Posts: 1430
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus 3.2 Cinnamon x86_64
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Re: Libselinux

Post#2 by Blaze » 03 Apr 2017, 19:57

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
?
Linux porteus 4.13.3-porteus #1 SMP PREEMPT Sat Sep 23 18:22:13 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

Lucas
Black ninja
Black ninja
Posts: 42
Joined: 25 Apr 2015, 01:58
Distribution: Porteus 3.1
Location: São Paulo, Brazil

Re: Libselinux

Post#3 by Lucas » 03 Apr 2017, 23:33

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,

User avatar
Blaze
DEV Team
DEV Team
Posts: 1430
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus 3.2 Cinnamon x86_64
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Re: Libselinux

Post#4 by Blaze » 04 Apr 2017, 17:53

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
Linux porteus 4.13.3-porteus #1 SMP PREEMPT Sat Sep 23 18:22:13 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

Lucas
Black ninja
Black ninja
Posts: 42
Joined: 25 Apr 2015, 01:58
Distribution: Porteus 3.1
Location: São Paulo, Brazil

Re: Libselinux

Post#5 by Lucas » 06 Apr 2017, 20:26

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,

Post Reply