Обсуждение: dependency errors instaling postgis2
Hi,
I'm using pgdg-redhat92-9.2-7 (the repo for 64 bits redhat6).
I can install postgres92 succesfuly, and resolve some dependency
issues while installing postgis2_92 with the epel repo (installing
hdf5-devel and json-c-devel).
But can't resolve the last dependency errors:
"""
Error: Package: gdal-libs-1.9.2-5.rhel6.x86_64 (pgdg92)
Requires: libz.so.1(ZLIB_1.2.0)(64bit)
Error: Package: gdal-libs-1.9.2-5.rhel6.x86_64 (pgdg92)
Requires: libjpeg.so.62(LIBJPEG_6.2)(64bit)
"""
Now, these errors are strange because it's asking for zlib and libjpeg
and both are installed, as you can see in the attached
any suggestion?
--
Jaime Casanova www.2ndQuadrant.com
Professional PostgreSQL: Soporte 24x7 y capacitación
Phone: +593 4 5107566 Cell: +593 987171157
Вложения
Hi Jaime, On Mon, 2015-01-19 at 16:52 -0500, Jaime Casanova wrote: > I'm using pgdg-redhat92-9.2-7 (the repo for 64 bits redhat6). > > I can install postgres92 succesfuly, and resolve some dependency > issues while installing postgis2_92 with the epel repo (installing > hdf5-devel and json-c-devel). > > But can't resolve the last dependency errors: > """ > Error: Package: gdal-libs-1.9.2-5.rhel6.x86_64 (pgdg92) > Requires: libz.so.1(ZLIB_1.2.0)(64bit) > Error: Package: gdal-libs-1.9.2-5.rhel6.x86_64 (pgdg92) > Requires: libjpeg.so.62(LIBJPEG_6.2)(64bit) > """ > > Now, these errors are strange because it's asking for zlib and libjpeg > and both are installed, as you can see in the attached I hate to say this, but could not duplicate this issue after setting up a clean -CentOS- 6.6 VM. Here are the steps I did: * Install 6.6 * Install PGDG 9.2 and EPEL repo RPMs * yum install postgis2_92 * yum install hdf5-devel json-c-devel Might be something with RHEL. I have the iso, but do not have the subscription, so I cannot tell what is going on :( Regards, -- Devrim GÜNDÜZ Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR
Вложения
On Tue, Jan 20, 2015 at 7:07 AM, Devrim Gündüz <devrim@gunduz.org> wrote:
>
> Hi Jaime,
>
> On Mon, 2015-01-19 at 16:52 -0500, Jaime Casanova wrote:
>
>> I'm using pgdg-redhat92-9.2-7 (the repo for 64 bits redhat6).
>>
>> I can install postgres92 succesfuly, and resolve some dependency
>> issues while installing postgis2_92 with the epel repo (installing
>> hdf5-devel and json-c-devel).
>>
>> But can't resolve the last dependency errors:
>> """
>> Error: Package: gdal-libs-1.9.2-5.rhel6.x86_64 (pgdg92)
>> Requires: libz.so.1(ZLIB_1.2.0)(64bit)
>> Error: Package: gdal-libs-1.9.2-5.rhel6.x86_64 (pgdg92)
>> Requires: libjpeg.so.62(LIBJPEG_6.2)(64bit)
>> """
>>
>> Now, these errors are strange because it's asking for zlib and libjpeg
>> and both are installed, as you can see in the attached
>
> I hate to say this, but could not duplicate this issue after setting up
> a clean -CentOS- 6.6 VM. Here are the steps I did:
>
Hi,
Thanks for lookin at this. I have access to a pre-production RHEL 6
with a subscription enabled, let me know if there is something i could
look at to help you understand this.
for now i was looking at the git repo in
"rpm/redhat/9.2/gdal/EL-6/gdal.spec" which is the problematic package,
and found this in it:
"""
# Unpack tests to the same directory
%setup -q -D -a 1 -n %{name}-%{version}-fedora
# Delete bundled libraries
rm -rf frmts/zlib
rm -rf frmts/png/libpng
rm -rf frmts/gif/giflib
rm -rf frmts/jpeg/libjpeg \
frmts/jpeg/libjpeg12
rm -rf frmts/gtiff/libgeotiff \
frmts/gtiff/libtiff
#rm -r frmts/grib/degrib18/g2clib-1.0.4
"""
not sure if that has anything to do but at least it mention the
packages it can't found
--
Jaime Casanova www.2ndQuadrant.com
Professional PostgreSQL: Soporte 24x7 y capacitación
Phone: +593 4 5107566 Cell: +593 987171157
Hi,
On Tue, 2015-01-20 at 08:10 -0500, Jaime Casanova wrote:
> Thanks for lookin at this. I have access to a pre-production RHEL 6
> with a subscription enabled, let me know if there is something i could
> look at to help you understand this.
Can you confirm the versions of libjpeg and libz?
One thing that came to my mind: Is the installed libjpeg and libz are 64
bit?
> for now i was looking at the git repo in
> "rpm/redhat/9.2/gdal/EL-6/gdal.spec" which is the problematic package,
> and found this in it:
> """
> # Unpack tests to the same directory
> %setup -q -D -a 1 -n %{name}-%{version}-fedora
>
> # Delete bundled libraries
> rm -rf frmts/zlib
> rm -rf frmts/png/libpng
> rm -rf frmts/gif/giflib
> rm -rf frmts/jpeg/libjpeg \
> frmts/jpeg/libjpeg12
> rm -rf frmts/gtiff/libgeotiff \
> frmts/gtiff/libtiff
> #rm -r frmts/grib/degrib18/g2clib-1.0.4
> """
I don't think that would cause this issue.
Regards,
--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR
Вложения
On Tue, Jan 20, 2015 at 12:52 PM, Devrim Gündüz <devrim@gunduz.org> wrote: > > Hi, > > On Tue, 2015-01-20 at 08:10 -0500, Jaime Casanova wrote: > >> Thanks for lookin at this. I have access to a pre-production RHEL 6 >> with a subscription enabled, let me know if there is something i could >> look at to help you understand this. > > Can you confirm the versions of libjpeg and libz? > libz.so.1 is in /lib and /lib64 """ [root@uiogmig01 ~]# ls -lh /lib/libz.so.1 lrwxrwxrwx. 1 root root 13 Nov 26 15:59 /lib/libz.so.1 -> libz.so.1.2.3 [root@uiogmig01 ~]# ls -lh /lib64/libz.so.1 lrwxrwxrwx. 1 root root 13 Nov 27 16:15 /lib64/libz.so.1 -> libz.so.1.2.3 """ the output for "yum provides" """ [root@uiogmig01 ~]# yum provides libz.so.1 Loaded plugins: refresh-packagekit, security zlib-1.2.3-27.el6.i686 : The zlib compression and decompression library Repo : rhel-rh63x64 Matched from: Other : libz.so.1 zlib-1.2.3-27.el6.i686 : The zlib compression and decompression library Repo : installed Matched from: Other : Provides-match: libz.so.1 """ info about the zlib package installed """ [root@uiogmig01 ~]# yum info zlib Loaded plugins: refresh-packagekit, security Installed Packages Name : zlib Arch : i686 Version : 1.2.3 Release : 27.el6 Size : 136 k Repo : installed From repo : rhel-rh63x64 Summary : The zlib compression and decompression library URL : http://www.gzip.org/zlib/ License : zlib and Boost Description : Zlib is a general-purpose, patent-free, lossless data compression : library which is used by many different programs. Name : zlib Arch : x86_64 Version : 1.2.3 Release : 27.el6 Size : 149 k Repo : installed From repo : rhel-rh63x64 Summary : The zlib compression and decompression library URL : http://www.gzip.org/zlib/ License : zlib and Boost Description : Zlib is a general-purpose, patent-free, lossless data compression : library which is used by many different programs. """ while libjpeg is in """ [root@uiogmig01 ~]# find / -name libjpeg.so.62 /usr/lib/libjpeg.so.62 /usr/lib64/libjpeg.so.62 """ yum provides """ [root@uiogmig01 ~]# yum provides libjpeg.so.62 Loaded plugins: refresh-packagekit, security libjpeg-6b-46.el6.i686 : A library for manipulating JPEG image format files Repo : rhel-rh63x64 Matched from: Other : libjpeg.so.62 libjpeg-6b-46.el6.i686 : A library for manipulating JPEG image format files Repo : installed Matched from: Other : Provides-match: libjpeg.so.62 """ and the info of the package """ [root@uiogmig01 ~]# yum info libjpeg Loaded plugins: refresh-packagekit, security Installed Packages Name : libjpeg Arch : i686 Version : 6b Release : 46.el6 Size : 280 k Repo : installed From repo : rhel-rh63x64 Summary : A library for manipulating JPEG image format files URL : http://www.ijg.org/ License : IJG Description : The libjpeg package contains a library of functions for manipulating : JPEG images, as well as simple client programs for accessing the : libjpeg functions. Libjpeg client programs include cjpeg, djpeg, : jpegtran, rdjpgcom and wrjpgcom. Cjpeg compresses an image file into : JPEG format. Djpeg decompresses a JPEG file into a regular image : file. Jpegtran can perform various useful transformations on JPEG : files. Rdjpgcom displays any text comments included in a JPEG file. : Wrjpgcom inserts text comments into a JPEG file. Name : libjpeg Arch : x86_64 Version : 6b Release : 46.el6 Size : 293 k Repo : installed
On Tue, Jan 20, 2015 at 1:12 PM, Jaime Casanova <jaime@2ndquadrant.com> wrote: > On Tue, Jan 20, 2015 at 12:52 PM, Devrim Gündüz <devrim@gunduz.org> wrote: >> >> Hi, >> >> On Tue, 2015-01-20 at 08:10 -0500, Jaime Casanova wrote: >> >>> Thanks for lookin at this. I have access to a pre-production RHEL 6 >>> with a subscription enabled, let me know if there is something i could >>> look at to help you understand this. >> >> Can you confirm the versions of libjpeg and libz? >> > [...] > [root@uiogmig01 ~]# yum info zlib > Loaded plugins: refresh-packagekit, security > Installed Packages > Name : zlib > Arch : i686 > Version : 1.2.3 > Release : 27.el6 > [...] > [root@uiogmig01 ~]# yum info libjpeg > Loaded plugins: refresh-packagekit, security > Installed Packages > Name : libjpeg > Arch : i686 > Version : 6b > Release : 46.el6 Any additional ideas? -- Jaime Casanova www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación