You are not logged in.

#1 2008-03-13 09:38:18

venky80
Member
Registered: 2007-05-13
Posts: 1,002

cannot find libtiff.so.4 for maxview

Iam trying to run Maxview which opens *.max files i.e. Scansoft paperport files in linux, but it seems it needs libtiff.so.4 which I cant find anywhere
more here
http://sourceforge.net/project/showfile … _id=129198


Acer Aspire V5-573P Antergos KDE

Offline

#2 2008-03-13 13:31:20

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: cannot find libtiff.so.4 for maxview

Oh, I just put a comment into the pkgbuild request forum. Forget it.

So, this error message means that it is not statically linked. You can try the following, without warranty to work: Do a pacman -Sy libtiff and have a look at /usr/lib/*tiff.so* If there is a libtiff.so.4, you shoult be fine.

If not try to find a suitable file do make a symlink to libtiff.so.4, e.g. ln -s libtiff.so.6 libtiff.so.4.

Offline

#3 2008-03-13 13:43:06

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: cannot find libtiff.so.4 for maxview

Stefan Husmann wrote:

make a symlink

No. Let's do it so it actually works reliably.

Take a copy of /var/abs/extra/lib/libtiff into /var/abs/local, and rename it to e.g. libtiff-so4, since Arch isn't "multislot" like Gentoo, and you might need the .so.3 file in the future. Then change the pkgver to 3.9blah or 4.0blah, and compile it.

Last edited by brebs (2008-03-13 13:44:57)

Offline

#4 2008-03-13 19:25:15

venky80
Member
Registered: 2007-05-13
Posts: 1,002

Re: cannot find libtiff.so.4 for maxview

so do we have a solution?... I am sorry, I am not very well versed with linux, could you tell me what i can do to get libtiff.so.4?


Acer Aspire V5-573P Antergos KDE

Offline

#5 2008-03-13 20:45:44

kumico
Member
Registered: 2007-09-28
Posts: 224
Website

Re: cannot find libtiff.so.4 for maxview

link against a 3.* version,
install a 4.* version of libtiff or
simply symlink the the exisiting *3.* to *4.* ... #
symlinking usually works, but  if you know the piece of software
require features of the 4.* vresions, you only safe option to to install the newer version

Offline

#6 2008-03-13 22:35:54

venky80
Member
Registered: 2007-05-13
Posts: 1,002

Re: cannot find libtiff.so.4 for maxview

Well I cant fint the libtiff.so.4 anyhere.....it is not there is AUR


Acer Aspire V5-573P Antergos KDE

Offline

#7 2008-03-14 05:56:55

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: cannot find libtiff.so.4 for maxview

ln -s libtiff.so.3 libtiff.so.4

Offline

#8 2008-03-14 07:08:07

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: cannot find libtiff.so.4 for maxview

Stefan Husmann wrote:

ln...

Wrong. Did you listen to a word I said? Welcome to the world of API & ABI changes. If it was really that simple, why do you think they changed the filename, huh?

Try this:

pkgname=libtiff-so4
pkgver=4.0.0alpha
pkgrel=1
pkgdesc="Library for manipulation of TIFF images"
arch=(i686 x86_64)
depends=(libjpeg zlib)
makedepends=(libgl freeglut libxmu libxi)
options=(NOLIBTOOL)
url="http://www.libtiff.org/"
source=(ftp://ftp.remotesensing.org/pub/libtiff/tiff-${pkgver}.tar.gz)

build() {
  cd ${startdir}/src/tiff-${pkgver}
  ./configure --prefix=/usr --sysconfdir=/etc
  make || return 1
  make DESTDIR=${startdir}/pkg install
}

It creates pkg/usr/lib/libtiff.so.5

Then this:

pkgname=libtiff-so4
pkgver=3.9.0beta
pkgrel=1
pkgdesc="Library for manipulation of TIFF images"
arch=(i686 x86_64)
depends=(libjpeg zlib)
makedepends=(libgl freeglut libxmu libxi)
options=(NOLIBTOOL)
url="http://www.libtiff.org/"
source=(ftp://ftp.remotesensing.org/pub/libtiff/tiff-${pkgver}.tar.gz)

build() {
  cd ${startdir}/src/tiff-${pkgver}
  ./configure --prefix=/usr --sysconfdir=/etc
  make || return 1
  make DESTDIR=${startdir}/pkg install
}

It creates pkg/usr/lib/libtiff.so.3.9.0

Woah. Where's libtiff.so.4? What a crazy package.

Anyway, symlinking is wrong. Hope that's clear.

Last edited by brebs (2008-03-14 07:24:49)

Offline

#9 2008-03-14 07:57:13

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: cannot find libtiff.so.4 for maxview

Do not be so rude. It is not clear why symlinking is wrong. I do that often without any issues.

Did You listen to the thread? Obviously the opener of this thread has not that deep knowledge, and in most cases symlinking works fine. If in this case it will not work, the symlink and the binary can easily be deleted. So what!

Offline

#10 2008-03-14 08:06:46

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: cannot find libtiff.so.4 for maxview

Stefan Husmann wrote:

It is not clear why symlinking is wrong.

That is why just blindly stating "ln this to that" is so bad. The Internet is full of such garbage, which gives newbies completely the wrong idea. At the very least, you should say "This is a horrible hack which you can sometimes get away with, but don't rely on it and it's not the proper method" wink

People need to do a little bit of Googling themselves, for the magical keywords API and ABI.

Last edited by brebs (2008-03-14 08:10:56)

Offline

#11 2008-03-14 10:55:22

venky80
Member
Registered: 2007-05-13
Posts: 1,002

Re: cannot find libtiff.so.4 for maxview

well so now what I still cant get libtiff.so.4?

I cant really follow this thread...it is going over my head...I will try symlinking ..can you tell me how to delete it if it doesn't work?

oh well didnt read the mandravia forum post..it seems it doent work...so guess it will remain a mystery

Last edited by venky80 (2008-03-14 10:57:05)


Acer Aspire V5-573P Antergos KDE

Offline

#12 2008-03-14 11:10:08

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: cannot find libtiff.so.4 for maxview

Sounds like a screwup. You can download libtiff4.

Offline

#13 2008-03-14 17:34:49

venky80
Member
Registered: 2007-05-13
Posts: 1,002

Re: cannot find libtiff.so.4 for maxview

sorry for one more question brebs, how can I convert libtiff4.deb to arch package?
I appreciate the help you are providing.

Last edited by venky80 (2008-03-14 17:35:19)


Acer Aspire V5-573P Antergos KDE

Offline

#14 2008-03-14 18:09:14

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: cannot find libtiff.so.4 for maxview

Install deb2targz.

Offline

Board footer

Powered by FluxBB