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.