I saw this one a couple days back, on RH9. I fought mightily with it, thinking it was a path problem or something. I also had a problem with tDOM complaining about tcl not being thread safe at the same time. (A complete catalog of my middle-of-the-night misery may be found at
https://openacs.org/irc/log/2003-12-14.)
In the end, in disgust, I blew the whole src/tDOM directory away, unzipped a fresh copy, told it to compile again, and it worked beautifully. I think I had *something* weird cached somewhere from my first compile attempt, where I *did* have a path wrong.
Anyway, it might be worth a shot. If that isn't your first compile attempt, there might be something lurking from it...