wget-dev
[Top][All Lists]
Advanced

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

Re: wget2 | Document how to static build wget2 (#482)


From: rmoghadam (@chromer030)
Subject: Re: wget2 | Document how to static build wget2 (#482)
Date: Tue, 10 Jan 2023 08:09:03 +0000



rmoghadam commented:


Getting error while build in Arch Linux :

```
  CC       batch_loader.o
  CCLD     batch_loader
/usr/bin/ld: cannot find -lidn2: No such file or directory
/usr/bin/ld: cannot find -lzstd: No such file or directory
/usr/bin/ld: cannot find -lbrotlidec: No such file or directory
/usr/bin/ld: cannot find -lgpgme: No such file or directory
/usr/bin/ld: cannot find -lnghttp2: No such file or directory
/usr/bin/ld: cannot find -lpsl: No such file or directory
/usr/bin/ld: cannot find -lnettle: No such file or directory
/usr/bin/ld: cannot find -lgnutls: No such file or directory
/usr/bin/ld: ../libwget/.libs/libwget.a(libwget_la-dns.o): in function 
`resolve':
dns.c:(.text+0x38c): warning: Using 'getaddrinfo' in statically linked 
applications requires at runtime the shared libraries from the glibc version 
used for linking
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:1930: batch_loader] Error 1
make[2]: Leaving directory 'examples'
make[1]: *** [Makefile:1861: all-recursive] Error 1
make[1]: Leaving directory 'wget2'
make: *** [Makefile:1769: all] Error 2
make LDFLAGS="-all-static"  10.17s user 2.76s system 101% cpu 12.776 total
```

-- 
Reply to this email directly or view it on GitLab: 
https://gitlab.com/gnuwget/wget2/-/issues/482#note_1233551992
You're receiving this email because of your account on gitlab.com.




reply via email to

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