[Top] [All Lists]

Re: 'comp' broke after fedora upgrade 29->30 | need help w/ Makefile targets

2019-12-08 18:50:02
On Sun 12/8/19 18:17 -0600 nmh@trodman.com wrote:
After upgrading from fedora 29 to fedora 30, I get

 $ command comp
 comp: error while loading shared libraries: libreadline.so.7: cannot open 
shared object file: No such file or directory

I built nmh using the tar file and make

 $ mhmail -version
 mhmail -- nmh-1.7.1 built 2018-05-19 10:39:15 +0000 on epjdn.zq3q.org

but the build was done in fedora 29 or earlier.

What is best way to fix?  I assume I should back up 
and then use make to remove the current install. How/which target?

This appears to be a way:

    $ ./configure
    $ make
    $ make install

'comp' is working again.  Is there a better way?


I did a 

    $ make -B

thinking I might be better off forcing a build of everything,
but that failed early:

    $ make -B; echo retval: $?
    CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh 
/usr/local/src/nmh/nmh-1.7.1/missing aclocal-1.15 -I m4
    /usr/local/src/nmh/nmh-1.7.1/missing: line 81: aclocal-1.15: command not 
    WARNING: 'aclocal-1.15' is missing on your system.
             You should only need it if you modified 'acinclude.m4' or
             'configure.ac' or m4 files included by 'configure.ac'.
             The 'aclocal' program is part of the GNU Automake package:
             It also requires GNU Autoconf, GNU m4 and Perl in order to run:
    make: *** [Makefile:1678: aclocal.m4] Error 127
    retval: 2
    $ rpm -q autoconf -q automake

so I re-ran

    $ make

which had almost nothing to do since, I had run it after configure earlier.
Then I did the 'make install'.

<Prev in Thread] Current Thread [Next in Thread>