LinuxQuestions.org
Help answer threads with 0 replies.
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 02-26-2011, 12:24 AM   #1
grissiom
Member
 
Registered: Apr 2008
Location: China, Beijing
Distribution: Slackware
Posts: 423

Rep: Reputation: 45
chromium began require pam...


I tried to launch chromium-build-76129. But it fails at:
Code:
/home/grissiom/chrome-linux/chrome: error while loading shared libraries: libpam.so.0: cannot open shared object file: No such file or directory
As chromium will become chrome eventually, is that means it's hard to use chrome(or chromium) in the future?

P.S. I don't think I dare to compile chromium from scratch. The only way I use chrome/chromium is using the official prebuilds.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 02-26-2011, 12:26 AM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Quote:
Originally Posted by grissiom View Post
I tried to launch chromium-build-76129. But it fails at:
Code:
/home/grissiom/chrome-linux/chrome: error while loading shared libraries: libpam.so.0: cannot open shared object file: No such file or directory
As chromium will become chrome eventually, is that means it's hard to use chrome(or chromium) in the future?

P.S. I don't think I dare to compile chromium from scratch. The only way I use chrome/chromium is using the official prebuilds.
What is the output of the following?
Code:
whereis libpam
 
0 members found this post helpful.
Old 02-26-2011, 12:47 AM   #3
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by corp769 View Post
What is the output of the following?
Code:
whereis libpam
Somewhere else =)
 
1 members found this post helpful.
Old 02-26-2011, 04:32 AM   #4
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
I came across the same problem when compiling chromium a little while ago. Slackbuilds.org don't want to have pam in the repo. So I have made a slackbuild for pam which allows chromium to build.

After building chromium pam can and should be uninstalled as it will affect lots of other things that you build after it.

http://www.dawoodfall.net/slackbuilds/13.1/Linux-PAM/

There's nothing hard about building chromium from scratch - just use the slackbuild from slackbuilds.org.

Last edited by dive; 02-26-2011 at 04:34 AM.
 
Old 02-27-2011, 02:16 AM   #5
grissiom
Member
 
Registered: Apr 2008
Location: China, Beijing
Distribution: Slackware
Posts: 423

Original Poster
Rep: Reputation: 45
IIRC, building chromium will require Gigas of disk and hours of time. So I don't want to build it. As it will change rapidly, the chromium you build today may be out-of-date tomorrow. So IMHO, building chromium by myself is just a waste of time.

Besides, I don't know how to do PAM right. I don't know what will happen when chrome run on a non-functioning PAM... ;(
 
Old 02-27-2011, 02:22 AM   #6
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Quote:
Originally Posted by mRgOBLIN View Post
Somewhere else =)
Ok, I went off of experience in linux. Never used slackware, but my first post is where I would normally start. Do you mind please telling me where I went wrong by asking what I did? Thanks,

Josh
 
Old 02-27-2011, 04:13 AM   #7
PDock
Member
 
Registered: Aug 2004
Distribution: Slack10 & curr. tried numerous
Posts: 189

Rep: Reputation: 37
Wrong is probably the incorrect term to use with respect to your original post. That said: this is the Slackware sub-forum and Slackware does not use PAM in any way shape of form. Thus your fubar was responding to a post on the Slackware forum when not knowing the mechanics of the Slackware distribution.

mRgOBLIN, a frequent poster and respected source of Slackware specific solutions, succinctly stated what is obvious to those here.

ppd
 
1 members found this post helpful.
Old 02-27-2011, 10:24 AM   #8
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Quote:
Originally Posted by PDock View Post
Wrong is probably the incorrect term to use with respect to your original post. That said: this is the Slackware sub-forum and Slackware does not use PAM in any way shape of form. Thus your fubar was responding to a post on the Slackware forum when not knowing the mechanics of the Slackware distribution.

mRgOBLIN, a frequent poster and respected source of Slackware specific solutions, succinctly stated what is obvious to those here.

ppd
Looks like you're getting a bit offensive, no?

Just in the fun... Yes, I did my research, and all that good stuff. I just didn't know that Slackware doesn't use PAM. But this thread got me thinking even though it's linux, and I started to get more into reading about it. Looks like I'm installing Slackware on something

Cheers man and thanks for being arrogant guys, finally got me to download slack

Josh
 
1 members found this post helpful.
Old 02-27-2011, 11:47 AM   #9
kenjiro
LQ Newbie
 
