LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-05-2017, 01:20 AM   #16
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
You installed only the LinuxPAM (aka pam) package, or all of those packages?
I installed all the files in https://github.com/Dlackware/pam
 
1 members found this post helpful.
Old 09-05-2017, 02:28 AM   #17
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,215

Rep: Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001
Quote:
Originally Posted by Alien Bob View Post
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.
Eric, you use 'la méthode coué' for 'Darth Vader'

https://en.wikipedia.org/wiki/Émile_Coué

Last edited by gmgf; 09-05-2017 at 12:33 PM.
 
1 members found this post helpful.
Old 09-05-2017, 05:10 AM   #18
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by Dauer View Post
I installed all the files in https://github.com/Dlackware/pam
That is somewhat extreme. You replaced your slackware shadow package with a pam enabled one just to run Matlab: does Matlab actually require that?
 
Old 09-05-2017, 12:41 PM   #19
Dauer
Member
 
Registered: Sep 2004
Location: Denmark
Distribution: Slackware 14.2
Posts: 40

Original Poster
Rep: Reputation: 20
Talking

Quote:
Originally Posted by chrisVV View Post
That is somewhat extreme. You replaced your slackware shadow package with a pam enabled one just to run Matlab: does Matlab actually require that?
I am not limited by knowledge

I tried to replace the shadow package with the slackware original and removed all the other packages except for the linux-pam package. Matlab still runs so it is only necessary to install the pam package.
 
Old 09-05-2017, 02:43 PM   #20
drumz
Member
 
Registered: Apr 2005
Location: Oklahoma, USA
Distribution: Slackware
Posts: 905

Rep: Reputation: 695Reputation: 695Reputation: 695Reputation: 695Reputation: 695Reputation: 695
I know you already solved it, but in case you don't want the libpam package actually installed on your system:

I ran into the same problem. This is what I did:

1. Mirror https://github.com/Dlackware/pam

2. Build pam using the supplied SlackBuild.

3. explodepkg your newly built pam package to grab libpam.

4. Copy libpam.so.0.84.2 to (e.g.) /opt/MATLAB/R2017a/bin/glnxa64/libpam.so.0.84.2

5. Make a link so libpam.so.0 points to libpam.so.0.84.2 (ln -s libpam.so.0.84.2 libpam.so.0)

I'm pretty sure I sent a message to The MathWorks detailing all this in the hopes that they'd document it, but they simply replied "Slackware is not a supported Linux OS." I also asked that they not link against libpam, because as far as I can remember, MATLAB isn't actually using libpam to do anything.
 
9 members found this post helpful.
Old 09-05-2017, 04:01 PM   #21
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Quote:
...pretty sure I sent a message to The MathWorks detailing all this in the hopes that they'd document it, but they simply replied "Slackware is not a supported Linux OS." I also asked that they not link against libpam, because as far as I can remember, MATLAB isn't actually using libpam to do anything.
It's too bad they didn't at least say "Thank you for your interest in our software"
Or
" and by the way thanks for helping someone else use our software, at no expense to us."
Or
"We really enjoy working the open source community"

Dream on, I guess
 
5 members found this post helpful.
Old 09-05-2017, 04:18 PM   #22
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by drumz View Post
I'm pretty sure I sent a message to The MathWorks detailing all this in the hopes that they'd document it, but they simply replied "Slackware is not a supported Linux OS." I also asked that they not link against libpam, because as far as I can remember, MATLAB isn't actually using libpam to do anything.
There used to be the same issue with google-chrome in times past, which is why slackware used to include pam in extras. pam in slackware didn't actually do anything except satisfy a linking dependency (it didn't do any authentication unless you installed your own modules). However, google fixed the need for this.
 
Old 09-05-2017, 04:27 PM   #23
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 chrisVV View Post
pam in slackware didn't actually do anything except satisfy a linking dependency
Permit me to disagree! For example, the lack of a functional PAM authentication make (almost?) impossible the usage of iTALC, a software used heavily on schools...

The thing is something like a remote control, and the teacher can see and act on any of student computers.

So, for lack of PAM, on at least three schools the kids learn Ubuntu instead of Slackware. Trust me, there.

Read the story of those three schools as about 5000 of possible future Slackware users was, well... lost. Every year.

