Compound 4 is a potent competitive inhibitor with K(i) values of 1.5 microM for Caldocellum saccharolyticum beta-glucosidase and 2.2 microM for bovine liver beta-galactosidase.