What I did was
rpm --nodeps plplot.rpm
and then did the ln by hand.
worked and x01c
made a png plot and opened an xwindow.
Both had four test plots that looket OK.
When I tried the -U option I got
rpm -U gd-1.8.4-4.i386.rpm
file /usr/lib/libgd.so.1.8.4 from install of gd-1.8.4-4 conflicts with
file from package libgd1-1.8.4-3mdk
Is there any way to see if the libgd.so.1.8.4
file is the same in both rpms? When I last
tried installing plplot on Linux Mandrake 7.2
I forced some rpm. I also never got it to work.
I kept getting linker errors.
I suppose there aren't different versions
of libgd.so.1.8.4 or there would be different
numbers, right? So it should be safe to force
the gd-1.8.4-4.i386.rpm package?
On Mon, 1 Oct 2001, Alan W. Irwin wrote:
> Those Mandrake 8.0 rpm's were made by a helpful user, and I don't have
> access to Mandrake myself. Nevertheless, I believe I know a workaround for
> you from my general rpm experience.
> The guy that built the Mandrake 8.0 rpm must have had libgd.so.1.8 on his
> system so I don't quite understand how you have ended up with the later
> version libgd.so.1.8.4 for your Mandrake 8.0. Perhaps you have an updated
> version of the gd package and he was using the original Mandrake 8.0
> You could attempt to fix this by installing his exact Mandrake package of
> gd. Was this what you were trying? If so, the proper way to do this is to
> use rpm -F or -U (freshen or update) rather than rpm -i (install). See the
> rpm man page. You may also have to use some additional parameter to allow
> updating or freshening an existing newer package with an older package.
> Again, see the rpm man page.
> If you just want to do something simpler, you could probably just force the
> installation of plplot despite the slightly different libgd library version.
> (look up "man rpm" to see how to force an install.) If you are lucky,
> libgd.so.1.8.4 will just be a bug-fixed and feature enhanced version of
> libgd.so.1.8 without any changes to the API that plplot uses. BTW, only the
> png and jpeg drivers use the libgd API so any version mismatch problems for
> that library will only show up if you use those particular drivers.
> BTW, my comments about forcing the PLplot rpm to install are all
> theoretical. Lots of people apparently do such forcing (to get around such
> problems as you have encountered), but I haven't done it myself.
> A final possibility is to build PLplot from either the source rpm or
> tarball. (In both cases your compiler build will automatically match to the
> exact library versions you have on your system.) Both possibilities are more
> tedious than binary rpm installs, but you also learn more, and the results
> never have library version mismatch troubles.
> email: irwin@...
> phone: 250-727-2902 FAX: 250-721-7715
> Dr. Alan W. Irwin
> Department of Physics and Astronomy,
> University of Victoria, P.O. Box 3055,
> Victoria, British Columbia, Canada, V8W 3P6
> On Mon, 1 Oct 2001, M. Frankford wrote:
> > I am trying to install plplot 5.0.3-4
> > on Linux Mandrake 8.0 and get the following
> > [root@]# rpm -i plplot-5.0.3-4.i386.rpm
> > error: failed dependencies:
> > libgd.so.1.8 is needed by plplot-5.0.3-4
> > I then tried
> > [root@]# rpm -i gd-1.8.1-4mdk.i586.rpm
> > file /usr/lib/libgd.so.1 from install of gd-1.8.1-4mdk conflicts with file
> > from package libgd1-1.8.4-3mdk
> > I checked
> > [root@]# ls /usr/lib/libgd.*
> > /usr/lib/libgd.so.1@ /usr/lib/libgd.so.1.8.4*
> > How do I resolve this(these) dependency problem(s)?
> > Thanks.
> > Martin
> > _______________________________________________
> > Plplot-general mailing list
> > Plplot-general@...
> > https://lists.sourceforge.net/lists/listinfo/plplot-general
> Plplot-general mailing list