View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014140VTK(No Category)public2013-06-22 10:542016-08-12 09:55
ReporterJustin 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0014140: vtk-6.0.0_rc3 fails with ../../bin/vtkProcessShader-6.0: error while loading shared libraries: libvtksys-6.0.so.1
Description[ 26%] Generating vtkCgShaderLibrary.h
cd /var/tmp/portage/sci-libs/vtk-6.0.0_rc3/work/vtk-6.0.0_rc3_build/Utilities/MaterialLibrary && ../../bin/vtkProcessShader-6.0 /var/tmp/portage/sci-libs/vtk-6.0.0_rc3/work/vtk-6.0.0_rc3_build/Utilities/MaterialLibrary/vtkCgShaderLibrary.h vtkShaderCG Code GetCode /var/tmp/portage/sci-libs/vtk-6.0.0_rc3/work/VTK6.0.0.rc3/Utilities/MaterialLibrary/CgShaders/FragmentTexture.cg /var/tmp/portage/sci-libs/vtk-6.0.0_rc3/work/VTK6.0.0.rc3/Utilities/MaterialLibrary/CgShaders/VertTexPassThrough.cg /var/tmp/portage/sci-libs/vtk-6.0.0_rc3/work/VTK6.0.0.rc3/Utilities/MaterialLibrary/CgShaders/VertPassThrough.cg /var/tmp/portage/sci-libs/vtk-6.0.0_rc3/work/VTK6.0.0.rc3/Utilities/MaterialLibrary/CgShaders/FragmentIsotropicTorranceSparrow.cg /var/tmp/portage/sci-libs/vtk-6.0.0_rc3/work/VTK6.0.0.rc3/Utilities/MaterialLibrary/CgShaders/cg_sinewave.cg /var/tmp/portage/sci-libs/vtk-6.0.0_rc3/work/VTK6.0.0.rc3/Utilities/MaterialLibrary/CgShaders/VertexLighting.cg /var/tmp/portage/sci-libs/vtk-6.0.0_rc3/work/VTK6.0.0.rc3/Utilities/MaterialLibrary/CgShaders/Twisted.cg
../../bin/vtkProcessShader-6.0: error while loading shared libraries: libvtksys-6.0.so.1: cannot open shared object file: No such file or directory
make[2]: *** [Utilities/MaterialLibrary/vtkCgShaderLibrary.h] Error 127
make[2]: Leaving directory `/var/tmp/portage/sci-libs/vtk-6.0.0_rc3/work/vtk-6.0.0_rc3_build'
make[1]: *** [Utilities/MaterialLibrary/CMakeFiles/vtkMaterialLibraryConfiguredFiles.dir/all] Error 2
make[1]: Leaving directory `/var/tmp/portage/sci-libs/vtk-6.0.0_rc3/work/vtk-6.0.0_rc3_build'
make: *** [all] Error 2
TagsNo tags attached.
ProjectTBD
Typeusability
Attached Fileslog file icon vtk-6.0.0_rc3:20130622-130400.log [^] (4,534,364 bytes) 2013-06-22 10:54

 Relationships

  Notes
(0031026)
Justin (reporter)
2013-06-22 10:54

