I will try the makefile you sent, but there's another method:
1. Unpack the source for php4.0.x
2. configure and compile it, BUT DO NOT INSTALL!!!
Now! 🙂
3. cd into the extensions directory, you will find the libodbc.so and all the other modules you requested during the configuration 🙂))), just copy the needed #.so file, and voila! It works 🙂)))
Thnx for the advices, and happy coding 🙂
Lehel