LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 09-09-2005, 11:09 PM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
Problem on installing Libtiff


Hi folks,

Encountered problem on installing Libtiff-3.7.3. Steps performed as follows;

Libtiff-3.7.3
http://www.linuxfromscratch.org/blfs...l/libtiff.html

bash-3.00$ cd ..
bash-3.00$ tar zxf tiff-3.7.3.tar.gz
bash-3.00$ cd tiff-3.7.3
bash-3.00$ ./configure --prefix=/usr &&
> make
Code:
Making all in images
make[2]: Entering directory `/sources/tiff-3.7.3/html/images'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/sources/tiff-3.7.3/html/images'
Making all in man
make[2]: Entering directory `/sources/tiff-3.7.3/html/man'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/sources/tiff-3.7.3/html/man'
make[2]: Entering directory `/sources/tiff-3.7.3/html'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/sources/tiff-3.7.3/html'
make[1]: Leaving directory `/sources/tiff-3.7.3/html'
make[1]: Entering directory `/sources/tiff-3.7.3'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/sources/tiff-3.7.3'
bash-3.00$ make check
Code:
....
 /bin/sh ../libtool --mode=install /bin/install -c  'libtiffxx.la'
'/usr/lib/libtiffxx.la'
libtool: install: warning: relinking `libtiffxx.la'
(cd /sources/tiff-3.7.3/libtiff; /bin/sh ../libtool  --tag=CXX
--mode=relink g++ -g -O2 -o libtiffxx.la -rpath /usr/lib -no-undefined
-version-number 3:7:3 tif_stream.lo ../libtiff/libtiff.la -ljpeg -lz -lm
-lc )
g++ -shared -nostdlib
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../crti.o
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/crtbeginS.o  .libs/tif_stream.o
-L/usr/lib -ltiff -ljpeg -lz -L/usr/lib/gcc/i686-pc-linux-gnu/3.4
.......
Making check in images
make[2]: Entering directory `/sources/tiff-3.7.3/html/images'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/sources/tiff-3.7.3/html/images'
Making check in man
make[2]: Entering directory `/sources/tiff-3.7.3/html/man'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/sources/tiff-3.7.3/html/man'
make[2]: Entering directory `/sources/tiff-3.7.3/html'
make[2]: Nothing to be done for `check-am'.
make[1]: Leaving directory `/sources/tiff-3.7.3'
bash-3.00$ su
Password:
root@localhost:/sources/tiff-3.7.3# make install
Code:
......
tbeginS.o  .libs/tif_stream.o  -L/usr/lib -ltiff -ljpeg -lz
-L/usr/lib/gcc/i686-pc-linux-gnu/3.4.3 -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../.. -lstdc++
-lm -lc -lgcc_s /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/crtendS.o
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../crtn.o  -Wl,-soname -Wl,libtiffxx.so.3 -o
.libs/libtiffxx.so.3.7.3
collect2: cannot find `ld'
libtool: install: error: relink `libtiffxx.la' with the above command
before installing it
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory `/sources/tiff-3.7.3/libtiff'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/sources/tiff-3.7.3/libtiff'
make: *** [install-recursive] Error 1
# find / -name ld
Code:
/tools/bin/ld
/tools/i686-pc-linux-gnu/bin/ld
/usr/bin/ld
Which of them I have to make symbolic-link and where to???

root@localhost:/sources/tiff-3.7.3# find / -name libtiffxx.la
Code:
/sources/tiff-3.7.3/libtiff/.libs/libtiffxx.la
/sources/tiff-3.7.3/libtiff/libtiffxx.la   
/usr/lib/libtiffxx.la
root@localhost:/sources/tiff-3.7.3# ls -al /sources/tiff-3.7.3/libtiff/libtiffxx.la
Code:
-rw-rw-r--  1 satimis satimis 1352 Sep 10 19:25 /sources/tiff-3.7.3/libtiff/libtiffxx.la
root@localhost:/sources/tiff-3.7.3# ls -al /sources/tiff-3.7.3/libtiff/.libs/libtiffxx.la
Code:
rwxrwxrwx  1 satimis satimis 15 Sep 10 19:25 /sources/tiff-3.7.3/libtiff/.libs/libtiffxx.la ->
../libtiffxx.la
root@localhost:/sources/tiff-3.7.3# ls -al /usr/lib/libtiffxx.la
Code:
-rwxr-xr-x  1 root root 990 Aug 19 07:28 /usr/lib/libtiffxx.la (in green colour.  Suppose
having a symbolic link to some where)
BR
satimis
 
Old 09-14-2005, 06:46 AM   #2
freakyg
Member
 
Registered: Apr 2005
Distribution: LFS 5.0 and 6.1
Posts: 705

Rep: Reputation: 30
did you ever fix this?? if so you should post what you did in case others have the same problem.......
 
Old 09-14-2005, 06:52 AM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi freakyg,

Quote:
did you ever fix this?? if so you should post what you did in case others have the same problem.......
Sorry, no. I'm still working on it. To get this package installed is not a problem. But to find out what is the real cause needs time. I'll post my solution here when available. Tks

BR
satimis
 
Old 09-15-2005, 11:16 PM   #4
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Problem SOLVED

Hi freakyg and folks,

Problem SOLVED

Solution:
After running configure changed to root ("su -" not "su" in my case) and ran "make install". That is all. My problem originated from "ldconfig" being on /sbin/ and in my case "su" did not have this path but "su -" had

bash-3.00$ su
Password:
root@localhost:/# echo $PATH
Code:
/usr/gnu/bin:/usr/local/bin:/bin:/usr/bin:
root@localhost:/# exit
Code:
exit
bash-3.00$ su -
Password:
root@localhost:~# echo $PATH
Code:
/usr/local/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin
root@localhost:~# which ldconfig
Code:
/sbin/ldconfig
satimis
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Problem installing module in Fedora Core 2 (2.6 kernel vs 2.4 problem?) Arodef Linux - Kernel 3 11-30-2007 02:55 PM
Problem installing new programs... KDE problem? seiyachan Mandriva 33 12-19-2005 09:18 AM
Configure error in Hylafax With Libtiff eogandix Linux - Software 1 02-01-2005 12:51 PM
libtiff problem: cannot call outside main() proc zhang_mdev Programming 1 12-14-2004 02:17 PM
Problem Upgrading LibTIFF to 3.6.1 on Mandrake 10 alvinl Mandriva 0 08-04-2004 11:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 05:32 AM.

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