Benzamide (II) was prepared by treatment of the benzotriazolyl ester (I) with ammonium hydroxide in DMF. Dehydration of amide (II) with phosphorus oxychloride gave rise to nitrile (III), and subsequent addition of hydroxylamine to the cyano group of (III) furnished the N-hydroxybenzamidine (IV). Cyclization of (IV) with methyl 2-piperidineacetate (V) in the presence of NaH produced the oxadiazole compound (VI). Racemic (VI) was resolved employing L-ditoluoyltartaric acid, and the desired (S)-enantiomer was finally converted to the corresponding hydrochloride salt.