Portage 2.2.0_alpha184 (default/linux/amd64/13.0, gcc-4.8.1-asneeded, glibc-2.17, 3.9.6-lh-r1 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.9.6-lh-r1-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem: 16345208 total, 277064 free
KiB Swap: 3987452 total, 3932388 free
Timestamp of tree: Sat, 22 Jun 2013 10:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
ccache version 3.1.9 [enabled]
app-shells/bash: 4.2_p45
dev-java/java-config: 2.2.0
dev-lang/python: 2.6.8-r1, 2.7.5, 3.1.5-r1, 3.2.5, 3.3.2
dev-util/ccache: 3.1.9-r1::science
dev-util/cmake: 2.8.11.1
dev-util/pkgconfig: 0.28
sys-apps/baselayout: 2.2
sys-apps/openrc: 0.11.8
sys-apps/sandbox: 2.6-r1
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.10.3, 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils: 2.23.1
sys-devel/gcc: 4.4.7, 4.5.4, 4.6.4, 4.7.3, 4.8.1
sys-devel/gcc-config: 1.8
sys-devel/libtool: 2.4.2
sys-devel/make: 3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc: 2.17
Repositories: gentoo sunrise bicatali betagarden dummy Neurogeek science Raspberry-Pi-Overlay last-hope g-ctan
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -ftracer -march=native -frecord-gcc-switches -g -Wimplicit-function-declaration"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/eselect/ /usr/share/gnupg/qualified.txt /usr/share/nano/ /var/lib/hsqldb /var/spool/munin-async/.ssh"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -ftracer -march=native -frecord-gcc-switches -g -Wenum-compare"
DISTDIR="/var/cache/portage/distfiles"
EMERGE_DEFAULT_OPTS=" -vt --keep-going --autounmask-write --autounmask --quiet-build=n"
FCFLAGS="-O2 -pipe -ftracer -march=native -frecord-gcc-switches -g"
FEATURES="assume-digests binpkg-logs buildsyspkg candy ccache collision-protect compressdebug distlocks ebuild-locks fixlafiles merge-sync metadata-transfer multilib-strict news noinfo parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms sign split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -ftracer -march=native -frecord-gcc-switches -g"
GENTOO_MIRRORS=" /mnt/tmpfs/ http://gentoo.j-schmitz.net/mirror/ [^] ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo [^] ftp://ftp.tu-clausthal.de/pub/linux/gentoo/" [^]
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common"
MAKEOPTS="-j12 -l9"
PKGDIR="/var/cache/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-z -e -9 -v"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/cache/portage/tree"
PORTDIR_OVERLAY="/local/overlays/sunrise-reviewed /local/overlays/bicatali /local/overlays/betagarden /local/overlays/dummy /local/overlays/neurogeek /local/overlays/sci /local/overlays/gen2pi /local/overlays/lh-overlay /local/overlays/g-ctan"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 avx bash-completion berkdb branding bzip2 cairo caps cli cracklib crypt cxx dbus dri fortran gdbm gif gmp gnome gnome-keyring gpm gstreamer gtk iconv icu ipv6 jpeg jpeg2k mmx mmxext modules mudflap multilib ncurses network-cron nls nptl nsplugin numa opengl openmp pam pcre pgo png pulseaudio qt3support raw readline session smp sse sse2 sse2_4way sse2check sse3 sse4 sse41 sse4_1 sse4_2 sse4a ssl ssse3 startup-notification tcpd threads tiff truetype unicode vaapi vdpau xinerama zlib" ABI_X86="64" ALSA_CARDS="hda-intel" 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" DRACUT_MODULES="plymouth" 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 ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer pdfimport scripting-javascript wiki-publisher nlpsolver" LINGUAS="en" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_conn limit_req map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi stub_status" OFFICE_IMPLEMENTATION="libreoffice" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_6 python2_7 python3_1 python3_2 python3_3 pypy1_9 pypy2_0" QEMU_SOFTMMU_TARGETS="i386 x86_64 arm armeb" QEMU_USER_TARGETS="i386 x86_64 arm armeb" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" 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"
USE_PYTHON="2.6 2.7 3.1 3.2 3.3 2.7-pypy-1.9 2.7-pypy-2.0"
Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS
(0031106)
Justin (reporter)
2013-06-30 08:48

This also happens with vtk-6.0.0.

It is a problem with clean installation where there is no lib installed before.
(0031108)
David Gobbi (developer)
2013-06-30 16:57

In the CMakeCache.txt that is generated, what is CMAKE_SKIP_RPATH set to?

The default for cmake is to set the rpath during the build so that all executables can find their libraries. However, if the CMAKE_SKIP_RPATH cmake variable is on, then the LD_LIBRARY_PATH environment variable must be set during the build.
(0031119)
Justin (reporter)
2013-07-08 08:59

It is set to on

//If set, runtime paths are not added when using shared libraries.
CMAKE_SKIP_RPATH:BOOL=YES


This is what our (Gentoo) cmake maintainers require at buildtime for cmake based packages.

Isn't there a way to pass LD_LIBRARY_PATH during execution of the command?
(0031120)
David Gobbi (developer)
2013-07-08 11:59

I'm no expert, but I think the only way to do it would be to write a shell script stand-in for the command that sets the environment variable before running the real command. Note that CMake doesn't actually execute the command, it creates a makefile that will execute the command when "make" is run.

Personally, I wish that build-time commands like vtkProcessShader did not depend on any VTK libraries... or depended only on static libraries.

I would suggest setting the LD_LIBRARY_PATH as part of the package generation script. All of the VTK libraries are put in the "lib" directory during the build.
(0033469)
Ben Boeckel (Kitware) (developer)
2014-10-02 11:39

The better solution is probably to set the CMake variables to skip the *install* rpaths (CMAKE_SKIP_INSTALL_RPATH); the build tree should be fine with rpath (they'll be stripped on install). Other than that, LD_LIBRARY_PATH is the best solution.
(0036267)
Berk Geveci (administrator)
2016-07-06 16:48

Setting to status of bugs that have not been updated in the last year to expired. Please re-open if still important.
(0037301)
Kitware Robot (administrator)
2016-08-12 09:55

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2013-06-22 10:54 Justin New Issue
2013-06-22 10:54 Justin File Added: vtk-6.0.0_rc3:20130622-130400.log
2013-06-22 10:54 Justin Note Added: 0031026
2013-06-30 08:48 Justin Note Added: 0031106
2013-06-30 16:57 David Gobbi Note Added: 0031108
2013-07-08 08:59 Justin Note Added: 0031119
2013-07-08 11:59 David Gobbi Note Added: 0031120
2014-10-02 11:39 Ben Boeckel (Kitware) Note Added: 0033469
2016-07-06 16:48 Berk Geveci Status backlog => expired
2016-07-06 16:48 Berk Geveci Note Added: 0036267
2016-08-12 09:55 Kitware Robot Note Added: 0037301
2016-08-12 09:55 Kitware Robot Status expired => closed
2016-08-12 09:55 Kitware Robot Resolution open => moved
2016-08-12 09:55 Kitware Robot Assigned To => Kitware Robot


Copyright © 2000 - 2018 MantisBT Team