Skip to content

FIND_PACKAGE(PyIlmBase) fails #847

Open
@DenisTome

Description

@DenisTome

I have installed openexr on Ubuntu 18.04 LTS with all 3 modules, and I can confirm that it has passed all the tests (make test).

In my make CMakeList file when I try to find the package FIND_PACKAGE(PyIlmBase) it fails with the following error

CMake Warning at CMakeLists.txt:36 (FIND_PACKAGE):
	Found package configuration file:

		/usr/local/lib/cmake/PyIlmBase/PyIlmBaseConfig.cmake
	
	but it set PyIlmBase_FOUND to FALSE so package "PyIlmBase" is considered to
	be NOT FOUND.  Reason given by package:

	The following imported targets are referenced, but are missing:
	IlmBase::Iex IlmBase::IexMath IlmBase::Imath

If I check /usr/local/lib I see the lib are there

lrwxrwxrwx 1 root root    16 Oct  7 15:08 libIex-2_5.so -> libIex-2_5.so.25
lrwxrwxrwx 1 root root    20 Oct  7 15:08 libIex-2_5.so.25 -> libIex-2_5.so.25.0.2
-rw-r--r-- 1 root root  646K Oct  8 11:43 libIex-2_5.so.25.0.2
lrwxrwxrwx 1 root root    20 Oct  7 15:08 libIexMath-2_5.so -> libIexMath-2_5.so.25
lrwxrwxrwx 1 root root    24 Oct  7 15:08 libIexMath-2_5.so.25 -> libIexMath-2_5.so.25.0.2
-rw-r--r-- 1 root root   19K Oct  8 11:43 libIexMath-2_5.so.25.0.2
lrwxrwxrwx 1 root root    17 Oct  8 11:44 libIexMath.so -> libIexMath-2_5.so
lrwxrwxrwx 1 root root    13 Oct  8 11:55 libIex.so -> libIex-2_5.so
lrwxrwxrwx 1 root root    28 Oct  7 15:08 libPyIex_Python2_7-2_5.so -> libPyIex_Python2_7-2_5.so.25
lrwxrwxrwx 1 root root    32 Oct  7 15:08 libPyIex_Python2_7-2_5.so.25 -> libPyIex_Python2_7-2_5.so.25.0.2
-rw-r--r-- 1 root root  8.3K Oct  8 11:43 libPyIex_Python2_7-2_5.so.25.0.2
lrwxrwxrwx 1 root root    28 Oct  7 15:08 libPyIex_Python3_7-2_5.so -> libPyIex_Python3_7-2_5.so.25
lrwxrwxrwx 1 root root    32 Oct  7 15:08 libPyIex_Python3_7-2_5.so.25 -> libPyIex_Python3_7-2_5.so.25.0.2
-rw-r--r-- 1 root root  8.3K Oct  8 11:43 libPyIex_Python3_7-2_5.so.25.0.2

I'm not sure what's causing this...

Metadata

Metadata

Assignees

No one assigned

    Labels

    BuildA problem with building or installing the library.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions