Re: Trouble with libUtil.so
Thanks! This patched also fixed the problem with libUtil.dylib that I had on x86_64-apple-darwin14.1.0 ( Mac OS X 10.10.2 ). Had to install swig with homebrew first, seems to be working now. Cheers, Eric Eric Björkvall CEO Björkvall Son AB On 11 feb 2015, at 22:22, Debra S Baddorf badd...@fnal.gov wrote: Perfect!Thanks — the patch completely fixed my problems too. So I’ll run amanda 3.3.7 here, too, on my server.Client nodes take longer to catch up. Scientific Linux Fermi release 6.4 (Ramsey) SLF 6.4 (Fermilab authors and offers a package of the scientific bits based on RedHat) Deb Baddorf Fermilab On Feb 11, 2015, at 12:07 PM, Jean-Louis Martineau martin...@zmanda.com wrote: On 02/11/2015 12:55 PM, Debra S Baddorf wrote: Oh — wake up call for me — I had just that same error trying to compile amanda 3.3.7 on my RedHat based system two days ago. Scientific Linux Fermi release 6.4 (Ramsey) (Oh, you said RHEL 5.11 so that’s RedHat too). This reply no longer contains the patch. Jean-Louis, can you send the patch again, and I’ll try again on amanda 3.3.7 ? Deb Baddorf Fermilab On Feb 11, 2015, at 11:27 AM, Bernhard Erdmann b...@berdmann.de wrote: Hello Jean-Louis, thanks for your patch. It helped me to get amanda 3.3.7 up and running on an RHEL 5.11 machine. Without your patch, I had the same problem as Jens. Am 26.01.15 um 16:14 schrieb Jean-Louis Martineau: Jens, Try the attached patch. Jean-Louis On 01/26/2015 10:00 AM, Jens Berg wrote: Hi list, I compiled amanda 3.3.7 from source which completed successfully. However, each time I run a command which utilizes libUtil.so, e.g. amlabel or amcheck I get the following error message: /usr/bin/perl: symbol lookup error: /usr/local/share/perl/5.14.2/auto/Amanda/Util/libUtil.so: undefined symbol: struct_file_lock_lock /usr/bin/perl -v tells me it's a 5.14.2 Looks like some SWIG weirdness to me but I'm not experienced enough to figure out what the real problem is. Do I miss a library or the path to it? I already did make clean; make; sudo make install but without success. The system I run amanda on is the same machine I used for compiling. It's a Debian 7.8.0 32-bit (3.2.0-4-686-pae #1 SMP Debian 3.2.65-1+deb7u1 i686 GNU/Linux) with Perl 5.14.2 and gcc (Debian 4.7.2-5) 4.7.2 Any ideas what could be wrong? Jens struct-swg.diff
Re: Trouble with libUtil.so
Am 15.02.2015 um 12:09 schrieb Eric Björkvall: Thanks! This patched also fixed the problem with libUtil.dylib that I had on x86_64-apple-darwin14.1.0 ( Mac OS X 10.10.2 ). Had to install swig with homebrew first, seems to be working now. Will this give a new release soon, with the patch included? Is swig now a dependency? I ask because we at gentoo currently also modify our ebuilds to fix this: https://bugs.gentoo.org/show_bug.cgi?id=537248 thanks, Stefan
notify when library is running out of tapes
How do you all handle refilling your library's magazines? It would helpful to be notified when the library holds less than N reusable tapes (or $tapes for N runs). Not every library holds all the tapes configured for one config and amanda shouldn't run out of reusable tapes on saturday ... Is there a clever way to do it with amanda's own tools or does it need a helper script? Thanks for any examples, Stefan
Re: Trouble with libUtil.so
On 02/15/2015 10:46 AM, Stefan G. Weichinger wrote: Am 15.02.2015 um 12:09 schrieb Eric Björkvall: Thanks! This patched also fixed the problem with libUtil.dylib that I had on x86_64-apple-darwin14.1.0 ( Mac OS X 10.10.2 ). Had to install swig with homebrew first, seems to be working now. Will this give a new release soon, with the patch included? I will make a new release this week with only the patch to the *.swg files. Is swig now a dependency? swig should not be required since the tarball include all swig generated files. swig is required only because you apply a patch to some *.swg files or you touch them. I ask because we at gentoo currently also modify our ebuilds to fix this: https://bugs.gentoo.org/show_bug.cgi?id=537248 thanks, Stefan
Re: Trouble with libUtil.so
On 15.02.2015 17:12, Jean-Louis Martineau wrote: On 02/15/2015 10:46 AM, Stefan G. Weichinger wrote: Am 15.02.2015 um 12:09 schrieb Eric Björkvall: Thanks! This patched also fixed the problem with libUtil.dylib that I had on x86_64-apple-darwin14.1.0 ( Mac OS X 10.10.2 ). Had to install swig with homebrew first, seems to be working now. Will this give a new release soon, with the patch included? I will make a new release this week with only the patch to the *.swg files. Is swig now a dependency? swig should not be required since the tarball include all swig generated files. swig is required only because you apply a patch to some *.swg files or you touch them. thanks for the infos!
Re: Trouble with libUtil.so
On 15.02.2015 21:45, Jean-Louis Martineau wrote: Stefan, I made a new 3.3.7p1 release!!! It also include a new fix for swig-3.0.5. I appreciate if you can test it before I announce it to mailing list. The fix in the comment #6 to require swig is not required. The swig files should be correctly generated this time. You can download it from: https://sourceforge.net/projects/amanda/files/amanda%20-%20stable/3.3.7p1/ OK, patched my local overlay back to: * don't apply that patch * don't depend on swig * don't do that *.swg cleanup The naming convention of upstream amanda always gives me some headache (- vs. _ ...), but the latest ebuild up here compiles fine, with or without swig installed: https://github.com/stefangweichinger/gentoo-overlay/tree/master/app-backup/amanda (amcheck works fine ... will do some amflush next) Thanks, regards, Stefan
Re: Trouble with libUtil.so
Stefan, I made a new 3.3.7p1 release!!! It also include a new fix for swig-3.0.5. I appreciate if you can test it before I announce it to mailing list. The fix in the comment #6 to require swig is not required. The swig files should be correctly generated this time. You can download it from: https://sourceforge.net/projects/amanda/files/amanda%20-%20stable/3.3.7p1/ Jean-Louis On 02/15/2015 10:46 AM, Stefan G. Weichinger wrote: Am 15.02.2015 um 12:09 schrieb Eric Björkvall: Thanks! This patched also fixed the problem with libUtil.dylib that I had on x86_64-apple-darwin14.1.0 ( Mac OS X 10.10.2 ). Had to install swig with homebrew first, seems to be working now. Will this give a new release soon, with the patch included? Is swig now a dependency? I ask because we at gentoo currently also modify our ebuilds to fix this: https://bugs.gentoo.org/show_bug.cgi?id=537248 thanks, Stefan