Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Oct 2007 12:57:14 -0500
From:      eculp@encontacto.net
To:        freebsd-ports@freebsd.org
Subject:   Re:  OpenEXR linking error
Message-ID:  <20071011125714.yedswlx6o4c0wcos@intranet.encontacto.net>
In-Reply-To: <18190.21199.659506.978503@jerusalem.litteratus.org>
References:  <200710111033.52385.freysman@comcast.net> <18190.21199.659506.978503@jerusalem.litteratus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Robert Huff <roberthuff@rcn.com>:

>
> =09Read the entry in /usr/ports/UPDATING.
>
>
> =09Robert "been there, followed directions, everything works" Huff

It didn't work quite that well for me.  I followed the instructions in =20
UPDATING except for the pkgdb -F because the install didn't complete. =20
I tried on 4 current boxes and one RELENG6 box and they all broke as =20
shown below:

c++ -pipe -O2 -fno-strict-aliasing -pipe -o imfexamples main.o =20
drawImage.o rgbaInterfaceExamples.o rgbaInterfaceTiledExamples.o =20
generalInterfaceExamples.o lowLevelIoExamples.o previewImageExamples.o =20
generalInterfaceTiledExamples.o  -L/usr/local/lib =20
/usr/local/lib/libImath.so =20
-L/usr/ports/graphics/OpenEXR/work/openexr-1.6.0/IlmImf =20
/usr/local/lib/libIlmImf.so /usr/local/lib/libHalf.so =20
/usr/local/lib/libIlmThread.so /usr/local/lib/libIex.so -pthread -lz   =20
-Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
/usr/bin/ld: warning: libHalf.so.4, needed by =20
/usr/local/lib/libIlmImf.so, may conflict with libHalf.so.6
/usr/bin/ld: warning: libIex.so.4, needed by =20
/usr/local/lib/libIlmImf.so, may conflict with libIex.so.6
/usr/bin/ld: warning: libIlmThread.so.4, needed by =20
/usr/local/lib/libIlmImf.so, may conflict with libIlmThread.so.6
generalInterfaceExamples.o(.text+0xe8): In function `writeGZ1(char =20
const*, half const*, float const*, int, int)':
: undefined reference to `Imf::Channel::Channel(Imf::PixelType, int, =20
int, bool)'
generalInterfaceExamples.o(.text+0x132): In function `writeGZ1(char =20
const*, half const*, float const*, int, int)':
: undefined reference to `Imf::Channel::Channel(Imf::PixelType, int, =20
int, bool)'
generalInterfaceExamples.o(.text+0x949): In function `writeGZ2(char =20
const*, half const*, float const*, int, int, =20
Imath::Box<Imath::Vec2<int> > const&)':
: undefined reference to `Imf::Channel::Channel(Imf::PixelType, int, =20
int, bool)'
generalInterfaceExamples.o(.text+0x990): In function `writeGZ2(char =20
const*, half const*, float const*, int, int, =20
Imath::Box<Imath::Vec2<int> > const&)':
: undefined reference to `Imf::Channel::Channel(Imf::PixelType, int, =20
int, bool)'
generalInterfaceTiledExamples.o(.text+0x368): In function =20
`writeTiled1(char const*, Imf::Array2D<GZ>&, int, int, int, int)':
: undefined reference to `Imf::Channel::Channel(Imf::PixelType, int, =20
int, bool)'
generalInterfaceTiledExamples.o(.text+0x3b2): more undefined =20
references to `Imf::Channel::Channel(Imf::PixelType, int, int, bool)' =20
follow
gmake[1]: *** [imfexamples] Error 1
gmake[1]: Leaving directory =20
`/usr/ports/graphics/OpenEXR/work/openexr-1.6.0/IlmImfExamples'
gmake: *** [all-recursive] Error 1
*** Error code 2

Not that I'm overly concerned.  All the boxes are with todays sources =20
and are running kernels reset within this week.

Thanks,

ed




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071011125714.yedswlx6o4c0wcos>