[Bf-committers] Scons building under Ubuntu broken

samit_all at libero.it samit_all at libero.it
Mon Sep 1 16:51:05 CEST 2014

Hi all,
it's a few week I can't compile blender anymore under linux.
It fails at linking phase giving this error (www.pasteall.org/53652):

--- /usr/bin/ld: /opt/lib/oiio/lib/libOpenImageIO.so: undefined reference to 
symbol 'dlclose@@GLIBC_2.2.5'
--- /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libdl.so: 
error adding symbols: DSO missing from command line
--- collect2: error: ld returned 1 exit status
--- scons: *** [/home/trix/build/blender/build/linux/bin/blender] Error 1
--- scons: building terminated because of errors.

Please, note this happens for scons only, cmake compiles it fine.

I've contacted devs in the irc channel and Sergey suggested me to specify 
linker flags. Cmake doesn't need it, it just compiles fine, scons seems to 
ignore them and I don't know how to make it accepting the option.

I'm on Kubuntu 14.04.1 LTS, any ideas?
Is some of you affected by the same issue?

Thanks, Sam.

More information about the Bf-committers mailing list