[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lib file format not recognized, with or without libc-musl

From: Colin MacIntyre
Subject: Re: lib file format not recognized, with or without libc-musl
Date: Tue, 11 May 2021 18:15:57 +0000 (UTC)

On Thursday, May 6, 2021, 9:07:47 a.m. MDT, Benno Schulenberg <> wrote:

The nano-devel mailing list is not a help forum.  In future, please
send any requests for help with build problems to the help-nano list.

Op 05-05-2021 om 17:21 schreef Badli:
> I got the following error message when compiling nano with or without lib-musl.
> gcc  -march=silvermont -mtune=silvermont -O2 -pipe -Wall  -o nano browser.o chars.o color.o cut.o files.o global.o help.o history.o move.o nano.o prompt.o rcfile.o search.o text.o utils.o winio.o ../lib/libgnu.a  -L/usr/local/musl/lib /usr/local/musl/lib -lncursesw -ltinfo
> /usr/bin/ld: cannot find /usr/local/musl/lib: file format not recognized
> [...]
> i had double check the Makefile it contains the CPPFLAGS and CURSES_LIB
> CPPFLAGS = -I/usr/local/musl/include/ncursesw -I/usr/local/musl/include
> CURSES_LIB = -L/usr/local/musl/lib /usr/local/musl/lib -lncursesw -ltinfo
> I had remove the above musl and use glibc but it still gives the "ld: cannot find
> /usr/lib: file format not recognized".
> I am using nano 5.7 tarball, previously i can compile the 5.6.1 glibc and musl.

Can you now still build 5.6.1?  If not, something is wrong in your env.
If yes, then unpack 5.7 afresh and try again.  If it still fails, compare
the 5.6.1 and 5.7 config.log files.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]