[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] --without-libunistring-prefix may not be honored
From: |
Jeffrey Walton |
Subject: |
[Bug-wget] --without-libunistring-prefix may not be honored |
Date: |
Sat, 29 Dec 2018 02:18:46 -0500 |
Hi Everyone,
I'm testing a bootstrap build of Wget. It only includes (1) Wget, and
(2) OpenSSL; and nothing more. Wget static links to OpenSSL to avoid
those festering path problems that plague Linux.
Wget was configured with --prefix=$HOME/bootstrap and
--without-libunistring-prefix, but it appears config is picking up a
copy of libunistring in /usr/local:
address@hidden ldd $HOME/bootstrap/bin/wget
librt.so.1 => /lib/tls/librt.so.1 (0x00a46000)
libunistring.so.2 => not found
libc.so.6 => /lib/tls/libc.so.6 (0x00bb0000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x0013d000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00b98000)
The is no libunistring in /usr/lib.
Later, it causes a runtime failure because some genius thought it was
a good idea compile and link against a library, then lose the library
at runtime (or worse, link to the wrong library with the same name):
address@hidden $HOME/bootstrap/bin/wget --version
/home/jwalton/bootstrap/bin/wget: error while loading shared libraries:
libunistring.so.2: cannot open shared object file: No such file or directory
If I rm /usr/local then things work as expected.
I believe --without-libunistring-prefix is not being honored by the
configure scripts.
Jeff
- [Bug-wget] --without-libunistring-prefix may not be honored,
Jeffrey Walton <=