LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-14-2004, 10:11 PM   #1
Addict3dtoX
LQ Newbie
 
Registered: Sep 2004
Location: MI
Distribution: Slackware 10
Posts: 11

Rep: Reputation: 0
ldconfig permissions messed up?


ok. i just recently got my computer put together, so this is a brand new slackware 10 install. im running kde 3.2.3. the only things that i have installed so far are azureus, gaim, mplayer, and firefox. i just downloaded a cedega slackware package (.tgz). when i try to install it under root with installpkg or pkgtool, it tells me this: "/sbin/ldconfig: Cannot lstat /usr/lib/libstunnel.so: Permission denied". mplayer did the same thing when i tried to install it with installpkg. i ended up installing it from source. also, i have checkinstall, and using check install as the final command did not work, but thats a different issue. so any help getting cedega installed would be nice.

Last edited by Addict3dtoX; 09-16-2004 at 03:19 PM.
 
Old 09-15-2004, 01:16 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Only help I might be is the command is not check install, it is checkinstall or
mingdao@paul:~$ su -c "checkinstall"

I think the other problem is your libraries aren't updated, so just issue "ldconfig" as root

Last edited by Bruce Hill; 09-15-2004 at 01:17 AM.
 
Old 09-15-2004, 01:02 PM   #3
Addict3dtoX
LQ Newbie
 
Registered: Sep 2004
Location: MI
Distribution: Slackware 10
Posts: 11

Original Poster
Rep: Reputation: 0
*IGNORE THIS IM DUMB*

well, when i try to do ldconfig as root, i get the same problem.

root@slackbox:~$ ldconfig
ldconfig: Cannot lstat /usr/lib/libstunnel.so: Permission denied

checkinstall also did not install the package. im going to try downloading another copy of cedega.

*IGNORE THIS IM DUMB*

Last edited by Addict3dtoX; 09-15-2004 at 10:26 PM.
 
Old 09-15-2004, 06:44 PM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Quote:
Originally posted by Addict3dtoX
well, when i try to do ldconfig as root, i get the same problem.

root@slackbox:~$ ldconfig
ldconfig: Cannot lstat /usr/lib/libstunnel.so: Permission denied

checkinstall also did not install the package. im going to try downloading another copy of cedega.
First, if you copied that command, then you did not issue
it as root. the $ signifies a normal user. But your posted command
is a contradiction. Look at this ->

root@paul:/home/mingdao# exit
exit
mingdao@paul:~$

See the difference? The comp is named paul, my normal user is
mingdao. Your prompt is for normal user with username root. ???
 
Old 09-15-2004, 10:27 PM   #5
Addict3dtoX
LQ Newbie
 
Registered: Sep 2004
Location: MI
Distribution: Slackware 10
Posts: 11

Original Poster
Rep: Reputation: 0
wow. nevermind, i got it too work. it involves me being a newb to linux.
 
Old 09-15-2004, 10:36 PM   #6
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Quote:
Originally posted by Addict3dtoX
wow. nevermind, i got it too work. it involves me being a newb to linux.
Hey, this is a community, you know. ;-) Nobody gets paid to answer our
questions, and nobody gets paid (practically) to even write the kernel or
any of the programs. Just a bunch of happy hackers who hate M$.

So, could you please post what you did that solved your problem? And
it's okay that you're a newb - we all are, it's just that some have gotten the
snot beat out of them using Linux for years so they won't admit it.

If some guy got Linux figured out, he'd make installers like M$ and make
some big $$$ because everything would install and work easier. ;-)
 
Old 09-16-2004, 03:10 PM   #7
Addict3dtoX
LQ Newbie
 
Registered: Sep 2004
Location: MI
Distribution: Slackware 10
Posts: 11

Original Poster
Rep: Reputation: 0
well, i figured out that the problem is not with installpkg, its with ldconfig. but i did figure out that i could install cedega just by cd to / and doing tar -xvzf /home/nick/cedega.tgz. so i got that working, now i can play warcraft 3 again im still not sure about the ldconfig problem though, even when im root i cant do anything to it. (this time im sure that im root)
 
Old 09-16-2004, 04:01 PM   #8
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
I hate to burst your bubble, but you need to know this for future reference.
Untarring a .tgz file does not install the app in your system. I have no
idea what you've done, but that didn't install it.

In Slackware, you have what is known as Slack packages. If you will issue
"ls -alc /var/log/packages | less" you can page down and page up and read
the names of them all. To properly use installpkg you can put the Slack pack
in that directory and as root issue "installpkg <packagename.tgz>" and that
will do everything you need to install the package on your Slack system.

But Slack's installpkg does not check for dependencies, so there could be
something that won't allow it to run properly.

Just a little info you might find useful in the days ahead. Start by issuing
"man pkgtool" and read that short manual page. At the end of it there's
a line that says "SEE ALSO" with about 5 more manual pages listed. You
should issue "man <each_name> and read them, too.
 
