Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 533514 - media-gfx/blender-2.72b-r2 - ld: ../../lib/libextern_clew.a(clew.c.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
Summary: media-gfx/blender-2.72b-r2 - ld: ../../lib/libextern_clew.a(clew.c.o): undefi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-25 15:17 UTC by Altoine Barker
Modified: 2016-06-16 20:13 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
my blender environment (blender-environment.txt,157.07 KB, text/plain)
2014-12-25 15:23 UTC, Altoine Barker
Details
emerge -vpq media-gfx/blender (blender-output.txt,279 bytes, text/plain)
2014-12-25 15:23 UTC, Altoine Barker
Details
blender_build_log.tar.bz2 (blender_build_log.tar.bz2,83.79 KB, application/x-bzip-compressed-tar)
2014-12-25 15:28 UTC, Altoine Barker
Details
blender-2.72b-r3 build log (compresssed) (build.log.bz2,95.18 KB, application/x-bzip2)
2015-03-22 12:54 UTC, Julian Simioni
Details
emerge --info (emerge-info.txt,5.21 KB, text/plain)
2015-03-22 12:55 UTC, Julian Simioni
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Altoine Barker 2014-12-25 15:17:58 UTC
My program fails at the end with this output:

[0mcd /var/tmp/portage/media-gfx/blender-2.72b-r2/work/blender-2.72b_build/source/creator && /usr/bin/cmake -E cmake_link_script CMakeFiles/blender.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++    -Wredundant-decls -Wall -Wno-invalid-offsetof -Wno-sign-compare -Wlogical-op -Winit-self -Wmissing-include-dirs -Wno-div-by-zero -Wtype-limits -Wuninitialized -Wundef -Wmissing-declarations -march=athlon64-sse3 -funsigned-char  -fopenmp  -msse2  -msse -pipe -fPIC -funsigned-char -fno-strict-aliasing   -Wl,-O1 -Wl,--as-needed  -pthread CMakeFiles/blender.dir/creator.c.o CMakeFiles/blender.dir/buildinfo.c.o  -o ../../bin/blender -rdynamic ../../lib/libbf_windowmanager.a ../../lib/libbf_editor_space_api.a ../../lib/libbf_editor_space_action.a ../../lib/libbf_editor_space_buttons.a ../../lib/libbf_editor_space_console.a ../../lib/libbf_editor_space_file.a ../../lib/libbf_editor_space_graph.a ../../lib/libbf_editor_space_image.a ../../lib/libbf_editor_space_info.a ../../lib/libbf_editor_space_logic.a ../../lib/libbf_editor_space_nla.a ../../lib/libbf_editor_space_node.a ../../lib/libbf_editor_space_outliner.a ../../lib/libbf_editor_space_script.a ../../lib/libbf_editor_space_sequencer.a ../../lib/libbf_editor_space_text.a ../../lib/libbf_editor_space_time.a ../../lib/libbf_editor_space_userpref.a ../../lib/libbf_editor_space_view3d.a ../../lib/libbf_editor_space_clip.a ../../lib/libbf_editor_transform.a ../../lib/libbf_editor_util.a ../../lib/libbf_editor_uvedit.a ../../lib/libbf_editor_curve.a ../../lib/libbf_editor_gpencil.a ../../lib/libbf_editor_interface.a ../../lib/libbf_editor_mesh.a ../../lib/libbf_editor_metaball.a ../../lib/libbf_editor_object.a ../../lib/libbf_editor_armature.a ../../lib/libbf_editor_physics.a ../../lib/libbf_editor_render.a ../../lib/libbf_editor_screen.a ../../lib/libbf_editor_sculpt_paint.a ../../lib/libbf_editor_sound.a ../../lib/libbf_editor_animation.a ../../lib/libbf_editor_datafiles.a ../../lib/libbf_editor_mask.a ../../lib/libbf_editor_io.a ../../lib/libbf_render.a ../../lib/libbf_intern_opennl.a ../../lib/libbf_python.a ../../lib/libbf_python_ext.a ../../lib/libbf_python_mathutils.a ../../lib/libbf_python_bmesh.a ../../lib/libbf_freestyle.a ../../lib/libbf_ikplugin.a ../../lib/libbf_modifiers.a ../../lib/libbf_bmesh.a ../../lib/libbf_compositor.a ../../lib/libbf_blenkernel.a ../../lib/libbf_intern_rigidbody.a ../../lib/libbf_nodes.a ../../lib/libbf_rna.a ../../lib/libbf_gpu.a ../../lib/libbf_blenloader.a ../../lib/libbf_imbuf.a ../../lib/libbf_blenlib.a ../../lib/libbf_intern_ghost.a ../../lib/libbf_intern_string.a ../../lib/libbf_avi.a ../../lib/libbf_imbuf_cineon.a ../../lib/libbf_imbuf_openexr.a ../../lib/libbf_imbuf_dds.a ../../lib/libbf_intern_elbeem.a ../../lib/libbf_intern_iksolver.a ../../lib/libbf_intern_memutil.a ../../lib/libbf_intern_guardedalloc.a ../../lib/libge_blen_routines.a ../../lib/libge_converter.a ../../lib/libge_phys_dummy.a ../../lib/libge_phys_bullet.a ../../lib/libbf_intern_smoke.a ../../lib/libextern_minilzo.a ../../lib/libextern_lzma.a ../../lib/libextern_colamd.a ../../lib/libge_logic_ketsji.a ../../lib/libextern_recastnavigation.a ../../lib/libge_logic.a ../../lib/libge_rasterizer.a ../../lib/libge_oglrasterizer.a ../../lib/libge_logic_expressions.a ../../lib/libge_scenegraph.a ../../lib/libge_logic_network.a ../../lib/libge_logic_ngnetwork.a ../../lib/libextern_bullet.a ../../lib/libge_logic_loopbacknetwork.a ../../lib/libbf_intern_moto.a ../../lib/libge_videotex.a ../../lib/libbf_dna.a ../../lib/libbf_blenfont.a ../../lib/libbf_intern_audaspace.a ../../lib/libbf_intern_mikktspace.a ../../lib/libbf_intern_dualcon.a ../../lib/libbf_intern_raskter.a ../../lib/libbf_intern_opencolorio.a ../../lib/libextern_rangetree.a ../../lib/libextern_wcwidth.a ../../lib/libextern_libmv.a ../../lib/libextern_glog.a ../../lib/libextern_ceres.a ../../lib/libextern_binreloc.a ../../lib/libbf_intern_itasc.a ../../lib/libextern_carve.a ../../lib/libextern_xdnd.a ../../lib/libbf_intern_locale.a -lGL -lGLU -lpng -lz -lz -lfreetype -Xlinker -export-dynamic -lpython3.4 -lGLEW -lboost_filesystem-mt -lboost_regex-mt -lboost_system-mt -lboost_thread-mt -lboost_date_time-mt -lboost_locale-mt -ljpeg -lHalf -lIex -lIlmImf -lIlmThread -lImath -lutil -lc -lm -lpthread -lX11 -lXi -lXxf86vm -ldl -ldl ../../lib/libextern_clew.a ../../lib/libextern_cuew.a  
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/../../../../x86_64-pc-linux-gnu/bin/ld: ../../lib/libextern_clew.a(clew.c.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/../../../../lib64/libdl.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
source/creator/CMakeFiles/blender.dir/build.make:244: recipe for target 'bin/blender' failed
make[2]: *** [bin/blender] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-gfx/blender-2.72b-r2/work/blender-2.72b_build'
CMakeFiles/Makefile2:6312: recipe for target 'source/creator/CMakeFiles/blender.dir/all' failed
make[1]: *** [source/creator/CMakeFiles/blender.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/media-gfx/blender-2.72b-r2/work/blender-2.72b_build'
Makefile:146: recipe for target 'all' failed
make: *** [all] Error 2
 [31;01m*[0m ERROR: media-gfx/blender-2.72b-r2::gentoo failed (compile phase):
 [31;01m*[0m   emake failed
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of `emerge --info '=media-gfx/blender-2.72b-r2::gentoo'`,
 [31;01m*[0m the complete build log and the output of `emerge -pqv '=media-gfx/blender-2.72b-r2::gentoo'`.
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/media-gfx/blender-2.72b-r2/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/media-gfx/blender-2.72b-r2/temp/environment'.
 [31;01m*[0m Working directory: '/var/tmp/portage/media-gfx/blender-2.72b-r2/work/blender-2.72b_build'
 [31;01m*[0m S: '/var/tmp/portage/media-gfx/blender-2.72b-r2/work/blender-2.72b'
Comment 1 Altoine Barker 2014-12-25 15:20:56 UTC
Portage 2.2.14 (python 2.7.7-final-0, default/linux/amd64/13.0/no-multilib, gcc-4.8.3, glibc-2.19-r1, 3.17.7-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.17.7-gentoo-x86_64-AMD_Athlon-tm-_64_Processor_3400+-with-gentoo-2.2
KiB Mem:     1023132 total,    352444 free
KiB Swap:     524284 total,    418964 free
Timestamp of tree: Thu, 25 Dec 2014 03:15:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.18.2-r2
dev-lang/python:          2.7.7, 3.3.5-r1, 3.4.1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6-r1, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64-sse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=athlon64-sse3"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.gtlib.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://lug.mtu.edu/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X acl amd64 berkdb bindist bzip2 cli cracklib crypt cups cxx dri fortran gdbm iconv ipv6 javascript mmx modules mp3 mp4 ncurses nls nptl openmp pam pcre perl python readline session sse sse2 ssl tcpd unicode zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Altoine Barker 2014-12-25 15:22:05 UTC
That last post was emerge --info
Comment 3 Altoine Barker 2014-12-25 15:23:05 UTC
Created attachment 392368 [details]
my blender environment
Comment 4 Altoine Barker 2014-12-25 15:23:49 UTC
Created attachment 392370 [details]
emerge -vpq media-gfx/blender
Comment 5 Altoine Barker 2014-12-25 15:28:44 UTC
Created attachment 392374 [details]
blender_build_log.tar.bz2
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2014-12-26 10:59:53 UTC
Comment on attachment 392374 [details]
blender_build_log.tar.bz2

Why did you put a single file in a tar archive?
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2014-12-26 11:02:32 UTC
Comment on attachment 392370 [details]
emerge -vpq media-gfx/blender

Or, why did you put a single line of output in an attachment?
Comment 8 Julian Simioni 2015-03-22 12:53:21 UTC
I'm also seeing this error with blender-2.72b-r3. emerge ---info and build log attached.
Comment 9 Julian Simioni 2015-03-22 12:54:45 UTC
Created attachment 399458 [details]
blender-2.72b-r3 build log (compresssed)
Comment 10 Julian Simioni 2015-03-22 12:55:12 UTC
Created attachment 399460 [details]
emerge --info
Comment 11 Nathan Squires 2015-03-27 16:29:11 UTC
I had the same problemn and was able to get blender-2.72b-r3 to link by doing

export LDFLAGS="$LDFLAGS -ldl" 

before the emerge, per this forum discussion: http://forums.gentoo.org/viewtopic-p-7679198.html
Comment 12 Toralf Förster gentoo-dev 2016-02-07 17:22:04 UTC
confirmed here at  the tinderbox
Comment 13 Amy Liffey gentoo-dev 2016-06-16 20:13:25 UTC
author	dracwyrm <j.scruggs@gmail.com>	2016-06-16 16:06:25 (GMT)
committer	Amy Winston <amynka@gentoo.org>	2016-06-16 19:59:54 (GMT)
commit	58ae358937ae0c36da5f1d30cbd1aec644c1b76e

media-gfx/blender: bug fixes and update metadata.xml
Gentoo Bugs: 533514, 523928, 585730
Updated metadata.xml with new proxy maintainers
Switched to EAPI 6
Added in doc building hack for binary drivers