2009/11/16 Jonas Maebe <jonas.ma...@elis.ugent.be>: > You may want to use at least FPC 2.2.4, several bugs related to dynamic > libraries on *nix platforms were fixed there.
Thanks for your answer! - I updated to FPC 2.2.4 (*) but the inconsistency message is still there. The same happened when I tested on another (VM) machine. <pre> cha...@devmachine:/data/hs$ fpc -CD TestShlib.pas Free Pascal Compiler version 2.2.4-3 [2009/06/03] for i386 Copyright (c) 1993-2008 by Florian Klaempfl Target OS: Linux for i386 Compiling TestShlib.pas Linking libTestShlib.so 11 lines compiled, 0.1 sec cha...@devmachine:/data/hs$ fpc -k"-R ." -k"-lTestShlib" TestExe.pas Free Pascal Compiler version 2.2.4-3 [2009/06/03] for i386 Copyright (c) 1993-2008 by Florian Klaempfl Target OS: Linux for i386 Compiling TestExe.pas Linking TestExe 8 lines compiled, 0.0 sec cha...@devmachine:/data/hs$ ./TestExe hello 42 Inconsistency detected by ld.so: dl-fini.c: 195: _dl_fini: Assertion `ns != 0 || i == nloaded' failed! </pre> Hans-Peter (*) wget http://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20i386%20DEB/Lazarus%200.9.28.2/fpc-2.2.4-3.i386.deb.tar/download _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel