| View previous topic :: View next topic |
| Author |
Message |
prob1
Joined: Thu May 12, 2005 11:11 am Posts: 2
|
Posted: Thu May 12, 2005 11:18 am Post subject: Dependency problems |
|
|
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 |
|
| Back to top |
|
 |
jjmac LXF regular
Joined: Fri Apr 08, 2005 2:32 am Posts: 1996 Location: Sydney, Australia
|
Posted: Thu May 12, 2005 11:53 am Post subject: RE: Dependency problems |
|
|
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: |
-:- If the system is the answer, then the question
must have been really stupid -:-
|
|
|
| Back to top |
|
 |
fingers99 LXF regular
Joined: Thu Apr 07, 2005 7:15 pm Posts: 143
|
Posted: Thu May 12, 2005 6:37 pm Post subject: RE: Dependency problems |
|
|
| I don't think there is an urmpi (or whatever) for RedHat -- AFAIK it's Mandriva specific. But there is an apt. |
|
| Back to top |
|
 |
Rhakios Moderator

Joined: Thu Apr 07, 2005 12:18 am Posts: 7484 Location: Midlands, UK
|
Posted: Thu May 12, 2005 7:35 pm Post subject: RE: Dependency problems |
|
|
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 |
|
| Back to top |
|
 |
prob1
Joined: Thu May 12, 2005 11:11 am Posts: 2
|
Posted: Fri May 13, 2005 4:28 pm Post subject: RE: Dependency problems |
|
|
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 |
|
| Back to top |
|
 |
| View previous topic :: View next topic |
|