LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware 14 - Problems Starting X (https://www.linuxquestions.org/questions/slackware-14/slackware-14-problems-starting-x-4175445172/)

tifcg 01-11-2013 12:47 PM

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,

tuxbg 01-11-2013 12:53 PM

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

slackpkg install libgcrypt

tifcg 01-11-2013 01:31 PM

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!

ruario 01-11-2013 01:32 PM

Quote:

Originally Posted by tuxbg (Post 4867934)
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?

tifcg 01-11-2013 01:32 PM

slackpgk: command not found

I think I have bigger problems... :-)

ruario 01-11-2013 01:33 PM

Quote:

Originally Posted by tifcg (Post 4867956)
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.

TobiSGD 01-11-2013 01:36 PM

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.

tifcg 01-11-2013 01:39 PM

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.

wigry 01-11-2013 01:42 PM

Quote:

Originally Posted by tifcg (Post 4867958)
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

ruario 01-11-2013 01:48 PM

Quote:

Originally Posted by tifcg (Post 4867968)
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.

NeoMetal 01-11-2013 01:49 PM

Quote:

Originally Posted by tifcg (Post 4867956)
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

tifcg 01-11-2013 02:18 PM

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.

tifcg 01-11-2013 02:24 PM

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 (Post 4867972)
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.


ruario 01-11-2013 02:36 PM

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.

ruario 01-11-2013 02:43 PM

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

Code:

which slackpkg
which ping



All times are GMT -5. The time now is 02:22 AM.