But this is a old story, from 8 years ago...

Last edited by Darth Vader; 09-05-2017 at 04:39 PM.
 
Old 09-05-2017, 05:08 PM   #24
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by Darth Vader View Post
Permit me to disagree! For example, the lack of a functional PAM authentication make (almost?) impossible the usage of iTALC, a software used heavily on schools...

The thing is something like a remote control, and the teacher can see and act on any of student computers.

So, for lack of PAM, on at least three schools the kids learn Ubuntu instead of Slackware. Trust me, there.

Read the story of those three schools as about 5000 of possible future Slackware users was, well... lost. Every year.

But this is a old story, from 8 years ago...
Would you care to read again what I (and others) have written, which is about how to run Matlab under slackware? What you say may or may not be true, I don't care to take the time to find out. However it has nothing to do with the point to which you think you are replying.
 
Old 09-05-2017, 05:17 PM   #25
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
@chrisVV

Well, I just replied to your questioning of the general PAM utility in Slackware, nothing more...
 
Old 09-05-2017, 05:27 PM   #26
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by Darth Vader View Post
@chrisVVWell, I just replied to your questioning of the general PAM utility in Slackware, nothing more...
The point you continue to miss is that my post had nothing to do with questioning the general utility of having PAM in slackware. It commented only on why for a time earlier slackware versions had it in extra, as a matter of fact. That was to satisfy a linking dependency of google-chrome.

Since you want to continue this, on a more on-topic point and as an entirely separate issue, your advice about substituting a load of dlackware stuff on the OP's system to run matlab was way wide of the mark.

Let me lastly add that I have nothing particularly against pam or systemd. As I mentioned, I have both running with slackware64-current on one of my computers, on a much less intrusive basis than dlackware achieves. I also have gnome-3.24 running on it.
 
Old 09-05-2017, 05:51 PM   #27
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 chrisVV View Post
Since you want to continue this, on a more on-topic point and as an entirely separate issue, your advice about substituting a load of dlackware stuff on the OP's system to run matlab was way wide of the mark.
You are kind to read the previous posts again?

In fact, while Richard Cranium happens to advice the usage of http://www.slackware.com/~vbatts/pam/ , myself I warned the OP that this project is about an eventual PAMification of Slackware, and how I know that it is still relative old stuff, I suggested https://github.com/Dlackware/pam as more viable alternative for, IF the OP wants to go this path for real. Read: I explained the context of what OP is ready to go.

Yet, I issued another warning about the possible dramatic consequences of this choice and the risk to render the system unusable on slightest mistake, like you seen.

Finally, while after my warnings about the eventual consequences the OP being still undecided, guess who go forth? RadicalDreamer

Quote:
Originally Posted by RadicalDreamer View Post
If I needed PAM I would use Dlackware's PAM.
Finally, later happens that drumz suggested what I see a proper way to deal with this particular issue of the Matlab usage on Slackware.

Last edited by Darth Vader; 09-05-2017 at 05:53 PM.
 
Old 09-05-2017, 06:00 PM   #28
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Sorry, this is unintelligible drivel. And still misses the point.
 
Old 09-05-2017, 06:15 PM   #29
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
I believe that Darth Vader would attempt to out-stubborn a cat.

It was my belief that the OP just wanted Matlab to work and really didn't give a damn about installing PAM to handle authentication on his/her system. I believed the OP would have simply grabbed the libpam package, looked inside it, and install the shared library that he asked about in the first message.

If it will make you shut up, of course you saved the day, Darth Vader.
 
1 members found this post helpful.
Old 09-05-2017, 06:20 PM   #30
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
Quote:
Originally Posted by chrisVV View Post
Sorry, this is unintelligible drivel. And still misses the point.
I think that Darth Vader viewed my reply as "Hey, OP, install all this stuff and it will solve your problem". I thought that I meant "OP, you can find your missing shared library somewhere in here."

Darth Vader's point that package set I pointed to might not actually work if you installed it all and actually leave you with a severely borked system is not without merit.

However, PAM has been a bee in Darth's bonnet for a few years now. I start to wonder if our BDFL doesn't include PAM simply to tweak Darth's nose.
 
5 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 06:53 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