how to update libtiff in centos7

Issues related to applications and software problems
Post Reply
kiritozzl
Posts: 5
Joined: 2018/09/22 02:30:44

how to update libtiff in centos7

Post by kiritozzl » 2018/09/22 02:41:51

i need to update the libtiff-4>=4.0.4,but i don't know how to do it.

i used

Code: Select all

yum install libtiff
but it's just provide the version 4.0.3 that i already installed.

i try to install it in local, after download tiff-4.0.9.tar.gz, i unzip and compile it as follow:

Code: Select all

 % ./configure
    % make
    % su
    # make install
but it's not install successfully, and the compile process seems nothing wrong.

i have google it but i can't find the solution,have anyone can give me some suggestions, any help is appreciate.

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: how to update libtiff in centos7

Post by TrevorH » 2018/09/22 11:38:59

We ship libtiff 4.0.3.

Why do you think you need 4.0.4?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

kiritozzl
Posts: 5
Joined: 2018/09/22 02:30:44

Re: how to update libtiff in centos7

Post by kiritozzl » 2018/09/22 14:07:04

because i have to install RawTherapee,and in the process of compile,i got an error

-- checking for module 'libtiff-4>=4.0.4'
-- package 'libtiff-4>=4.0.4' not found

so i have to update my libtiff,my libtiff version is 4.0.3.

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: how to update libtiff in centos7

Post by TrevorH » 2018/09/22 15:44:28

You're going to have more problems than that. I went off and looked for Fedora SRPM packages that I could attempt to rebuild on CentOS 7 under mock. All the ones for 5.4 and 5.3 fail because nothing provides 'pkgconfig(libjpeg)' on CentOS 7. The 5.2.2 SRPM gets past that and then blows up saying that it requires gcc 4.9+ and we only ship 4.8.5. Same problem with the 5.0.3 package that's the next oldest. All the newer versions would have had that problem if they'd got far enough to check.

The next oldest one there was http://download-rdu01.fedoraproject.org ... 23.src.rpm and that gets past all those checks and then blows up with a compilation error. Lots of them. Thousands of them. And the first ones all complain about requiring a compiler than does c++11.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke


mghe
Posts: 766
Joined: 2015/11/24 12:04:43
Location: Katowice, Poland

Re: how to update libtiff in centos7

Post by mghe » 2018/09/22 17:17:42

kiritozzl wrote:
2018/09/22 14:07:04
because i have to install RawTherapee,and in the process of compile,i got an error

-- checking for module 'libtiff-4>=4.0.4'
-- package 'libtiff-4>=4.0.4' not found

so i have to update my libtiff,my libtiff version is 4.0.3.
You can download and run 'AppImage' version of RawTherapee and run it in CentOS.

kiritozzl
Posts: 5
Joined: 2018/09/22 02:30:44

Re: how to update libtiff in centos7

Post by kiritozzl » 2018/09/23 02:13:55

TrevorH wrote:
2018/09/22 15:44:28
You're going to have more problems than that. I went off and looked for Fedora SRPM packages that I could attempt to rebuild on CentOS 7 under mock. All the ones for 5.4 and 5.3 fail because nothing provides 'pkgconfig(libjpeg)' on CentOS 7. The 5.2.2 SRPM gets past that and then blows up saying that it requires gcc 4.9+ and we only ship 4.8.5. Same problem with the 5.0.3 package that's the next oldest. All the newer versions would have had that problem if they'd got far enough to check.

The next oldest one there was http://download-rdu01.fedoraproject.org ... 23.src.rpm and that gets past all those checks and then blows up with a compilation error. Lots of them. Thousands of them. And the first ones all complain about requiring a compiler than does c++11.
@TrevorH thank you for your help,yes,to install rawtherapee, i got many problems,but right now,it's seems that if i update my libtiff,i can complete the compilation.though i can't finish it.

kiritozzl
Posts: 5
Joined: 2018/09/22 02:30:44

Re: how to update libtiff in centos7

Post by kiritozzl » 2018/09/23 02:41:05

@chemal thank you so much, your link help me solve the problem. :D

kiritozzl
Posts: 5
Joined: 2018/09/22 02:30:44

Re: how to update libtiff in centos7

Post by kiritozzl » 2018/09/23 02:41:59

mghe wrote:
2018/09/22 17:17:42
kiritozzl wrote:
2018/09/22 14:07:04
because i have to install RawTherapee,and in the process of compile,i got an error

-- checking for module 'libtiff-4>=4.0.4'
-- package 'libtiff-4>=4.0.4' not found

so i have to update my libtiff,my libtiff version is 4.0.3.
You can download and run 'AppImage' version of RawTherapee and run it in CentOS.

@ mghe thank you for your reply,i find the solution

Post Reply