LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Starting X :cannot open shared object file (https://www.linuxquestions.org/questions/slackware-14/starting-x-cannot-open-shared-object-file-290038/)

DraaX 02-14-2005 08:18 AM

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.

masand 02-14-2005 08:44 AM

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

DraaX 02-14-2005 08:59 AM

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.

masand 02-14-2005 09:13 AM

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

DraaX 02-14-2005 10:22 AM

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 :cry: Unless hacking your linux box is your womans's idea of a romantic time!! Haha!!! Doubt it!

Thanks again

draAx

DraaX 02-14-2005 10:31 AM

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.

masand 02-14-2005 10:45 AM

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

__J 02-14-2005 10:53 AM

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.

DraaX 02-14-2005 12:34 PM

So I probably just need to install/reinstall the pango pkg then? At least that is what I got out of that.

masand 02-14-2005 12:45 PM

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

regards

DraaX 02-14-2005 12:51 PM

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.

__J 02-14-2005 02:14 PM

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 :D - 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)).

DraaX 02-14-2005 03:39 PM

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

__J 02-14-2005 03:43 PM

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.

DraaX 02-15-2005 08:45 AM

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. :confused:

Any suggestions?


All times are GMT -5. The time now is 07:50 PM.