LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-14-2005, 08:18 AM   #1
DraaX
Member
 
Registered: Jul 2003
Location: B.C. Canada
Distribution: Mint 20.1
Posts: 101

Rep: Reputation: 16
Starting X :cannot open shared object file


Good day fellow slackers!

I just recently got Slack 10.1 and finally got enough guts to trash my old Slack 10 and install 10.1. Installation went fine and I can boot into slack 10.1.

The prblem comes when I try to open X. After choosing which WM I want to use and typing startx I get this little error:

_____

Warning : font renderer for ".tft" already registered at priority 0
Warning : font renderer for ".TFT" already registered at priority 0
Warning : font renderer for ".ttc" already registered at priority 0
Warning : font renderer for ".TTC" already registered at priority 0
Warning : font renderer for ".otf" already registered at priority 0
Warning : font renderer for ".OTF" already registered at priority 0
Warning : font renderer for ".otc" already registered at priority 0
Warning : font renderer for ".OTC" already registered at priority 0
Warning : font renderer for ".pfa" already registered at priority 0
Warning : font renderer for ".PFA" already registered at priority 0
Warning : font renderer for ".pfb" already registered at priority 0
Warning : font renderer for ".PFB" already registered at priority 0
Warning : font renderer for ".BDF" already registered at priority -10
Warning : font renderer for ".PCF" already registered at priority -10
Could not find path element /usr/XR11R6/lib/X11/fonts/CID, removing form list
gnome-session : error while loading shared libraries: libpangoft2-1.0.so.0: cannot open shared object file: no such file or directory.

Waiting for X server to shut down
_____

Does anybody have any idea how to fix this?

Thank you in advance for you help.
 
Old 02-14-2005, 08:44 AM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
if i had got these kind of errors i would really like to consider a full install
sine some packges look mising to me

and sincce slackware is so powerfulll

what u can do in mount ur slack Cd
go to alphabetcal package directory
and then go in one directory and run

upgradepkg --install-new *.tgz

this way need to go to each directory

and it is fast will not take much time

also if u do not have space then install all packages from X and gnome directories

regards
 
Old 02-14-2005, 08:59 AM   #3
DraaX
Member
 
Registered: Jul 2003
Location: B.C. Canada
Distribution: Mint 20.1
Posts: 101

Original Poster
Rep: Reputation: 16
Thanks so much masand! I will try this as soon as I get home.

I did try searching the cd for a package with the name of libpangoft but could not find it. So I guess I will just try: upgradepkg --install-new *.tgz

and see what happens and then post my results.
 
Old 02-14-2005, 09:13 AM   #4
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
yes i too think that it is gnome lib so install all packages from gnome directory and from X and see if it works

regards
 
Old 02-14-2005, 10:22 AM   #5
DraaX
Member
 
Registered: Jul 2003
Location: B.C. Canada
Distribution: Mint 20.1
Posts: 101

Original Poster
Rep: Reputation: 16
Roger that, I will try and post the results later on today.

Oooooo I just remembered today is V Day, and we all know what that means. No hacking tonight. Have to spend some time with your woman...... not your slack box Unless hacking your linux box is your womans's idea of a romantic time!! Haha!!! Doubt it!

Thanks again

draAx
 
Old 02-14-2005, 10:31 AM   #6
DraaX
Member
 
Registered: Jul 2003
Location: B.C. Canada
Distribution: Mint 20.1
Posts: 101

Original Poster
Rep: Reputation: 16
Just an inquiry..........

Why would X have to access any gnome libraries if I am not running gnome?

I am trying to run fluxbox and have tried kde, gnome, blackbox, fluxbox and get the same error.
 
Old 02-14-2005, 10:45 AM   #7
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
i have a very vague idea about this but i think that some window managers use these gnome libraries so they are required

and regarding te V day , well i cannot take time out time of it for some other work and i have my studies going on so i do not want to loose my concentration

regards
 
Old 02-14-2005, 10:53 AM   #8
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
X is not trying to access the lib gnome-session is. This error means pango is not installed or pango was built without the freetype2 backend.
 
Old 02-14-2005, 12:34 PM   #9
DraaX
Member
 
Registered: Jul 2003
Location: B.C. Canada
Distribution: Mint 20.1
Posts: 101

Original Poster
Rep: Reputation: 16
So I probably just need to install/reinstall the pango pkg then? At least that is what I got out of that.
 
Old 02-14-2005, 12:45 PM   #10
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
and since u do not know about pango package ,which might be in any gnome package so install all gnome libs

