[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: Benno Schulenberg
Subject: Re: lib file format not recognized, with or without libc-musl
Date: Thu, 6 May 2021 17:06:10 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

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.


Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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