LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-04-2017, 02:38 AM   #1
Dauer
Member
 
Registered: Sep 2004
Location: Denmark
Distribution: Slackware 14.2
Posts: 40

Rep: Reputation: 20
libpam.so.0


Hi,
Have just installed Matlab 2017 on Slackware64 14.2. When starting the program I get the error "missing libpam.so.0. Have tried to search for solution, but it is difficult to find anything useful. It seems that Slackware up to 14.0 had PAM in /extra which I have tried to compile on 14.2, but that failed.

Can someone point me in the right direction ?

Thanks.

Last edited by Dauer; 09-04-2017 at 02:52 AM.
 
Old 09-04-2017, 04:31 AM   #2
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
You can give http://www.slackware.com/~vbatts/pam/ try.
 
1 members found this post helpful.
Old 09-04-2017, 11:24 AM   #3
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by Richard Cranium View Post
Most likely NOT.

Because this project is intended for PAMification of Slackware. Read: a Slackware with a functional PAM authentication.

Same is https://github.com/Dlackware/pam but this one is well maintained.

IF our OP chose the PAMification way to run Matlab, would be interesting to report back how the things work.

BUT, a BIG FAT WARNING: going the system PAMification could render the system unusable on smallest errors, as it plays with the authentication.

PS. Talking about the Slackware PAMification, the curious people can take a look on https://github.com/Dlackware/pam and see that for a minimal implementation is only need to add FIVE packages (including even the Kerberos) and to modify ONE (shadow). That's all, folks!

It is nothing about removing half of Slackware shipped packages, and to add over 500 new ones, like in the case of adopting Plasma 5 and removing KDE4, about which you guys talk with serenity!

Last edited by Darth Vader; 09-04-2017 at 11:50 AM.
 
3 members found this post helpful.
Old 09-04-2017, 12:36 PM   #4
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
5 packages aren't that hard to do oneself if you require that functionality. Plasma 5 is coming, coming someday. Plasma 5 has new krita

Octave can do a lot of the things that Matlab can do and its open source:
http://slackbuilds.org/repository/14.2/academic/octave/
 
1 members found this post helpful.
Old 09-04-2017, 01:04 PM   #5
Dauer
Member
 
Registered: Sep 2004
Location: Denmark
Distribution: Slackware 14.2
Posts: 40

Original Poster
Rep: Reputation: 20
I don't want to break my system, but it is important for me to be able to run matlab so I have to try it out.

What happens when I have compiled and installed the packages? What do I need to configure ?
 
Old 09-04-2017, 01:04 PM   #6
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by RadicalDreamer View Post
5 packages aren't that hard to do oneself if you require that functionality.
Yet, the old good excuse against PAM. In fact, why you are against PAM? You can explain what damages do to your system?

I tell you in few words: you can not! Because over years around PAM happened to grown layers and layers of false information, spread by no ones, for a mere moment of glory in a public forum.

And like was explained multiple times, adding PAM and Kerberos would be essentially a fork of Slackware, as they spread like a cancer over dependencies.

So, you suggest that thousands guys to FORK the Slackware, every one on his own, just because some lies?

Quote:
Originally Posted by RadicalDreamer View Post
Plasma 5 is coming, coming someday. Plasma 5 has new krita

Octave can do a lot of the things that Matlab can do and its open source:
http://slackbuilds.org/repository/14.2/academic/octave/
To be honest, I think that the Plasma 5 is simply too big to be included in a moderate sized distribution like Slackware.

Plasma 5 is so big, that IF it will be adopted, there would be no Slackware anymore, but some Plasmaware. Just like the Android: a "rich" and huge desktop environment in the top of a (minimal) Linux system.

IF you want this Plasmaware, feel free to use thirdly-party repositories, BUT, I for one I want my Slackware, not the Plasmaware!

And I hope that Patrick Volkerding would see the trap set by Plasma 5, and when KDE4 would not compile anymore, would replace it eventually with some more lightweight desktop environment, even it is based on Qt.

Last edited by Darth Vader; 09-04-2017 at 01:15 PM.
 
Old 09-04-2017, 01:08 PM   #7
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by Dauer View Post
What happens when I have compiled and installed the packages?
In that moment you will get something which is not Slackware anymore, but your own Dauerware, where if you build something, it probably will fail because unresolved PAM and/or Kerberos dependencies...

And you will have to take the duty to maintain it, instead of Patrick Volkerding.

BUT, that's theoretical, at the end of day, would be interesting to research and report back the very impact of PAMification of a Slackware installation...

Last edited by Darth Vader; 09-04-2017 at 01:18 PM.
 
