There are a couple of solutions that have been developed for portable music players, namely "Replay Gain" and iTunes "Sound Check", but to date there has been nothing for Audacity.
This is my attempt to address this omission.
The plug-in should be installed in the normal way by putting it in the Audacity plug-ins folder and restarting Audacity.
Brief instructions of how to use this effect are written at the top of the plug-in interface, but if anyone has questions, please ask here.
This is an experimental plug-in so please don't expect perfection
My initial test have produced reasonably good results over a broad range of material, but I would be very interested to hear how others get on with it.
Achieving equal loudness automatically is quite tricky as "loudness" is a subjective measurement. This plug-in can only be developed further if there is feedback from people using it, so please give it a go and post some feedback.