{$linklib xxx} would link libxxx.so so you already do it right. The problem might be in your code then. What's the linker error? -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/library-questions-tp4594218p4596667.html Sent from the Free Pascal - General mailing list archive at Nabble.com.