Hello,

sob., 1 sty 2022 o 23:52 Phil Stracchino <ph...@caerllewys.net> napisał(a):

> (...)
> /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
>
> ../lib/libbac.a(plugins.o): in function `load_plugins(void*, void*, char
> const*, char const*, bool (*)(Plugin*))':
> /netstore/src/bacula-11.0.5/src/lib/plugins.c:150: warning: Using
> 'dlopen' in statically linked applications requires at runtime the
> shared libraries from the glibc version used for linking
>

As I understand this issue is that glibc does not support dlopen with
static linking as the code which implements dlopen is dynamically linked
only.
I could be very wrong about my understanding.


> /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
>
> cannot find -lssl
> /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
>
> cannot find -lcrypto
> /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
>
> cannot find -lcap
> /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
>
> cannot find -llzo2
> collect2: error: ld returned 1 exit status
> make[1]: *** [Makefile:240: static-bacula-fd] Error 1
>
>
> Do we actually still support static builds?
>

I think it is not very well maintained as very few users require and use it.
The solution to it would be to disable a plugin support. I'm not sure if
such an option is currently available.

best regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to