I get the same error on debian wheezy where the portaudio version is: PortAudio V19-devel (built Dec 7 2011 23:15:44) dmd pa_test2.d -L-lportaudio pa_test2.o: In function `_Dmain': pa_test2.d:(.text._Dmain+0x22): undefined reference to `_D6deimos9portaudio18PaStreamParameters6__initZ' collect2: ld returned 1 exit status --- errorlevel 1