From: ludo@gnu.org (Ludovic Courtès)
To: Efraim Flashner <efraim@flashner.co.il>, 28261@debbugs.gnu.org
Subject: bug#28261: libfreeimage has undefined references
Date: Thu, 19 Apr 2018 00:14:32 +0200 [thread overview]
Message-ID: <87lgdkrwl3.fsf@gnu.org> (raw)
In-Reply-To: <20170828121147.GD1618@macbook42.flashner.co.il>
Hello Efraim,
It seems that commit a5d4c96b8d90b8bb87e07bd6a7be78991db91bc9 left
libfreeimage with some undefined references. For instance, the
‘configure’ script of ‘guile-sly’ fails like this:
--8<---------------cut here---------------start------------->8---
configure:3888: checking for FreeImage_GetVersion in -lfreeimage
configure:3913: gcc -o conftest -g -O2 conftest.c -lfreeimage >&5
/gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `PixelFormatLookup'
/gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `GUID_PKPixelFormat16bppRGB555'
/gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `GUID_PKPixelFormat16bppGray'
/gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `GUID_PKPixelFormat24bppRGB'
/gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `PKFormatConverter_Release'
/gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `GUID_PKPixelFormat8bppGray'
/gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `PKImageDecode_Create_WMP'
/gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `PKAllocAligned'
/gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `PKImageEncode_Create_WMP'
/gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `GUID_PKPixelFormat24bppBGR'
/gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `GUID_PKPixelFormatDontCare'
/gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `GUID_PKPixelFormat96bppRGBFloat'
/gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `PKImageEncode_SetGPSInfoMetadata_WMP'
/gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `PKFormatConverter_EnumConversions'
/gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `GUID_PKPixelFormat48bppRGB'
/gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `PKFreeAligned'
/gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `GUID_PKPixelFormatBlackWhite'
/gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `GUID_PKPixelFormat32bppBGRA'
/gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `GUID_PKPixelFormat32bppRGB'
/gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `GUID_PKPixelFormat64bppRGBA'
/gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `PKCodecFactory_CreateFormatConverter'
/gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `PKImageEncode_SetEXIFMetadata_WMP'
/gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `PKImageEncode_SetXMPMetadata_WMP'
/gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `GUID_PKPixelFormat128bppRGBAFloat'
/gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `GUID_PKPixelFormat32bppGrayFloat'
/gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `PKImageEncode_SetIPTCNAAMetadata_WMP'
/gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `GUID_PKPixelFormat16bppRGB565'
collect2: error: ld returned 1 exit status
configure:3913: $? = 1
--8<---------------cut here---------------end--------------->8---
Any ideas?
Thanks,
Ludo’.
next prev parent reply other threads:[~2018-04-18 22:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-28 12:11 bug#28261: freeimage uses bundled libraries Efraim Flashner
2018-04-13 8:00 ` bug#28261: patch pushed Efraim Flashner
2018-04-18 22:14 ` Ludovic Courtès [this message]
2018-04-22 6:53 ` bug#28261: libfreeimage has undefined references Efraim Flashner
2018-04-23 9:46 ` Ludovic Courtès
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lgdkrwl3.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=28261@debbugs.gnu.org \
--cc=efraim@flashner.co.il \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).