"Can't find libc used by module loader" lazarus / 1-Linux ---------------------------------------------------------------------- skr · 2011-12-15 09:17 I have just installed Debian (64 bit NeuroDebian 6.05), downloaded Lazarus from http://sourceforge.net/projects/lazarus/files/Lazarus%20L inux%20x86_64%20RPM/, installed SDL (apt-get install libsdl1.2-dev) and then downloaded the JEDI-SDL libraries from sourceforge.net/projects/jedi-sdl. When I try to compile one of the demos (3d/Nehe/Tutorial2) I get the error "Can't find libc used by module loader". I'm a newbie when it comes to Linux so could someone tell me how I fix this? simon ---------------------------------------------------------------------- benohb · 2011-12-15 14:10 You do not need  installation ...It already exists Code: [Select]/usr/share/fpcsrc/2.4.4/packages/sdl or Code: [Select]/usr/share/fpcsrc/2.4.0/packages/sdl Check the installation of libc Code: [Select]sudo aptitude install build-essential This will help you http://jedi-sdl.pascalgamedevelopment.com/docs.php#Docs ---------------------------------------------------------------------- marcov · 2011-12-15 15:57 Quote from: skr on December 15, 2011, 10:17:37 amI have just installed Debian (64 bit NeuroDebian 6.05), downloaded Lazarus from http://sourc eforge.net/projects/lazarus/files/Lazarus%20Linux%20x86_64%20RPM/, installed SDL (apt-get install libsdl1.2-dev) and then downloaded the JEDI-SDL libraries from sourceforge.net/projects/jedi-sdl. When I try to compile one of the demos (3d/Nehe/Tutorial2) I get the error "Can't find libc used by module loader". Update the libraries so that they use FPC libraries. (examples in the URL below). libc is a Kylix compatibility unit that has been deprecated since 2003. (and was linux/x86 only to begin with) Some pointers and background info is at http://wiki.freepascal.org/libc_unit ---------------------------------------------------------------------- skr · 2011-12-16 16:29 Thanks for the responses. I'm still unclear how I fix this.  The FP link takes me to a page that tells me what alternatives there are.  I'd prefer not to start trying to do open-heart surgery on an existing unit (moduleloader which is part of JEDI-SDL).  Is there an updated version of moduleloader out there that does not use libc?  Or is there a simple fix? Btw, I also followed the pascalgamer link.  In theory that takes me to detailed instructions on JEDI-SDL installation on Linux.  The problem is the link takes me back to the front page. ---------------------------------------------------------------------- marcov · 2011-12-16 17:21 Quote from: skr on December 16, 2011, 05:29:18 pmThanks for the responses. I'm still unclear how I fix this.  The FP link takes me to a page that tells me what alternatives there are.  I'd prefer not to start trying to do open-heart surgery on an existing unit (moduleloader which is part of JEDI-SDL).  Is there an updated version of moduleloader out there that does not use libc?  Or is there a simple fix? Afaik a version of jedi-sdl comes with FPC (directory /packages/sdl ?)