Actually, m2kio, this is a problem with the binary builds we distribute. I believe that for those, wxMac is built and linked as a static library, but libcurl is linked dynamically and a copy is distributed inside the aMule.app.
The problem then results from the fact that once a dynamic library is loaded, the OS doesn't unload it even after the program using it has quit. So, the library is "in use" and the Trash can't be emptied.
I don't know exactly why this decision was made. My version of Panther (10.3.8 ) includes libcurl 7.10.2. In fact, since I don't have an alternative libcurl installed, when I run the script being used to make the binaries it ends up just copying that OS-supplied library into the binary. I presume that at some point somebody determined (or assumed?) that this library would
not be available on all Panther installs. I don't know if that's correct.
Hmm. I poked around a bit. I listed the contents of the package receipts of system component installations (/Library/Receipts) and found that curl is only mentioned in the base packages representing the original OS install. It isn't mentioned in any updates. So, it seems that we can rely on a libcurl sufficient for aMule's purposes on any Panther install. Since our binaries currently only support Panther and later (not Jaguar), we should be able to remove this from the binaries. This will solve the current problem, make the binary distribution slightly smaller, maybe reduce redundant memory use, and avoid conflicts with the system library if Apple upgrades it in future OS versions. Very good, all around.
