Hello I am trying to install the R RPM for Suse 10.0 on an x86_64 PC. However I am failing a dependency for "libpng12.so.0" straight away PC5-140:/home/rmgzshd # rpm -i R-base-2.5.0-2.1.x86_64.rpm error: Failed dependencies: libpng12.so.0(PNG12_0)(64bit) is needed by R-base-2.5.0-2.1.x86_64 I do seem to have this file PC5-140:/home/rmgzshd # whereis libpng12.so.0 libpng12.so: /usr/lib/libpng12.so.0 /usr/local/lib/libpng12.so but presuming that it is not the 64bit version mentioned I went looking for a 64 bit version but could not find it through google. However reading the Installation manual I noted that libpng is mention in the context of a source build. I therefore downloaded "libpng-1.2.18" (v-1.2.8 or later is specified in the manual) and succesfully compiled this. This did not however help with my problem. Any suggestions? Thanks Stephen Henderson ********************************************************************** This email and any files transmitted with it are confidentia...{{dropped}}
Stephen Henderson wrote:> Hello > > I am trying to install the R RPM for Suse 10.0 on an x86_64 PC. However > I am failing a dependency for "libpng12.so.0" straight away > > > > PC5-140:/home/rmgzshd # rpm -i R-base-2.5.0-2.1.x86_64.rpm > error: Failed dependencies: > libpng12.so.0(PNG12_0)(64bit) is needed by R-base-2.5.0-2.1.x86_64 > > I do seem to have this file > > PC5-140:/home/rmgzshd # whereis libpng12.so.0 > libpng12.so: /usr/lib/libpng12.so.0 /usr/local/lib/libpng12.so > > but presuming that it is not the 64bit version mentioned I went looking > for a 64 bit version but could not find it through google. > > However reading the Installation manual I noted that libpng is mention > in the context of a source build. I therefore downloaded "libpng-1.2.18" > (v-1.2.8 or later is specified in the manual) and succesfully compiled > this. This did not however help with my problem. > > Any suggestions? > >I have viggo:~/>rpm -qf /usr/lib/libpng12.so.0 libpng-32bit-1.2.12-25 viggo:~/>rpm -qf /usr/lib64/libpng12.so.0 libpng-1.2.12-25 viggo:~/>rpm -q R-base R-base-2.5.0-2.1> Thanks > Stephen Henderson > > > ********************************************************************** > This email and any files transmitted with it are confidentia...{{dropped}} > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >
On Thu, 21 Jun 2007 18:01:06 +0100 "Stephen Henderson" <s.henderson at ucl.ac.uk> wrote:> Hello > > I am trying to install the R RPM for Suse 10.0 on an x86_64 PC. However > I am failing a dependency for "libpng12.so.0" straight awayHi Stephen, if you add http://software.opensuse.org/download/home:/dsteuer/SUSE_Linux_10.0/ as installation source, dependencies should get resolved automatically. Hth Detlef> > > > PC5-140:/home/rmgzshd # rpm -i R-base-2.5.0-2.1.x86_64.rpm > error: Failed dependencies: > libpng12.so.0(PNG12_0)(64bit) is needed by R-base-2.5.0-2.1.x86_64 > > I do seem to have this file > > PC5-140:/home/rmgzshd # whereis libpng12.so.0 > libpng12.so: /usr/lib/libpng12.so.0 /usr/local/lib/libpng12.so > > but presuming that it is not the 64bit version mentioned I went looking > for a 64 bit version but could not find it through google. > > However reading the Installation manual I noted that libpng is mention > in the context of a source build. I therefore downloaded "libpng-1.2.18" > (v-1.2.8 or later is specified in the manual) and succesfully compiled > this. This did not however help with my problem. > > Any suggestions? > > Thanks > Stephen Henderson > > > ********************************************************************** > This email and any files transmitted with it are confidentia...{{dropped}} > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.-- "Keinen Gedanken zweimal denken, au?er er ist sch?n." Unbekannte Quelle
Thanks for your help As you suggested I do indeed have a 64bit version called exactly the same PC5-140:/home/rmgzshd # rpm -qf /usr/lib/libpng12.so.0 libpng-32bit-1.2.8-19.5 PC5-140:/home/rmgzshd # rpm -qf /usr/lib64/libpng12.so.0 libpng-1.2.8-19.5 SO how do I tell rpm to find this and not the 32bit file? Or do I need to edit something in the rpm file? Thanks -----Original Message----- From: Peter Dalgaard [mailto:p.dalgaard@biostat.ku.dk] Sent: Thu 6/21/2007 6:34 PM To: Stephen Henderson Cc: r-help@stat.math.ethz.ch Subject: Re: [R] FW: Suse RPM installation problem Stephen Henderson wrote:> Hello > > I am trying to install the R RPM for Suse 10.0 on an x86_64 PC. However > I am failing a dependency for "libpng12.so.0" straight away > > > > PC5-140:/home/rmgzshd # rpm -i R-base-2.5.0-2.1.x86_64.rpm > error: Failed dependencies: > libpng12.so.0(PNG12_0)(64bit) is needed by R-base-2.5.0-2.1.x86_64 > > I do seem to have this file > > PC5-140:/home/rmgzshd # whereis libpng12.so.0 > libpng12.so: /usr/lib/libpng12.so.0 /usr/local/lib/libpng12.so > > but presuming that it is not the 64bit version mentioned I went looking > for a 64 bit version but could not find it through google. > > However reading the Installation manual I noted that libpng is mention > in the context of a source build. I therefore downloaded "libpng-1.2.18" > (v-1.2.8 or later is specified in the manual) and succesfully compiled > this. This did not however help with my problem. > > Any suggestions? > >I have viggo:~/>rpm -qf /usr/lib/libpng12.so.0 libpng-32bit-1.2.12-25 viggo:~/>rpm -qf /usr/lib64/libpng12.so.0 libpng-1.2.12-25 viggo:~/>rpm -q R-base R-base-2.5.0-2.1> Thanks > Stephen Henderson > > > ********************************************************************** > This email and any files transmitted with it are confidentia...{{dropped}} > > ______________________________________________ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >********************************************************************** This email and any files transmitted with it are confidentia...{{dropped}}
Yes I definitely have it. PC5-140:/home/rmgzshd/MAT-2 # whereis libpng12.so.0 libpng12.so: /usr/lib/libpng12.so.0 /usr/local/lib/libpng12.so /usr/local/lib/libpng12.so.0 PC5-140:/home/rmgzshd/MAT-2 # rpm -qf /usr/lib64/libpng12.so.0 libpng-1.2.8-19.5 I don't understand either why 'whereis' does not identify this-- or why it lists the file 3 times?. I'm also puzzled why they chose to call the file exactly the same thing. I will next try rpm --force as you suggest. Stephen -----Original Message----- From: Peter Dalgaard [mailto:P.Dalgaard@biostat.ku.dk] Sent: Fri 6/22/2007 10:10 AM To: Stephen Henderson Cc: r-help@stat.math.ethz.ch Subject: Re: [R] FW: Suse RPM installation problem Stephen Henderson wrote:> Thanks for your help > > As you suggested I do indeed have a 64bit version called exactly the same > > PC5-140:/home/rmgzshd # rpm -qf /usr/lib/libpng12.so.0 > libpng-32bit-1.2.8-19.5 > PC5-140:/home/rmgzshd # rpm -qf /usr/lib64/libpng12.so.0 > libpng-1.2.8-19.5 > > SO how do I tell rpm to find this and not the 32bit file? Or do I need to edit something in the rpm file? > > Thanks > >Odd... Do you actually _have_ /usr/lib64/libpng12.so.0 (whereis didn't seem to find it) --- as opposed to "rpm -qf" telling you which package contains the file? If not, try (re)installing libpng, possibly with --force.> > > -----Original Message----- > From: Peter Dalgaard [mailto:p.dalgaard@biostat.ku.dk] > Sent: Thu 6/21/2007 6:34 PM > To: Stephen Henderson > Cc: r-help@stat.math.ethz.ch > Subject: Re: [R] FW: Suse RPM installation problem > > Stephen Henderson wrote: > >> Hello >> >> I am trying to install the R RPM for Suse 10.0 on an x86_64 PC. However >> I am failing a dependency for "libpng12.so.0" straight away >> >> >> >> PC5-140:/home/rmgzshd # rpm -i R-base-2.5.0-2.1.x86_64.rpm >> error: Failed dependencies: >> libpng12.so.0(PNG12_0)(64bit) is needed by R-base-2.5.0-2.1.x86_64 >> >> I do seem to have this file >> >> PC5-140:/home/rmgzshd # whereis libpng12.so.0 >> libpng12.so: /usr/lib/libpng12.so.0 /usr/local/lib/libpng12.so >> >> but presuming that it is not the 64bit version mentioned I went looking >> for a 64 bit version but could not find it through google. >> >> However reading the Installation manual I noted that libpng is mention >> in the context of a source build. I therefore downloaded "libpng-1.2.18" >> (v-1.2.8 or later is specified in the manual) and succesfully compiled >> this. This did not however help with my problem. >> >> Any suggestions? >> >> >> > I have > > viggo:~/>rpm -qf /usr/lib/libpng12.so.0 > libpng-32bit-1.2.12-25 > viggo:~/>rpm -qf /usr/lib64/libpng12.so.0 > libpng-1.2.12-25 > viggo:~/>rpm -q R-base > R-base-2.5.0-2.1 > > > >> Thanks >> Stephen Henderson >> >> >> ********************************************************************** >> This email and any files transmitted with it are confidentia...{{dropped}} >> >> ______________________________________________ >> R-help@stat.math.ethz.ch mailing list >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. >> >> > > > > ********************************************************************** > This email and any files transmitted with it are confidentia...{{dropped}} > > ______________________________________________ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >-- O__ ---- Peter Dalgaard Ă˜ster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907 ********************************************************************** This email and any files transmitted with it are confidentia...{{dropped}}