regards
 
Old 02-14-2005, 12:51 PM   #11
DraaX
Member
 
Registered: Jul 2003
Location: B.C. Canada
Distribution: Mint 20.1
Posts: 101

Original Poster
Rep: Reputation: 16
Quote:
Originally posted by masand
and since u do not know about pango package ,which might be in any gnome package so install all gnome libs
I shall, and post my results! Thanks again for all your help.
 
Old 02-14-2005, 02:14 PM   #12
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
Quote:
Originally posted by masand
and since u do not know about pango package ,which might be in any gnome package so install all gnome libs

regards
it is just the pango package only, no need to install everything again unless you have problems. By some off ( it would be pretty unlikely) chance that the pango package does not have the freetype2 backend (actually it would be really unlikely since the rest of gnome was probably built off of this package and it had to have freetype2 support then, but you never know) here are the steps you need to take to make a pango package with what you need (make sure you have freetype-2.1.x installed):

1) get pango from ftp.gnome.org/pub/gnome/sources (get the same version as the package was).
2). unpack pango-1.x.x
3). do the following command in your console:
export PKG_CONFIG_PATH=/usr/X11R6/lib/pkgconfig:$PKG_CONFIG_PATH
(the above command makes sure pango finds the xft.pc file so it will build xft support into pango which is required for gnome).

4). cd pango-1.x.x
5). ./configure --prefix=/usr (at the end of configure, it will give a summary of what backends will be built. MAKE SURE that xft AND freetype2 are listed)
6). make
7). make install (or checkinstall would be better - you can get checkinstall from a slackware mirror under the /extra directory, it will make and install a slackware package for you (which will make it easier to remove/upgrade later on)).
 
Old 02-14-2005, 03:39 PM   #13
DraaX
Member
 
Registered: Jul 2003
Location: B.C. Canada
Distribution: Mint 20.1
Posts: 101

Original Poster
Rep: Reputation: 16
Quote:
Originally posted by __J
1) get pango from ftp.gnome.org/pub/gnome/sources (get the same version as the package was).
Without being able to log into X I am unsure of how I could download this package as I am not up to par with the cli yet? Can someone offer some info on how I can do this?
I think that I can handle the rest.....

draAx
 
Old 02-14-2005, 03:43 PM   #14
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
you can use links or lynx ( they will save it to whatever directory you are currently in, so make sure you have write access to it).

keep in mind, you only have to build from source in the unlikely event that the pango package is broken. I would use links to go to slackware.com/getslack, get on a mirror and redownload and reinstall the pango package and see if that helps first.

Also, try another environment to get into X. as root run:

xwmconfig

and choose something else like xfce or windowmaker so you can use mozilla or whatever.
 
Old 02-15-2005, 08:45 AM   #15
DraaX
Member
 
Registered: Jul 2003
Location: B.C. Canada
Distribution: Mint 20.1
Posts: 101

Original Poster
Rep: Reputation: 16
Well I tried using links an dI seem to not even have access to the net. I guess I need to set up my network. Lucky for me I have a dual boot with winblows.

I actually installed just the pango package and it installed fine. When I went to "startx" I then got an error about "libtk-X.XX...." not being there. Argh It sounds like I screwed up my slack install somewhere.

I used my Slack cd's and reinstalled all gnome packages and was reinstalling packages on cd 1 under the "l" directory and found that a bunch of packages are corrupted, or at least that is hat the error said when I was trying to install them. I used the command:

installpkg *.tgz

While being in the directory that the packages were in. It started out fine for the first 15 or so packages and the it started to say that the packages were corrupt and it could not install them correctly. Is this because of the command that I am using or is it because the files are in fact corrupt! Regardless I started downloading the 2nd cd again and have burned it but am now at work and can not try installing it. I will try to install that directory and if that does not solve my problem then I will reinstall slack.

Any suggestions?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
error while loading shared libraries: libstdc++.so.5: cannot open shared object file: Franziss Linux - Newbie 10 06-28-2010 05:47 AM
libpangoxft-1.0.so.0: cannot open shared object file logicalfuzz Linux - Software 6 10-07-2005 04:15 AM
cannot open shared object file barells Linux - Software 2 07-16-2005 07:53 AM
libperl.so: cannot open shared object file degraffenried13 Linux - General 1 12-11-2004 12:17 PM
error while loading shared libraries: libdb-4.1.so: cannot open shared object file putquery8581 Linux - Software 1 10-01-2004 07:03 AM

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

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