Have you connected ALL inputs somewhere? There are three enable inputs (pins 4, 5 and 6) and three select inputs (pins 1, 2 and 3) and they all have to be connected to something.
Pins 4 and 5 must be low, and pin 6 must be high, to enable the IC. Pins 1 and 2 must be driven by your Raspberry...