The reaction of 3-chloropropanol (I) with 2,6-dimethylpiperazine (II) by means of Na2CO3 in refluxing glycol monomethyl ether gives 3-(3,5-dimethyl-1-piperazinyl)propanol (III), which by reaction with refluxing SOCl2 is converted into 3-(3,5-dimethylpiperazinyl)propyl chloride (IV). Finally, this compound is condensed with carbazole (V) by means of NaH in hot DMF; a final treatment with aqueous HCl yields the dihydrochloride.