LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-10-2006, 10:19 AM   #1
will_kranz
Member
 
Registered: Nov 2004
Location: NH/CT
Distribution: Slackware 10 to 14
Posts: 52

Rep: Reputation: 0
Problem building tiff-3.7.0


Greetings, I have libtiff and its tools installed from
distribution CDs on two systems, one a RedHat 6.2 distribution which originally came with a 2.2 Linux kernel, and another from a Slackware 10.2 distribution that came with the 2.4 kernel. As installed the tools are in /usr/bin, and work correctly with the shared libraries. The RedHat 6.2 distribution did not
include tiff2pdf so I thought I'd rebuild the library with current sources and this is where I ran into problems.

On the Red Hat system:
ldd displays the following for /usr/bin/tiffcp:
libtiff.so.3 => /usr/lib/libtiff.so.3 (0x4001a000)
libm.so.6 => /lib/libm.so.6 (0x40047000)
libc.so.6 => /lib/libc.so.6 (0x40063000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
however after building and installing libtiff 3.7.0 it creates a /usr/local/bin/tiffcp which can't find tifflib.so, ldd displays:
libtiff.3 => not found
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x4001b000)
libz.so.1 => /usr/lib/libz.so.1 (0x4003a000)
libm.so.6 => /lib/libm.so.6 (0x40049000)
libc.so.6 => /lib/libc.so.6 (0x40065000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
Note that it does create a link
/usr/local/lib/libtiff.3 -> /usr/local/lib/libtiff.3.7.0
I suspect configure is not setting up the shared library names correctly?
The preinstalled link (which works) is
/usr/lib/libtiff.3 -> /usr/lib/libtiff.so.3.4 as indicated above.

I built the support libraries libjpeg.so.62 and libz.so.1 on the Red Hat system with no problems indicating there is nothing very strange about its configuration, but libtiff is not working. Any thoughts?
The Makefile that configure creates has so much indirection in it that I get lost, and its pretty big, but I could post it if useful. The build.html
documentation for libtiff suggests I look for the DSO defines which control the shared library build, but I can't even find them!

While I'm on this subject, the current tifflib build tree includes a tools subdirectory. It includes all the tools as executable scripts which appear to call libtool. They execute correctly, so whatever it build is internally consistent, it just doesn't run out of /usr/local/bin.

Suggestions?
 
Old 06-11-2006, 04:01 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Well, have you tried finding the "missing" files?
If you're lucky, it's just a matter of copying them into the correct place.

Other than that, you really need to go into those "#define"s

Then there is the obligatory: try at least using RH9. You've done very well keeping RH6.2 going as long as you have. Though I'm guessing it dosn't look so much like the original release and more like LFS by now?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PDF to TIFF chr15t0 Linux - Software 5 05-09-2013 09:47 AM
Multipage TIFF Viewer? ajsteel Linux - General 6 09-22-2006 04:34 PM
Single Page tiff to Multi Page tiff James_dean Programming 3 11-10-2005 10:50 PM
Whats the problem with this raw to tiff program? James_dean Programming 8 10-28-2005 12:20 AM
mgetty convert fax to tiff problem hankycheng Linux - Software 4 08-04-2004 10:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration