static binaries still not static

39 views
Skip to first unread message

Alfred Reibenschuh

unread,
Jul 8, 2021, 4:09:45 PM7/8/21
to klish
hello

i am following the instructions for a static build with:

---
./configure --prefix=/opt/klish --disable-shared --without-lua --without-libroxml --with-libexpat --without-libxml2 --without-libxslt --with-internal-getopt

make install LDFLAGS+=-all-static DESTDIR=./klish-root
---

ldd clish shows a static binary but running produces the following error:

---
Error: Can't open plugin "clish": clish_plugin_clish.so: cannot open shared object file: No such file or directory
---

how can i disable the dynamic loading of plugin clish ?

seams some chicken and egg problem ?

thanks in advance

--
T
Reply all
Reply to author
Forward
0 new messages