the application WaveSurfer all versions complains that can't find snack 2.2 librarys and wavesurfer wont start and crash with an error. Reproducible: Always Steps to Reproduce: 1. emerge snack 2. emerge wavesurfer 3. from X windows/KDE run wavesurfer Actual Results: Error in startup script: can't find package snack while executing "package require snack" (file "/usr/lib/wsurf1.8/wsurf.tcl" line 10) invoked from within "_source /usr/lib/wsurf1.8/wsurf.tcl" ("uplevel" body line 1) invoked from within "uplevel _source [list $file]" (procedure "source" line 5) invoked from within "source /usr/lib/wsurf1.8/wsurf.tcl" ("package ifneeded" script) invoked from within "package require -exact wsurf $version" (file "/usr/bin/wavesurfer" line 2579) Expected Results: to run :-) we notes that snack installs his libraries under /lib INSTAED of /usr/lib so what we did in the mean time is a small hack linking: ln -s /lib/snack2.2 /usr/lib/snack2.2 run wavesurfer and it works.. We report this so the ebuild for SNACK can be fix to install in /usr/lib not on /usr. we are about to maintain 28 gentoo desktops and we will like this fix so we dont have to hack all instaltions. Thanks
Created attachment 71090 [details, diff] Adds --libdir=/usr/lib to myconf I doubt that this is acceptable for the mainstream tree, but here's a patch that will at least get snack working at your local site (i.e. installed at /usr/lib)
hmm they should make it official cause anyone in the world that will try to run wavesurfer will get this issue... is very easy to reproduce. thanks for the patch... but if you think about it.. if they not going to fix the ebuild is kind of better to just go ahead and do symlinks, if not just think about the tedious job to have 20 gentoo boxes and having to be modifing ebuilds. I kind of rather do symlinks. But really they should fix this so it will create the symlinks in the ebuild so other applications will be able to find Snack libs. Cheers
tcltk herd, why does it install in /lib ?
*** Bug 127165 has been marked as a duplicate of this bug. ***
Not a wavesurfer bug, snack needs to be fixed. Re-assigning.
export TCLLIBPATH="/lib/snack2.2" solved the problem for me (for bash).
Not so hard to fix, I guess? <snip> - inherit eutils + inherit eutils multilib ... - econf ${myconf} || die "configure failed" + econf ${myconf} --libdir="/usr/$(get_libdir)" --includedir="/usr/include" || die "configure failed" </snip>
sorry for delay. fixed it
*** Bug 136541 has been marked as a duplicate of this bug. ***
*** Bug 149275 has been marked as a duplicate of this bug. ***