Zhehong Ying <[EMAIL PROTECTED]> writes: > Then I moved the "wget" directory (sub-directory bin etc info man > share) into a staging box (AIX 5.1.0.0). There is no gcc installed > in the staging box because we can not install a C compiler in this > box for security. > > Then by running bin/wget as a non-root, I got errors as > > wget/bin# ./wget > exec(): 0509-036 Cannot load program ./wget because of the following > errors: > 0509-130 Symbol resolution failed for wget because: > 0509-136 Symbol strcmp (number 134) is not exported from > dependent module /usr/lib/libintl.a(shr.o). > 0509-136 Symbol bcopy (number 135) is not exported from > dependent module /usr/lib/libintl.a(shr.o). > 0509-192 Examine .loader section symbols with the > 'dump -Tv' command. > > I have /usr/lib/libintl.a file in the directory.
I don't understand the intricacies of the AIX linker, so I can only offer guesswork. The error seems to be related to libintl.a, so the first thing I'd try is configuring Wget with `--disable-nls'. > How to fix for such errors without installing gcc in the box? Wget doesn't require GCC to build -- it should compile fine with the native (or a third-party) compiler. If you don't have any C compiler on the system, at least consider compiling Wget on a box running the same version of AIX.