Old 09-16-2004, 04:05 PM   #9
Addict3dtoX
LQ Newbie
 
Registered: Sep 2004
Location: MI
Distribution: Slackware 10
Posts: 11

Original Poster
Rep: Reputation: 0
ok, when i su into root, and type in " ldconfig " this is exactly what it tells me.

root@slackbox:/home/nick# ldconfig
ldconfig: Cannot lstat /usr/lib/libstunnel.so: Permission denied
root@slackbox:/home/nick#

i tried to find the permissions on this file but to no avail.

root@craphole:/usr/lib# ls -l libstunnel.so
ls: libstunnel.so: Permission denied
root@craphole:/usr/lib#

so right now i don't know what to do. i looked around to see what ldconfig did, and it seems to be very very important. maybe the problem is just with libstunnel.so. i searched around and it seems to be part of stunnel which is a socket wrapper which can give ordinary apps ssl support. stunnel doesnt appear to be installed on my system, so i guess i just have the libs for it or something.

edit. ok, so cedega isnt installed, but after untarring it into "/" i can run it to play SkiFree.exe?
edit2: i did the command "ls -alc /var/log/packages | less" and it shows cedega_4.0.1-1.i386

Last edited by Addict3dtoX; 09-16-2004 at 04:09 PM.
 
Old 09-16-2004, 04:12 PM   #10
Addict3dtoX
LQ Newbie
 
Registered: Sep 2004
Location: MI
Distribution: Slackware 10
Posts: 11

Original Poster
Rep: Reputation: 0
Chinaman, i thank you heartily for all of your help so far. i just though i should tell you that.
 
Old 09-16-2004, 04:24 PM   #11
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Why do you have one machine name as slackbox and one as craphole?
Did you change it because you are frustrated, or are these 2 machines?

mingdao@paul:~$ ls -alc /usr/lib/ | less
<snip, snip>
-rwxr-xr-x 1 root root 760 2004-09-02 03:08 libstunnel.la*
-rwxr-xr-x 1 root root 3780 2004-09-02 03:08 libstunnel.so*

mingdao@paul:~$ cd /usr/lib
mingdao@paul:/usr/lib$ ls -l libstunnel.so
-rwxr-xr-x 1 root root 3780 2004-03-30 13:00 libstunnel.so*

mingdao@paul:/usr/lib$ su
Password:
root@paul:/usr/lib# ls -l libstunnel.so
-rwxr-xr-x 1 root root 3780 2004-03-30 13:00 libstunnel.so

So on this system I can see the file as normal user or root.

The stunnel package is installed on the Slack system by default,
unless you leave out those particular packages. It's located on
the first Slack CD in the network pacakges, which is in the
/slackware/n/ directory. Try reinstalling the stunnel package. If
it's located in /var/log/packages on your system, su to root and
go there and issue "installpkg stunnel-4.05-i486-1.tgz" and if it's
not there, mount your Slack-10.0 CD1 and use installpkg to install
it from there.

You got something wrong there, but it's totally beyond my level of
Slack expertice. Read in my sig what Tinkster said...
 
Old 09-16-2004, 04:40 PM   #12
Addict3dtoX
LQ Newbie
 
Registered: Sep 2004
Location: MI
Distribution: Slackware 10
Posts: 11

Original Poster
Rep: Reputation: 0
its one machine, and craphole is it's name now and forever more. (if my linux box which is my only computer now is named craphole, imagine what my windows one would be named. there just arent enough swear words for it...)

the stunnel package is on my system, im gonna try to reinstall it now

edit- ive reinstalled the stunnel package from my slackware 10 cd using pkgtool. now i can run stunnel, but libstunnel.so is still funky. im done working on this problem today, ill be back tomorrow.

Last edited by Addict3dtoX; 09-16-2004 at 06:15 PM.
 
Old 09-22-2004, 01:54 PM   #13
Addict3dtoX
LQ Newbie
 
Registered: Sep 2004
Location: MI
Distribution: Slackware 10
Posts: 11

Original Poster
Rep: Reputation: 0
well, long story short, i figured out that the reason that file was messed up was because my hard drive was going down. the hard drive is now completely dead . basically, this is why libstunnel.so was messing up, and why kde was giving me some short freezes
 
Old 09-22-2004, 04:31 PM   #14
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Sorry to hear that. Hope you had any important data
backed up.
 
  


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
installpkg not working aje Slackware 8 11-07-2004 04:03 PM
installpkg not working with -tagfile 1!T!e!mp!1 Slackware 2 07-14-2004 11:30 PM
PHP not working correctly AMMullan Programming 4 07-07-2004 02:32 PM
Nvidia Working Correctly SML Linux - Newbie 9 03-12-2004 10:47 PM
Slackware 8.1: "installpkg" command not working? tigerflag Slackware 5 10-12-2002 02:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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