Dependency problems

The place to post if you need help or advice

Moderators: ChrisThornett, LXF moderators

Dependency problems

Postby prob1 » Thu May 12, 2005 10:18 am

Hi All

I am using Redhat 9 for a web server and have built it from scratch without X installed. I am now want ing to use xpdf within the website and therefore have a few dependency issues. I need to istall the following

XFree86-libs-4.3.0-2

XFree86-Mesa-libGL-4.3.0-2

My problem is:

libGL.so.1 is needed by XFree86-libs-4.3.0-2

libX11.so.6 is needed by XFree86-Mesa-libGL-4.3.0-2
libXext.so.6 is needed by XFree86-Mesa-libGL-4.3.0-2

As far as I can ascertain libGL.so.1 is within XFree86-Mesa-libGL-4.3.0-2

and libX11.so.6 and libXext.so.6 is within XFree86-libs-4.3.0-2

How on earth do I solve this issue???

Many Thanks in advance
prob1
 
Posts: 2
Joined: Thu May 12, 2005 10:11 am

RE: Dependency problems

Postby jjmac » Thu May 12, 2005 10:53 am

Howdy prob1,

I don't do RH, but, just to get the ball rolling ...

If you havent got X installed, then it looks like you will have to as it runs in X.

If you don't want all of X you could try cutting it back. Depends on how your packages are arranged really.

Look for something with "common" in its' name, there to provide a kind of 'meta' function for resolving dependencies issues. And are pretty common to all the distros.

Again, not doing RH or a rpm system i can't give any real details, but people tend to go for an 'apt' like tool called urpmi. Probably spelt that horrendously wrong, but google is usually a good speller :) ...
Even a search on your RH site with that should turn up something. It basically does a network fetch and resolves dependendencies in process (i think), very similar to apt.

xpdf in my system is a script which invokes a program called xpdf.bin, and has __lots__ of X based depends.

---------------------------------------------------------------------------------------------------------
[jmd:20:34]$ ldd /usr/bin/xpdf.bin
libt1.so.5 => /usr/lib/libt1.so.5 (0xa7f8e000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xa7f24000)
libz.so.1 => /usr/lib/libz.so.1 (0xa7f12000)
libXm.so.2 => /usr/X11R6/LessTif/Motif2.0/lib/libXm.so.2 (0xa7db3000)
libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0xa7d66000)
libXp.so.6 => /usr/X11R6/lib/libXp.so.6 (0xa7d5e000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0xa7d4f000)
libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0xa7d40000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0xa7d38000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0xa7d22000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xa7c5e000)
libpaper.so.1 => /usr/lib/libpaper.so.1 (0xa7c5b000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xa7bad000)
libm.so.6 => /lib/libm.so.6 (0xa7b8c000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xa7b83000)
libc.so.6 => /lib/libc.so.6 (0xa7a68000)
libdl.so.2 => /lib/libdl.so.2 (0xa7a65000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0xa7fee000)
----------------------------------------------------------------------------------------------------------------

>>
As far as I can ascertain libGL.so.1 is within XFree86-Mesa-libGL-4.3.0-2

and libX11.so.6 and libXext.so.6 is within XFree86-libs-4.3.0-2

How on earth do I solve this issue???
>>


libGL.so.1 is in 'xlibmesa-gl' on my system ... probably pretty much the same package as you mention there.

How to solve ... look for the urpm or urpmi program (or what ever it is really called), and do a site search on the base X rpms. They should be there and should be designed to automate the dependency issue. The nameing schemes will differ to what i would be familar with though.

jm

Code: Select all
 -:-  If the system is the answer, then the question
             must have been really stupid    -:-
jjmac
LXF regular
 
Posts: 1996
Joined: Fri Apr 08, 2005 1:32 am
Location: Sydney, Australia

RE: Dependency problems

Postby fingers99 » Thu May 12, 2005 5:37 pm

I don't think there is an urmpi (or whatever) for RedHat -- AFAIK it's Mandriva specific. But there is an apt.
fingers99
LXF regular
 
Posts: 143
Joined: Thu Apr 07, 2005 6:15 pm

RE: Dependency problems

Postby Rhakios » Thu May 12, 2005 6:35 pm

I don't exactly understand your problem, if you know which packages contain the libraries you need (which you seem to), you just dump them all in one place and do

rpm -Uvh *.rpm

the rpm program will know if the packages you are installing in one fell swoop satisfy inter-related dependencies.
Bye, Rhakios
User avatar
Rhakios
Moderator
 
Posts: 7634
Joined: Wed Apr 06, 2005 11:18 pm
Location: Midlands, UK

RE: Dependency problems

Postby prob1 » Fri May 13, 2005 3:28 pm

Hi Rhakios

That was the solution to the problem thanks. Just getting into installing linux from scratch and needed some X components for a few bits.

Many thanks for all assistance
prob1
 
Posts: 2
Joined: Thu May 12, 2005 10:11 am


Return to Help!

Who is online

Users browsing this forum: Exabot [Bot] and 2 guests