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?



--
decentral.ch - IT Stuff
Tim Tassonis
Dennlerstasse 36
8047 Zürich

[email protected]
+41 79 229 36 17
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to