POV-Ray : Newsgroups : povray.unix : upgrading to ubuntu 24.04, losing exr library Server Time
21 Nov 2024 03:59:58 EST (-0500)
  upgrading to ubuntu 24.04, losing exr library (Message 1 to 5 of 5)  
From: Le Forgeron
Subject: upgrading to ubuntu 24.04, losing exr library
Date: 13 Oct 2024 10:21:04
Message: <670bd750@news.povray.org>
I resync with povray/master branch to compile on upgraded ubuntu 24.04, 
since previous build is now complaining

povray: error while loading shared libraries: libIlmImf-2_5.so.25: 
cannot open shared object file: No such file or directory

on config output there is:

checking for pkg-config... pkg-config
checking for OpenEXR's pkg-config... yes
checking for OpenEXR version >= 1.2... 3.1.5, ok
checking for OpenEXR/ImfCRgbaFile.h... yes
checking for ImfInputReadPixels in -lIlmImf... no
configure: WARNING: all program features using the OpenEXR library are 
disabled

Is anyone already working on that ?


Post a reply to this message

From: William F Pokorny
Subject: Re: upgrading to ubuntu 24.04, losing exr library
Date: 13 Oct 2024 11:54:29
Message: <670bed35$1@news.povray.org>
On 10/13/24 10:21, Le_Forgeron wrote:
> I resync with povray/master branch to compile on upgraded ubuntu 24.04, 
> since previous build is now complaining
> 
> povray: error while loading shared libraries: libIlmImf-2_5.so.25: 
> cannot open shared object file: No such file or directory
> 
> on config output there is:
> 
> checking for pkg-config... pkg-config
> checking for OpenEXR's pkg-config... yes
> checking for OpenEXR version >= 1.2... 3.1.5, ok
> checking for OpenEXR/ImfCRgbaFile.h... yes
> checking for ImfInputReadPixels in -lIlmImf... no
> configure: WARNING: all program features using the OpenEXR library are 
> disabled
> 
> Is anyone already working on that ?

https://github.com/POV-Ray/povray/pull/423

Mostly Ton's work from several years ago, with some help from clipka. 
There was a second pull req, IIRC, for v3.7 stable (42?).

Bill P.


Post a reply to this message

From: Ton
Subject: Re: upgrading to ubuntu 24.04, losing exr library
Date: 14 Oct 2024 23:50:00
Message: <web.670de5c41a8255b39a328caa7597fb06@news.povray.org>
Le_Forgeron <jgr### [at] freefr> wrote:
> I resync with povray/master branch to compile on upgraded ubuntu 24.04,
> since previous build is now complaining
>
> povray: error while loading shared libraries: libIlmImf-2_5.so.25:
> cannot open shared object file: No such file or directory
>
> on config output there is:
>
> checking for pkg-config... pkg-config
> checking for OpenEXR's pkg-config... yes
> checking for OpenEXR version >= 1.2... 3.1.5, ok
> checking for OpenEXR/ImfCRgbaFile.h... yes
> checking for ImfInputReadPixels in -lIlmImf... no
> configure: WARNING: all program features using the OpenEXR library are
> disabled
>
> Is anyone already working on that ?

Could you try the commands

pkg-config --print-provides OpenEXR
pkg-config --libs OpenEXR

and give the results here?

Cheers
Ton.


Post a reply to this message

From: Le Forgeron
Subject: Re: upgrading to ubuntu 24.04, losing exr library
Date: 3 Nov 2024 01:28:26
Message: <6727180a$1@news.povray.org>
Le 15/10/2024 à 05:47, Ton a écrit :
> Le_Forgeron <jgr### [at] freefr> wrote:
>> I resync with povray/master branch to compile on upgraded ubuntu 24.04,
>> since previous build is now complaining
>>
>> povray: error while loading shared libraries: libIlmImf-2_5.so.25:
>> cannot open shared object file: No such file or directory
>>
>> on config output there is:
>>
>> checking for pkg-config... pkg-config
>> checking for OpenEXR's pkg-config... yes
>> checking for OpenEXR version >= 1.2... 3.1.5, ok
>> checking for OpenEXR/ImfCRgbaFile.h... yes
>> checking for ImfInputReadPixels in -lIlmImf... no
>> configure: WARNING: all program features using the OpenEXR library are
>> disabled
>>
>> Is anyone already working on that ?
> 
> Could you try the commands
> 
> pkg-config --print-provides OpenEXR
> pkg-config --libs OpenEXR
> 
> and give the results here?


~$ pkg-config --print-provides OpenEXR
OpenEXR = 3.1.5
~$ pkg-config --libs OpenEXR
-lOpenEXR-3_1 -lOpenEXRUtil-3_1 -lOpenEXRCore-3_1 -lIex-3_1 
-lIlmThread-3_1 -lImath-3_1


Post a reply to this message

From: Ton
Subject: Re: upgrading to ubuntu 24.04, losing exr library
Date: 4 Nov 2024 18:20:00
Message: <web.672955aa1a8255b39a328caa7597fb06@news.povray.org>
> ~$ pkg-config --print-provides OpenEXR
> OpenEXR = 3.1.5
> ~$ pkg-config --libs OpenEXR
> -lOpenEXR-3_1 -lOpenEXRUtil-3_1 -lOpenEXRCore-3_1 -lIex-3_1
> -lIlmThread-3_1 -lImath-3_1

These are the needed libraries. Your libIlmImf-2_5.so.25 is from the previous
EXR version, and shouldn't be tested for.

When I run configure I get
checking whether to use the OpenEXR library... yes
checking for pkg-config... pkg-config
checking for OpenEXR's pkg-config... yes
checking for OpenEXR version >= 1.2... 3.1.5, ok
checking OpenEXR/ImfCRgbaFile.h usability... yes
checking OpenEXR/ImfCRgbaFile.h presence... yes
checking for OpenEXR/ImfCRgbaFile.h... yes

My linux is
Ubuntu 24.04.1 LTS (GNU/Linux 6.8.0-48-generic x86_64)

So what I suggest is to do a "make distclean".
That removes everything, all the old configuration stuff, all object files,
makefiles.
Then configure "should" work.

Cheers
Ton


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.