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 01-11-2013, 12:47 PM   #1
tifcg
LQ Newbie
 
Registered: Jan 2013
Posts: 18

Rep: Reputation: Disabled
Slackware 14 - Problems Starting X


I think I posted this in the wrong forum the first time... Here goes again.

I downloaded Slackware 14 64-bit to a DVD and installed it yesterday. After the installation was completed and the computer rebooted I attempted to startx at the root prompt and received the following error:

error while loading shared libraries libgcrypt.so.11: cannot open shared object file: No such file or directory

I attempted to run xorgsetup an at the x server screen I chose "yes" to probe hardware and received the same error:

error while loading shared libraries libgcrypt.so.11: cannot open shared object file: No such file or directory

I then attempted to run xorgconfig and received: command not found

I thought maybe there was an error during installation so I re-installed the OS twice again and had the exact same experience. I searched google but was not able to find anything meaningful.

If I left out any vital information please let me know what is needed.

Thanks in advance,
 
Old 01-11-2013, 12:53 PM   #2
tuxbg
Member
 
Registered: Sep 2012
Location: Bulgaria,Varna
Distribution: Slackware64
Posts: 249

Rep: Reputation: Disabled
First edit /etc/slackpkg/mirrors and remove that # from one mirror
the run that command

slackpkg install libgcrypt
 
Old 01-11-2013, 01:31 PM   #3
tifcg
LQ Newbie
 
Registered: Jan 2013
Posts: 18

Original Poster
Rep: Reputation: Disabled
I'll be up front... you are dealing with a newbie.

I'm not sure if this is normal or not but I can't even use ping or ifconfig. I get the error: command not found

I was just trying to verify network connection before looking or the package. I'll try the DVD.

Thanks for all your help!
 
Old 01-11-2013, 01:32 PM   #4
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762
Quote:
Originally Posted by tuxbg View Post
First edit /etc/slackpkg/mirrors and remove that # from one mirror
the run that command

slackpkg install libgcrypt
You missed a couple of steps. If this is his first time using slackpkg, he will need to do the following first:

Code:
slackpkg update gpg
slackpkg update
Then after these, he can issue:

Code:
slackpkg install libgcrypt
To the OP. Any particular reason you did do a full install?
 
Old 01-11-2013, 01:32 PM   #5
tifcg
LQ Newbie
 
Registered: Jan 2013
Posts: 18

Original Poster
Rep: Reputation: Disabled
slackpgk: command not found

I think I have bigger problems... :-)
 
Old 01-11-2013, 01:33 PM   #6
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762
Quote:
Originally Posted by tifcg View Post
I'll be up front... you are dealing with a newbie.

I'm not sure if this is normal or not but I can't even use ping or ifconfig. I get the error: command not found
Did you do a full install? Because it kinda sounds like you didn't. If you are new to Slackware, you really should start with a full install.
 
Old 01-11-2013, 01:36 PM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
If you feel that you have posted a thread in the wrong forum please use the Report button and ask a moderator to move the thread instead of creating a new thread.
 
Old 01-11-2013, 01:39 PM   #8
tifcg
LQ Newbie
 
Registered: Jan 2013
Posts: 18

Original Poster
Rep: Reputation: Disabled
Thanks for the quick response Ruario. I did choose Full Install (recommended). When I began having problems I assumed that I didn't choose full so I completely re-installed from scratch and had the same problems. In fact I did that twice doubting myself.
 
Old 01-11-2013, 01:42 PM   #9
wigry
Member
 
Registered: Jul 2004
Distribution: slackware
Posts: 225

Rep: Reputation: 53
Quote:
Originally Posted by tifcg View Post
slackpgk: command not found

I think I have bigger problems... :-)
How about fixing a typo. It should be slackpkg.

Try to use more TAB key on the command line. It will autocomplete the commands for you so you will decrease the probability of such typos. Next time type slackp<TAB> and it will expand to slackpkg
 
Old 01-11-2013, 01:48 PM   #10
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762
Quote:
Originally Posted by tifcg View Post
Thanks for the quick response Ruario. I did choose Full Install (recommended). When I began having problems I assumed that I didn't choose full so I completely re-installed from scratch and had the same problems. In fact I did that twice doubting myself.
To ensure you have everything installed, mount your slackware DVD, switch to root, cd into the mount point and issue the following:

Code:
for dir in a ap d e f k kde l n t tcl x xap xfce y ; do upgradepkg --install-new slackware*/${dir}/*.t?z ; done
Note: I am presuming you have Slackware 14 and use bash as your shell.

Last edited by ruario; 01-11-2013 at 01:50 PM. Reason: missed out the word and initially
 
Old 01-11-2013, 01:49 PM   #11
NeoMetal
Member
 
Registered: Aug 2004
Location: MD
Distribution: Slackware
Posts: 114

Rep: Reputation: 24
Quote:
Originally Posted by tifcg View Post
I'll be up front... you are dealing with a newbie.

I'm not sure if this is normal or not but I can't even use ping or ifconfig. I get the error: command not found

I was just trying to verify network connection before looking or the package. I'll try the DVD.

Thanks for all your help!


What sort of partition schema did you setup to install onto?

Can you ls /bin /usr/bin etc to see if the binary for ping for example is actually there?

Also, are you logged in as root? ifconfig for example will return command not found if you aren't root I believe, ping should work as a normal user though
 
Old 01-11-2013, 02:18 PM   #12
tifcg
LQ Newbie
 
Registered: Jan 2013
Posts: 18

Original Poster
Rep: Reputation: Disabled
I am logged in as root. When looking at the /bin and /usr/bin I see a lot of stuff but no ping. As for "slackpkg" I made a typo in the forum but I double checked the command history and it was correct. Also also tried slackp then TAB there are no options. If I do a slack then TAB I see "slackdtxt" and "slacktrack".

I am running Slackware 14 and bash shell.

The partitions are Linux Swap 8000MB and the remainder are primary ext4 on a 250GB harddrive.
 
Old 01-11-2013, 02:24 PM   #13
tifcg
LQ Newbie
 
Registered: Jan 2013
Posts: 18

Original Poster
Rep: Reputation: Disabled
I issued the following command in the installation media directory and it went through a ton of packages but indicated that it was skipping because they were already installed.

Quote:
Originally Posted by ruario View Post
To ensure you have everything installed, mount your slackware DVD, switch to root, cd into the mount point and issue the following:

Code:
for dir in a ap d e f k kde l n t tcl x xap xfce y ; do upgradepkg --install-new slackware*/${dir}/*.t?z ; done
Note: I am presuming you have Slackware 14 and use bash as your shell.
 
Old 01-11-2013, 02:36 PM   #14
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762
Ok, try reinstalling just the packages that contain ping and slackpkg. Once again mount your Slackware DVD, switch to root, cd into the mount point and issue the following:

Code:
upgradepkg --install-new slackware*/n/iputils-*.txz slackware*/ap/slackpkg-*.txz
Any errors?

Could you also try the following (also as root):

Code:
echo $PATH
And report what it says.

Last edited by ruario; 01-11-2013 at 02:37 PM. Reason: forgot to mention root
 
Old 01-11-2013, 02:43 PM   #15
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762
oh and issue the following (as root) and print back the results:

Code:
which slackpkg
which ping
 
  


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
starting slackware 12.1 tejaswi kalawatia Linux - Newbie 4 02-19-2009 08:38 AM
Problems starting mysql in slackware 10 linuxtech Slackware - Installation 2 07-23-2004 11:05 AM
starting with slackware ... manu2004 Slackware 2 01-05-2004 06:58 PM
A hack??? Problems with Slackware 8.1 ... starting October 1 olivia Slackware 5 10-17-2002 08:47 AM

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

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