Hi, > We've been poking around, getting to grips with how all this stuff > works, doing some test builds of easy stuff on things that aren't linux, > as "that's not Linux" is very much our focus. Tried to do a test build > of libarchive on AIX on cfarm111, and it seemed to build fine, then we got: > > exec(): 0509-036 Cannot load program ./.libs/bsdtar because of the > following errors: > 0509-151 The program does not have an entry point or > the o_snentry field in the auxiliary header is invalid. > 0509-194 Examine file headers with the 'dump -ohv' command.
It looks like the package uses libtool, and probably there's some mix between 32-bit specific options and 64-bit specific options. The 4 known working configurations [1] on this machine are: 32-bit, xlc: CC="xlc -qthreaded -qtls"; CXX="xlC -qthreaded -qtls"; export CC CXX unset AR unset NM 64-bit, xlc: CC="xlc -q64 -qthreaded -qtls"; CXX="xlC -q64 -qthreaded -qtls"; AR="ar -X 64"; NM="nm -X 64 -B"; export CC CXX AR NM 32-bit, gcc: CC="gcc"; CXX="g++"; export CC CXX unset AR unset NM 64-bit, gcc: CC="gcc -maix64"; CXX="g++ -maix64"; AR="ar -X 64"; NM="nm -X 64 -B"; export CC CXX AR NM The variables AR and NM are needed by libtool. Bruno [1] https://gitlab.com/ghwiki/gnow-how/-/wikis/Platforms/Configuration _______________________________________________ cfarm-users mailing list cfarm-users@lists.tetaneutral.net https://lists.tetaneutral.net/listinfo/cfarm-users