kefferb / squeezelite

Automatically exported from code.google.com/p/squeezelite
Other
0 stars 0 forks source link

A bug in dynamic library loading (Linux version) #105

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. One or several codecs (e.g. libflac) are not installed in the system
2. No logging (-d key) specified in command line

What is the expected output? What do you see instead?

After a load of one of the codecs failed (file missing), the rest of codecs and 
liblirc_client do not load too, despite the fact that the libraries are present.

What version of the product are you using? On what operating system?

squeezelite v1.8 on OpenWRT Linux (3.18 kernel)

Please provide any additional information below.

If before any call of dlopen() function make dummy call of dlerror() function, 
the problem disappears

Original issue reported on code.google.com by andrew1k...@gmail.com on 16 Jun 2015 at 8:22