[cfarm-users] Two problems on the gcc119 machine
Bruno Haible
bruno at clisp.org
Sun Sep 18 16:14:14 CEST 2022
On the gcc119 (AIX 7.2) machine, there are two problems:
1) The /var partition is full:
$ df -m /tmp /var/tmp
Filesystem MB blocks Free %Used Iused %Iused Mounted on
/dev/hd3 16384.00 12377.05 25% 132106 5% /tmp
/dev/hd9var 4096.00 0.00 100% 2440 33% /var
With no room on /var/tmp, 'vi' is inoperable. There is no 'vim' on this
machine. Therefore one has to use /opt/freeware/bin/emacs-nox instead.
2) A symbolic link for /usr/lib/libncurses.a exists, but linking with
this library produces a non-functional program:
$ cat conftest.c
extern int tgetent (char *, const char *);
int
main (void)
{
return tgetent ((char *) 0, "xterm");
}
$ xlc -q64 -lncurses conftest.c
$ ./a.out
exec(): 0509-036 Cannot load program ./a.out because of the following errors:
0509-022 Cannot load module /opt/freeware/lib/libncurses.a(libncurses.so.6).
0509-150 Dependent module libgcc_s.a(shr.o) could not be loaded.
0509-022 Cannot load module libgcc_s.a(shr.o).
0509-026 System error: A file or directory in the path name does not exist.
0509-022 Cannot load module a.out.
0509-150 Dependent module /opt/freeware/lib/libncurses.a(libncurses.so.6) could not be loaded.
$ ldd ./a.out
./a.out needs:
/usr/lib/libc.a(shr_64.o)
/usr/lib/libncurses.a(libncurses.so.6)
/unix
/usr/lib/libcrypt.a(shr_64.o)
Cannot find libgcc_s.a(shr.o)
Probably another symlink /usr/lib/libgcc_s.a -> /opt/freeware/lib/libgcc_s.a
will fix this problem.
Bruno
More information about the cfarm-users
mailing list