Registered: Feb 2004
Location: Brazil
Distribution: Slackware Linux
Posts: 16

Rep: Reputation: 1
Hello there.

I am getting back to work (and other stuff) and then I tried to build the latest chromium version. To my surprise now it needs PAM (oh my!) The latest build I could come up without PAM (before going on vacation) was 11.0.658.1.

I am trying to talk to the Chromium guys (IRC and stuff) to see if we can compile it without pam. dive's approach seems to "solve" the problem, but it's not elegant, right?

Please, dive, take on offense. We both know that's not the slackware way to do things. Anyway, have you had any problems with chromium after you did that? (building and installing PAM, then building chromium, then uninstalling pam)

It's not nice, but if that is THE ONLY WAY TO FLY, then I can change my chromium.SlackBuild so that it will make all that automatic. But I still see that as non-elegant
 
Old 02-27-2011, 12:14 PM   #10
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
I did ask in #chromium about this and got absolutely no response. You may have better luck than me, or know other places to ask.

Yeah I agree having a --with-pam=no flag would be the ideal solution and if you can push for that it would great.

At the end of the day I can build chromium against pam on my build box, and then it will work fine _without_ having pam installed on the target box(en). It may not be as elegant as a no pam flag, but it works fine.

I've not had any problems using chromium like this at all (version 11.0.677.0 (0) right now).

To the OP: building chromium can take a time and need some spare space to build, but by using kenjiro's slackbuild it is very easy and no trouble at all. All you need do is grab the relevant source from buildbot and edit the version in the slackbuild.

Last edited by dive; 02-27-2011 at 12:18 PM.
 
Old 02-27-2011, 12:16 PM   #11
Mohamed Mansour
LQ Newbie
 
Registered: Feb 2011
Location: Ottawa, Canada
Distribution: Debian 6
Posts: 6

Rep: Reputation: 3
libpam is for ChromiumOS, since they are using Chrome as a login manager.
 
Old 02-27-2011, 12:21 PM   #12
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Quote:
Originally Posted by kenjiro View Post
I can change my chromium.SlackBuild so that it will make all that automatic. But I still see that as non-elegant
I think slackbuilds.org will refuse to host that if that's what you are planning. I already have asked about submitting my pam slackbuild and they don't want pam in any way, shape or form. I think the best solution is to push upstream for a --with-pam=no type flag.
 
Old 02-27-2011, 12:44 PM   #13
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Rep: Reputation: 35
Quote:
Originally Posted by dive View Post
I already have asked about submitting my pam slackbuild and they don't want pam in any way, shape or form.
That I do not get. Slackware doesn't want PAM in the official distro, which is fine. But for those who may want to use it or need it why make it harder by refusing to have it in the repository for 3rd party software?

What difference does it make if a slackbuild is available or not? By refusing a slackbuild they are basically deciding what software people should or should not use, which is something I don't really agree with....but whatever.
 
Old 02-27-2011, 12:58 PM   #14
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
There's an age-old tradition of hating PAM in Slakcware, but not long ago, PatV stated that it wasn't so bad as it used to be. Maybe softening up the troops for a big turn around later... and then PAM will be the greatest thing since HAL or udev.
 
0 members found this post helpful.
Old 02-27-2011, 01:52 PM   #15
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Quote:
Originally Posted by gnashley View Post
There's an age-old tradition of hating PAM in Slakcware, but not long ago, PatV stated that it wasn't so bad as it used to be. Maybe softening up the troops for a big turn around later... and then PAM will be the greatest thing since HAL or udev.
Rallying the troops in such a fashion is only required when such software becomes impossible or unreasonable to exclude. That being said they did seem to go to great lengths with polkit-1 to continue PAM's absence with newer KDE builds...
 
1 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] Does the use of LDAP to communicate with Windows Active Directory require PAM? dpkavanaugh Linux - Newbie 3 06-08-2010 08:10 AM
Apache Auth: Using Require User and Require Group newmanium2001 Linux - Software 1 08-25-2009 02:39 PM
LXer: Running The Chromium Browser On Ubuntu 8.04 With CrossOver Chromium LXer Syndicated Linux News 0 10-09-2008 04:21 PM
Apache2 Require user with Require group Russianspi Linux - Server 2 01-30-2008 11:21 AM
How it all began... chris LinuxQuestions.org Member Intro 0 05-22-2003 10:49 AM

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

All times are GMT -5. The time now is 07:10 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