Re: Amanda 2.6.1p2 on AIX 5.3, undefined symbol ".full_write"

2010-07-23 Thread Dustin J. Mitchell
On Fri, Jul 23, 2010 at 9:39 AM, OLOPS Daniel (MM) wrote: > - Compile my on glib (that's the kind of voodoo I would prefer to avoid!): My > compilation attempt was unsuccessful, so I installed an older version > (2.12.4) from IBM which doesn't face the "-qthreaded" problem, but even so > Amanda

RE: Amanda 2.6.1p2 on AIX 5.3, undefined symbol ".full_write"

2010-07-23 Thread OLOPS Daniel (MM)
Well, I'm back. According to my previous e-mail, here are the tests' results: - Include the path to pthread in the Makefiles: FAIL - Configure with "--disable-treads" and remove all occurrences of "-qthreaded": FAIL - Compile my on glib (that's the kind of voodoo I would prefer to avoid!): My co

RE: Amanda 2.6.1p2 on AIX 5.3, undefined symbol ".full_write"

2010-07-13 Thread OLOPS Daniel (MM)
Ops, that's 'device-src', not 'tape-src'. There's a gotcha about "-pthread" I didn't take in account. According to that link at IBM: "When compiling and linking with -pthread, the library search path should include -L/usr/lib/threads at the beginning of the path. (...) The threads subdirectory

Re: Amanda 2.6.1p2 on AIX 5.3, undefined symbol ".full_write"

2010-07-13 Thread Dustin J. Mitchell
On Tue, Jul 13, 2010 at 9:38 AM, OLOPS Daniel (MM) wrote: > The parameters passed to the configure script were: "--with-user=amanda > --with-group=system --with-amandahosts --without-ipv6". Its output is > attached. Then I did some hacking as proposed by "vincent" on this post at > Zmanda Forum

RE: Amanda 2.6.1p2 on AIX 5.3, undefined symbol ".full_write"

2010-07-13 Thread OLOPS Daniel (MM)
If I did that (to instruct GCC to link libraries statically), then it was not made consciously :) The parameters passed to the configure script were: "--with-user=amanda --with-group=system --with-amandahosts --without-ipv6". Its output is attached. Then I did some hacking as proposed by "vince

Re: Amanda 2.6.1p2 on AIX 5.3, undefined symbol ".full_write"

2010-07-12 Thread Dustin J. Mitchell
On Mon, Jul 12, 2010 at 2:46 PM, Dustin J. Mitchell wrote: > Did you pass any flags to the configure/make invocations that would > cause it to create static libraries instead of shared objects? Incidentally, have you looked at http://wiki.zmanda.com/index.php/Installation/OS_Specific_Notes/Ins

RE: Amanda 2.6.1p2 on AIX 5.3, undefined symbol ".full_write"

2010-07-12 Thread OLOPS Daniel (MM)
AIX does support shared libraries, but there are some differences compared to System V. There is some useful information in this link: http://www.ibm.com/developerworks/aix/library/au-gnu.html#N101DB Since I'm not a developer, that information looks like a bit cryptic to me. Daniel Esta mensag

Re: Amanda 2.6.1p2 on AIX 5.3, undefined symbol ".full_write"

2010-07-12 Thread Dustin J. Mitchell
On Mon, Jul 12, 2010 at 2:13 PM, OLOPS Daniel (MM) wrote: > AIX does support shared libraries, but there are some differences compared to > System V. There is some useful information in this link: > > http://www.ibm.com/developerworks/aix/library/au-gnu.html#N101DB > > Since I'm not a developer,

Re: Amanda 2.6.1p2 on AIX 5.3, undefined symbol ".full_write"

2010-07-12 Thread Dustin J. Mitchell
On Mon, Jul 12, 2010 at 1:38 PM, OLOPS Daniel (MM) wrote: > No, just the version I said. Is there any log file useful in this case? Here's the error message: Can't load '/usr/opt/perl5/lib/site_perl/5.8.2/auto/Amanda/Debug/libDebug.a' for module Amanda::Debug: 0509-022 Cannot load module /

RE: Amanda 2.6.1p2 on AIX 5.3, undefined symbol ".full_write"

2010-07-12 Thread OLOPS Daniel (MM)
No, just the version I said. Is there any log file useful in this case? Daniel Esta mensagem - incluindo seus anexos - pode conter informação proprietária, confidencial e/ou legalmente protegida, e, destina-se exclusivamente ao uso do(s) destinatário(s) designado(s) acima. Se você não for o des

RE: Amanda 2.6.1p2 on AIX 5.3, undefined symbol ".full_write"

2010-07-12 Thread OLOPS Daniel (MM)
Sorry, I forgot to attach the file... here it is. Daniel Esta mensagem - incluindo seus anexos - pode conter informação proprietária, confidencial e/ou legalmente protegida, e, destina-se exclusivamente ao uso do(s) destinatário(s) designado(s) acima. Se você não for o destinatário, deve estar

Re: Amanda 2.6.1p2 on AIX 5.3, undefined symbol ".full_write"

2010-07-12 Thread Dustin J. Mitchell
It looks like you've built Amanda against one instance of, but are running it against another. Do you have multiple perl's installed? Dustin -- Open Source Storage Engineer http://www.zmanda.com

RE: Amanda 2.6.1p2 on AIX 5.3, undefined symbol ".full_write"

2010-07-12 Thread OLOPS Daniel (MM)
Good news: I managed to compile Amanda on AIX, both client and server :-) I'll summarize the steps later; for now, I need to correct some errors and clean things up. When I try to do an amlabel, it throws an unexpected EOF. Looking at the debug output, I could see a Perl-related error regarding

Re: Amanda 2.6.1p2 on AIX 5.3, undefined symbol ".full_write"

2010-07-05 Thread Dustin J. Mitchell
On Mon, Jul 5, 2010 at 1:52 PM, OLOPS Daniel (MM) wrote: > BTW, could I just cross-compile Amanda statically? I never did it before, > seems pretty promising... Amanda uses dynamic linking to interface with Perl code, so static linking is no longer possible. Dustin -- Open Source Storage Engi

RE: Amanda 2.6.1p2 on AIX 5.3, undefined symbol ".full_write"

2010-07-05 Thread OLOPS Daniel (MM)
gunda-feira, 5 de julho de 2010 12:06 To: OLOPS Daniel (MM) Cc: amanda-users@amanda.org Subject: Re: Amanda 2.6.1p2 on AIX 5.3, undefined symbol ".full_write" On Mon, Jul 5, 2010 at 7:55 AM, OLOPS Daniel (MM) wrote: > I'm setting a battle here trying to compile Amanda on AIX.

Re: Amanda 2.6.1p2 on AIX 5.3, undefined symbol ".full_write"

2010-07-05 Thread Dustin J. Mitchell
On Mon, Jul 5, 2010 at 7:55 AM, OLOPS Daniel (MM) wrote: > I'm setting a battle here trying to compile Amanda on AIX. Yes, I know this > is rather difficult due to dependency problems, but I'm confident :) It's been done before, if that helps. Sadly, the AIX section of http://wiki.zmanda.com/in

Amanda 2.6.1p2 on AIX 5.3, undefined symbol ".full_write"

2010-07-05 Thread OLOPS Daniel (MM)
Hello, I'm setting a battle here trying to compile Amanda on AIX. Yes, I know this is rather difficult due to dependency problems, but I'm confident :) I'm working with an IBM p520 running AIX 5.3. The Amanda version chosen is 2.6.1p2 (tried 3.1.0 before, it was even worse to compile). A pletho