[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Openexr-user] OpenEXR 1.6.1 build problem (Linux): "configure: err
From: |
Ger Hobbelt |
Subject: |
Re: [Openexr-user] OpenEXR 1.6.1 build problem (Linux): "configure: error: Could not compile IlmBase test program" |
Date: |
Sun, 30 Aug 2009 18:46:15 +0200 |
Off the cuff, by only looking at the functions that are reported
missing by the linker, my first guess would be that the configure
script couldn't find a viable pthread library. This most probably
happened to the ./configure for IlmBase as IlmThread wraps those, the
effect becoming 'visible' once you compile&link OpenEXR itself..
Also, check to make sure IlmBase and OpenEXR are both build with
'--enable-threading' turned on (this is the default).
> configure:20491: g++ -o conftest -g -O2
> -I/usr/struct/pack/openexr-1.6/include/OpenEXR
> -L/usr/struct/pack/openexr-1.6/lib -L/usr/lib64 -L/usr/local/lib conftest.cc
> -lImath -lHalf -lIex -lIlmThread >&5
> /usr/struct/pack/openexr-1.6/lib/libIlmThread.so: undefined reference to
> `sem_init'
> /usr/struct/pack/openexr-1.6/lib/libIlmThread.so: undefined reference to
> `sem_destroy'
> /usr/struct/pack/openexr-1.6/lib/libIlmThread.so: undefined reference to
> `pthread_create'
> /usr/struct/pack/openexr-1.6/lib/libIlmThread.so: undefined reference to
> `sem_post'
> /usr/struct/pack/openexr-1.6/lib/libIlmThread.so: undefined reference to
> `sem_trywait'
> /usr/struct/pack/openexr-1.6/lib/libIlmThread.so: undefined reference to
> `sem_getvalue'
> /usr/struct/pack/openexr-1.6/lib/libIlmThread.so: undefined reference to
> `sem_wait'
> /usr/struct/pack/openexr-1.6/lib/libIlmThread.so: undefined reference to
> `pthread_join'
--
Met vriendelijke groeten / Best regards,
Ger Hobbelt
--------------------------------------------------
web: http://www.hobbelt.com/
http://www.hebbut.net/
mail: address@hidden
mobile: +31-6-11 120 978
--------------------------------------------------