bbb-install icon indicating copy to clipboard operation
bbb-install copied to clipboard

bbb-install-2.5 / [ERR] libpng not installed

Open solracsf opened this issue 2 years ago • 8 comments

On bbb-install-2.5 + Ubuntu 2.0.4, videos streams doesn't work and this is logged on Freeswitch log:

[ERR] switch_core_video.c:3099 This function is not available, libpng not installed

These 2 packages are installed (Ubuntu Focal):

libpng-tools/focal,now 1.6.37-2 amd64 [installed,automatic]
  PNG library - tools (version 1.6)

libpng16-16/focal,now 1.6.37-2 amd64 [installed,automatic]
  PNG library - runtime (version 1.6)

All good on v2.4 + Ubuntu 18.04.

solracsf avatar Apr 06 '22 17:04 solracsf

Hi @solracsf Are you enabling any additional FreeSWITCH modules?

antobinary avatar Apr 12 '22 14:04 antobinary

No, simple install only.

solracsf avatar Apr 12 '22 14:04 solracsf

I looked at the freeswitch source code: It looks like there was an old libpng or an old libpng-devel installed on the system where the freeswitch package has been built for BBB. (There are some #ifdefs around the error messages. The messages exist only, if no fitting libpng has been detected / configured on the build server at compile time.)

Is this possible? It sounds a little bit strange and unlikely to me and it should have created much more noise on the issue lists. ...

michi-80337 avatar Jun 05 '22 15:06 michi-80337

Actually , we don't use FreeSWITCH at all for video, which is why there are no side effects of this library missing. While you can safely ignore this error, we'll leave this issue open so we can update the install for 2.5 to not have this error.

ffdixon avatar Jun 05 '22 19:06 ffdixon

bbb 2.7 still have this error

ben-ba avatar Oct 12 '23 08:10 ben-ba

@ben-ba: Thank you for bringing this issue back to my attention. I was not able to reproduce it on the fly on my system, but I will take a deeper look in the next days. Could you please tell me the distribution version you are using? (grep -e "^VERSION" /etc/os-release will do the trick.)

michi-80337 avatar Oct 19 '23 11:10 michi-80337

Just as a note: I'm now able to reproduce the issue on my system. So it's time to dig into some C code. ...

michi-80337 avatar Oct 26 '23 09:10 michi-80337