On Wed, 18 Sep 2013, Xiangrong Fang wrote: > > where is thostmduserapi.so ? > > Michael. > > > This file is under libthost folder, I copied it to pasintf folder then use fpc to compile demo.pas. I think you should try to pass the name of the folder where libthost is to the linker. -FL/path/to/libthost Michael.