On Fri, Aug 7, 2015 at 9:46 AM, Fernando de Oliveira <[email protected]> wrote: > Em 07-08-2015 08:39, Tim Tassonis escreveu: >> On 07.08.2015 00:02, Fernando de Oliveira wrote: >>> Em 05-08-2015 16:16, Tim Tassonis escreveu: >>>> Hi List >>>> >>>> On trying to satisfy the dependencies for vlc, I've come across a minor >>>> issue. SDL_image tries to load image backend libraries like libpng >>>> dynamically on the fly, which does not work, as blfs specifies: >>>> >>>> ./configure --prefix=/usr --disable-static --disable-sdl-dlopen >>>> >>>> for sdl. >>>> >>>> If this is is changed to: >>>> >>>> >>>> ./configure --prefix=/usr --disable-static --disable-alsa-shared >>>> --disable-x11-share >>>> >>>> >>>> then the dynamic loading works, while the x11 and alsa shared libraries >>>> are still linked without explicit dlopen. >>>> >>>> >>>> Kind regards >>>> Tim >>> >>> >>> Tim, this was included by Igor, don't know his reasons for doing it. >>> >>> [https://osdir.com/ml/blfs-book/2015-02/msg00321.html] >>> >>> Before, we had: >>> >>> ./configure --prefix=/usr --disable-static >>> >>> Wouldn't this work? >> >> >> This would also work I guess, but from what I've read, then also X11 and >> alsa will be loaded using dlopen(), probably resulting in inferior >> performance. The >> >> ./configure --prefix=/usr --disable-static --disable-sdl-dlopen >> >> >> fixes that, but at the cost of disabling the ability of dlopening any >> other stuff. The >> >> ./configure --prefix=/usr --disable-static --disable-alsa-shared >> --disable-x11-shared >> >> >> sees to be the best compromise. >> >> >> >>> >>> Igor, please, what is your opinion? >>> > > Thinking of removing --disable-sdl-dlopen and adding it and your > suggestions at "Command Explanations", with your explanations. > > Are there more opinions, please? > As long as there isn't that much of a performance hit, I think that moving it to Command Explanations sounds very good.
Douglas R. Reno -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
