[Bf-committers] Scons building under Ubuntu broken

Piotr Arłukowicz piotao at inf.ug.edu.pl
Mon Sep 1 22:15:07 CEST 2014


Same here, Linux Mint 17, fresh system install:

Linking program ==> 'blender'
/usr/bin/ld: /home/piotao/blender-git/deps/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/piotao/blender-git/build/linux/bin/blender] Error 1
scons: building terminated because of errors.

Installing libopenimageio-dev from distro also did not help. But after this
install, next run of scons did not stop after the linking error, and
performed regular install of blender, with all deps, scripts, etc. Ofc no
blender and blenderplayer binary was there.

regards
pio



Piotr Arłukowicz, PhD
University of Gdańsk, Faculty of Mathematics, Physics and Informatics
Division of Artificial Intelligence, Wit Stwosz 57, 80-952 Gdańsk, room 121
phone: +48585232125, University home page: http://inf.ug.edu.pl/~piotao
Also: Polish Blender Course: http://polskikursblendera.pl/ [PL]


2014-09-01 20:14 GMT+02:00 Vicente <vicentecarro at gmail.com>:

> Same error here (Ubuntu 14.04 64bits).
> Anyway after that error you can do "make" and it will complete the
> compilation successfully. But yes, the scons one is broken (for me too
> at least).
>
> Regards
>
> Vicente
> On 09/01/2014 02:51 PM, samit_all at libero.it wrote:
> > 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.
> > _______________________________________________
> > Bf-committers mailing list
> > Bf-committers at blender.org
> > http://lists.blender.org/mailman/listinfo/bf-committers
> >
> >
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>


More information about the Bf-committers mailing list