Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems building the OpenEXR-2.2.0 #163

Closed
frmsaul opened this issue Sep 12, 2015 · 3 comments
Closed

Problems building the OpenEXR-2.2.0 #163

frmsaul opened this issue Sep 12, 2015 · 3 comments
Labels
Build A problem with building or installing the library.

Comments

@frmsaul
Copy link

frmsaul commented Sep 12, 2015

Hi,

Im trying to build OpenEXR on my machine (Ubuntu 14.0 64 bit) and facing some errors.
When I run the configure script in the openexr-2.2.0 folder, I get the following error:

checking for IlmBase... no
*** Could not run the IlmBase test program, checking why...
*** The test program compiled and staticly linked, but did not run. This 
*** usually means that the run-time linker is not finding IlmBase or finding
*** the wrong version of IlmBase.
***
*** If the linker is not finding IlmBase, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location  Also, make sure you have run ldconfig if that
*** is required on your system.
***
*** Flags used by the test:
***     cflags: -g -O2 -pthread -I/usr/local/include/OpenEXR   
***     ldflags:  -L/usr/local/lib  
***
*** You can also run configure with --disable-ilmbasetest to skip this test.
configure: error: Could not compile IlmBase test program.

Any idea what might be causing it?

P.S,

I successfully build ilmbase-2.2.0, but when I try sudo make install in the ilmbase-2.2.0 folder, I get the following error:

mv: cannot stat 'libIlmThread-2_2.so.12.0.0': No such file or directory
libtool: install: error: relink `libIlmThread.la' with the above command before installing it
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory `/home/frmsaul/***/***/***/OpenEXR/ilmbase-2.2.0/IlmThread'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/frmsaul/***/***/***/ilmbase-2.2.0/IlmThread'
make: *** [install-recursive] Error 1

How do I resolve the issue?

Thanks,

Saul

@karlrasche
Copy link
Contributor

The first error is usually related to not being able to locate the IlmBase libs. If you check the config.log file, you should be able to find the compiler output for the failed test (amongst lots of other stuff).

Given that you're also seeing some sort of IlmBase link problem in the second error, its quite possible the two are related.

@ehanway-ilm ehanway-ilm added the Build A problem with building or installing the library. label Oct 24, 2015
@ehanway-ilm ehanway-ilm modified the milestone: v2.2.1 May 2, 2016
@cary-ilm
Copy link
Member

Looking into the OpenEXR issue backlog. Is this still an open issue?

@cary-ilm cary-ilm modified the milestones: v2.2.1, Needs Attention Jun 29, 2019
@kdt3rd
Copy link
Contributor

kdt3rd commented Aug 13, 2019

we are largely shifting to using cmake as the primary build mechanism, which now uses the modern cmake of exporting cmake configs which should be able to be auto-discovered if they are installed in the standard places (or you can set the cmake search path if you are installing in a non-standard location). Please let us know if there are any build issues with this path.

@kdt3rd kdt3rd closed this as completed Aug 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build A problem with building or installing the library.
Projects
None yet
Development

No branches or pull requests

5 participants