readme: clarify why we can't make static binaries

Make the statemant about not being able to statically link a less
general statement. It's not just cgo, we also only have shared objects
from ceph lib{rados,rbd,cephfs}.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2020-08-27 09:22:34 -04:00 committed by John Mulligan
parent f88b87eaab
commit c845565e1b
1 changed files with 2 additions and 1 deletions

View File

@ -40,7 +40,8 @@ go get github.com/ceph/go-ceph
Once compiled, code using go-ceph is expected to dynamically link to the Ceph
libraries. These libraries must be available on the system where the go based
binaries will be run. The use of cgo does not allow for fully static binaries.
binaries will be run. Our use of cgo and ceph libraries does not allow for
fully static binaries.
go-ceph tries to support different Ceph versions. However some functions might
only be available in recent versions, and others may be deprecated. In order to