Problem installing bareos16-client and -client-static

Paul Schmehl pschmehl_lists at tx.rr.com
Thu Mar 5 02:33:23 UTC 2020


I'm running 11.3-RELEASE-p3. The portmaster upgrade and a basic install 
of bareos-client and -client-static fails with an openssl error:

/usr/bin/ld: warning: libssl.so.9, needed by 
/usr/local/lib/libbareoscfg.so, not found (try using -rpath or -rpath-link)
/usr/local/lib/libbareos.so: undefined reference to 
`CRYPTO_set_locking_callback'
/usr/local/lib/libbareos.so: undefined reference to `ERR_free_strings'
/usr/local/lib/libbareos.so: undefined reference to `CRYPTO_num_locks'
/usr/local/lib/libbareos.so: undefined reference to `sk_value'
/usr/local/lib/libbareos.so: undefined reference to `sk_push'
/usr/local/lib/libbareos.so: undefined reference to `ENGINE_cleanup'
/usr/local/lib/libbareos.so: undefined reference to `SSL_library_init'
/usr/local/lib/libbareos.so: undefined reference to `SSLv23_method'
/usr/local/lib/libbareos.so: undefined reference to `CRYPTO_set_id_callback'
/usr/local/lib/libbareos.so: undefined reference to `EVP_MD_CTX_cleanup'
/usr/local/lib/libbareos.so: undefined reference to 
`CRYPTO_set_dynlock_destroy_callback'
/usr/local/lib/libbareos.so: undefined reference to `RAND_cleanup'
/usr/local/lib/libbareos.so: undefined reference to 
`CRYPTO_set_dynlock_lock_callback'
/usr/local/lib/libbareos.so: undefined reference to 
`OPENSSL_add_all_algorithms_noconf'
/usr/local/lib/libbareos.so: undefined reference to `EVP_cleanup'
/usr/local/lib/libbareos.so: undefined reference to `sk_num'
/usr/local/lib/libbareos.so: undefined reference to `EVP_MD_CTX_init'
/usr/local/lib/libbareos.so: undefined reference to `SSL_load_error_strings'
/usr/local/lib/libbareos.so: undefined reference to `CRYPTO_add_lock'
/usr/local/lib/libbareos.so: undefined reference to 
`CRYPTO_set_dynlock_create_callback'
c++: error: linker command failed with exit code 1 (use -v to see 
invocation)
*** [bareos-fd] Error code 1

make[3]: stopped in 
/usr/ports/sysutils/bareos16-client-static/work/bareos-Release-16.2.9/src/filed
--- static-bareos-fd ---
strip static-bareos-fd

I uninstalled and reinstalled the port version of openssl, but it made 
no difference. This is what's in /usr/local/lib: libssl.a      
libssl.so     libssl.so.11  libssl3.so

Obviously, libssl.so.9 is not there. I tried creating a symlink from 
libssl.so.11, but that generates different errors.

c++: error: linker command failed with exit code 1 (use -v to see 
invocation)
*** [bareos-fd] Error code 1

make[3]: stopped in 
/usr/ports/sysutils/bareos16-client-static/work/bareos-Release-16.2.9/src/filed
--- static-bareos-fd ---
strip static-bareos-fd
1 error

How do I fix this?

-- 
Paul Schmehl, Retired
My opinions are my own.
*******************************************
"It is as useless to argue with those who have
renounced the use of reason as to administer
medication to the dead." Thomas Jefferson
"There are some ideas so wrong that only a very
intelligent person could believe in them." George Orwell



More information about the freebsd-questions mailing list