avoid hidden/visible symbols by making this lib static
check for NULL error pointer (for k3b)