Tertiary alcohols can be converted to tertiary carboxylic acids with CO and H2SO4 (Koch-Haaf hydrocarboxylation). The source of CO can be formic acid or oxalic acid. See attached document...
It'd be simple enough to convert this into the ethyl ester by working up with EtOH. It would be similar structurally to the propionic ester, except the the carbonyl carbon in the carboxyl would be bonded to the main loperamide structure as opposed to the ethyl.
It would be much easier to prepare the des-chloro compound without that benzylic hydroxyl to worry about.
It'd be simple enough to convert this into the ethyl ester by working up with EtOH. It would be similar structurally to the propionic ester, except the the carbonyl carbon in the carboxyl would be bonded to the main loperamide structure as opposed to the ethyl.
It would be much easier to prepare the des-chloro compound without that benzylic hydroxyl to worry about.


Please note the correction for the above (and I will go fix it now...), it may bee more prudent to keep the formate to halide ratio at 1:1.
And that was while I certainly had aftereffects from methadone still present in my neurons. I'm sure if I had kept to classic opiates for a few weeks and then dropped the DCP-L it would have been even more pronounced.