Tanakh does not say anything against astrology per se. There are numerous astrological customs and ideas in the Talmud, in the books of the Jewish religious law and definitely in Kabbalah. There is some astrological material in Saadya Gaon's commentary on Seyfer Yetsirah (the Book of Creation)...