From: Baruch Siach <baruch@tkos.co.il>
To: buildroot@busybox.net
Subject: [Buildroot] libtiff compilation fails when libjpeg62-dev is present on host
Date: Mon, 9 Nov 2009 09:19:56 +0200 [thread overview]
Message-ID: <20091109071956.GC26599@jasper.tkos.co.il> (raw)
Hi Buildroot list,
I need to compile libtiff as a dependency of ImageMagic on a recent Debian
Squeeze host. The strange this is that when the libjpeg62-dev is installed on
the host libtools finds the host /usr/lib/libjpeg.la file during build, which makes
the build to fail at link time as follows:
libtool: link: /opt/arm-2009q1/bin/arm-none-linux-gnueabi-gcc -Os -pipe -Os --sysroot /home/baruch/git/buildroot/build_arm/staging_dir/ -shared .libs/tif_aux.o .libs/tif_close.o .libs/tif_codec.o .libs/tif_color.o .libs/tif_compress.o .libs/tif_dir.o .libs/tif_dirinfo.o .libs/tif_dirread.o .libs/tif_dirwrite.o .libs/tif_dumpmode.o .libs/tif_error.o .libs/tif_extension.o .libs/tif_fax3.o .libs/tif_fax3sm.o .libs/tif_flush.o .libs/tif_getimage.o .libs/tif_jpeg.o .libs/tif_luv.o .libs/tif_lzw.o .libs/tif_next.o .libs/tif_ojpeg.o .libs/tif_open.o .libs/tif_packbits.o .libs/tif_pixarlog.o .libs/tif_predict.o .libs/tif_print.o .libs/tif_read.o .libs/tif_strip.o .libs/tif_swab.o .libs/tif_thunder.o .libs/tif_tile.o .libs/tif_unix.o .libs/tif_version.o .libs/tif_warning.o .libs/tif_write.o .libs/tif_zip.o -Wl,--whole-archive ../port/.libs/libport.a -Wl,--no-whole-archive /usr/lib/libjpeg.so -lz -lm -lc -Wl,-soname -Wl,libtiff.so.3 -o .libs/libtiff.so.3.8.2
/usr/lib/libjpeg.so: file not recognized: File format not recognized
collect2: ld returned 1 exit status
Removing libjpeg62-dev, or even renaming the host /usr/lib/libjpeg.la file
makes the problem go away. Is there a sane solutions for this?
baruch
--
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
next reply other threads:[~2009-11-09 7:19 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-09 7:19 Baruch Siach [this message]
2009-11-09 15:38 ` [Buildroot] libtiff compilation fails when libjpeg62-dev is present on host Peter Korsgaard
2009-11-09 22:43 ` Lionel Landwerlin
2009-11-10 6:37 ` Baruch Siach
2009-11-19 15:01 ` Lionel Landwerlin
2009-11-19 15:13 ` Baruch Siach
[not found] ` <4d28d4b50911190720s72ed6df5s29d9f52aeb2cce3f@mail.gmail.com>
2009-11-23 6:56 ` Baruch Siach
2009-11-23 10:21 ` Lionel Landwerlin
2009-11-23 11:34 ` Baruch Siach
2009-11-23 12:52 ` Lionel Landwerlin
2009-11-23 13:14 ` Peter Korsgaard
2009-11-23 13:17 ` Lionel Landwerlin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091109071956.GC26599@jasper.tkos.co.il \
--to=baruch@tkos.co.il \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox