[cfarm-users] Two problems on the gcc119 machine

Paul H. Hargrove phhargrove at lbl.gov
Mon Sep 19 20:41:31 CEST 2022


Bruno,

Regarding `vi`, you may wish to try setting
environment variable `TMPDIR=/tmp` or `TMPDIR=$HOME`.
While I've not tested gcc119 specifically, this is *usually* the right way
to control the location used for temporary files.
Of course, given that this is AIX, YMMV.

-Paul

On Sun, Sep 18, 2022 at 7:15 AM Bruno Haible via cfarm-users <
cfarm-users at lists.tetaneutral.net> wrote:

> 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
>
>
>
> _______________________________________________
> cfarm-users mailing list
> cfarm-users at lists.tetaneutral.net
> https://lists.tetaneutral.net/listinfo/cfarm-users
>


-- 
Paul H. Hargrove <PHHargrove at lbl.gov>
Pronouns: he, him, his
Computer Languages & Systems Software (CLaSS) Group
Computer Science Department
Lawrence Berkeley National Laboratory
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tetaneutral.net/pipermail/cfarm-users/attachments/20220919/b5a9df61/attachment.htm>


More information about the cfarm-users mailing list