Old 09-04-2017, 01:20 PM   #8
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
Our dear BDFL of Slackware doesn't seem to like PAM. As long as it doesn't get in my way I don't care either way, and having said that I don't like things that obfuscate what is going on (not saying PAM does or does not do this because I never looked into it). Its one of the reasons I use Slackware with its KISS philosophy. If he isn't going to use Plasma 5 then he should just drop KDE because Current is the development branch of the next Slackware. Why waste time supporting something that will be dropped in the next release and conflicts with Plasma 5 packages? Plasma 5 is like where Firefox and rust was. Its on the to-do list but not yet from what I gather based on what our dear BDFL of Slackware has said. Also there are several versions of Slackware available for the Plasma 5 phobics.
 
Old 09-04-2017, 01:30 PM   #9
Dauer
Member
 
Registered: Sep 2004
Location: Denmark
Distribution: Slackware 14.2
Posts: 40

Original Poster
Rep: Reputation: 20
Quote:
Originally Posted by Darth Vader View Post
In that moment you will get something which is not Slackware anymore, but your own Dauerware, where if you build something, it probably will fail because unresolved PAM and/or Kerberos dependencies...

And you will have to take the duty to maintain it, instead of Patrick Volkerding.

BUT, that's theoretical, at the end of day, would be interesting to research and report back the very impact of PAMification of a Slackware installation...
haha, so basically I am screwed

So I guess I have to decide whether to use matlab and find another distribution or live without it.
 
Old 09-04-2017, 01:34 PM   #10
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
If I needed PAM I would use Dlackware's PAM.
 
Old 09-04-2017, 01:35 PM   #11
Dauer
Member
 
Registered: Sep 2004
Location: Denmark
Distribution: Slackware 14.2
Posts: 40

Original Poster
Rep: Reputation: 20
Okay, I will back up my system and see what happens
 
1 members found this post helpful.
Old 09-04-2017, 02:46 PM   #12
Dauer
Member
 
Registered: Sep 2004
Location: Denmark
Distribution: Slackware 14.2
Posts: 40

Original Poster
Rep: Reputation: 20
Compiled and installed all the pam files. Matlab is running

Let us see what problems I run into later.
 
2 members found this post helpful.
Old 09-04-2017, 02:47 PM   #13
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
You installed only the LinuxPAM (aka pam) package, or all of those packages?

Last edited by Darth Vader; 09-04-2017 at 02:49 PM.
 
Old 09-04-2017, 03:25 PM   #14
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by Darth Vader View Post
To be honest, I think that the Plasma 5 is simply too big to be included in a moderate sized distribution like Slackware.

Plasma 5 is so big, that IF it will be adopted, there would be no Slackware anymore, but some Plasmaware. Just like the Android: a "rich" and huge desktop environment in the top of a (minimal) Linux system.
How did you determine that your claim holds truth?
Let me give you my view of sizes:

Slackware current's KDE plus KDEI (64bit):
Code:
652M    slackware64-current/slackware64/kde
386M    slackware64-current/slackware64/kdei
Plasma5, its language files and its deps:
Code:
207M    ktown/current/latest/x86_64/deps
906M    ktown/current/latest/x86_64/kde
71M     ktown/current/latest/x86_64/kdei
In order to understand why Plasma5's language files (the kdei section) is so small if you compare ith with KDE4 you need to know that those language files are just for the remaining kdelibs4 applications. All Plasma5 applications have their localizations inside the binary packages. This means you won't be able to selectively install just one or two languages - you get them all by default.

But apart from that fact, what you see above is that the sum of all packages for Plasma 5 (1184 MB) is just 146 MB larger than the KDE4 package set (1038 MB). And just the Qt5 plus the Noto TTF font packages are 153 MB in size. I would not consider Plasma5 to be "too big" for Slackware compared to KDE4.
But that's just my biased opinion.
 
8 members found this post helpful.
Old 09-04-2017, 05:48 PM   #15
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
There is no problem in installing pam in slackware, although relatively pointless because nothing supplied with the slackware distribution uses pluggable authentication modules. If it satisfies a dependency of a pre-compiled binary you don't have the source for, installing it might be sensible - such as with google-chrome in earlier slackware versions - but if that pre-compiled binary intends to use pam for authentication it is likely to be disappointed because the particular module it is looking for may be missing, and even if it is there its configuration file might be incomplete.

I have one slackware64-current computer which has systemd and pam installed: it gives the option of either booting slackware's standard SysV-derived boot-up, or booting with systemd (you can pass the init as a kernel parameter). The only packages that really needed to be recompiled for this were shadow, dbus, polkit and wpa-supplicant. You also need to prune eudev, because systemd supplies pretty much everything except udevd (and is ABI compatible with eudev), which is still required for a SysV boot-up.
 
2 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] vsftpd not linked to libpam. Please help! J0atm0n Linux - Server 2 03-26-2013 01:27 PM
[SOLVED] OpenVPN not found libpam StreamThreader Slackware 2 02-04-2013 03:06 AM
Libpam.a download bhreddy Linux - Newbie 2 05-03-2006 03:35 PM
libpam.so.0 no found! vbbjq Slackware 3 08-03-2004 08:05 AM
Help with libpam.so.0 piles Linux - Software 0 07-02-2003 08:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration