See: http://bugs.freepascal.org/view.php?id=26454
2016-06-08 13:08 GMT-03:00 Martin Waller <[email protected]>: > Hi, > > > > I’ve been trying to build and load dynamically a simple shared library > using Lazarus and the FPC. At the moment I have a simple one function > shared library that compiles and builds cleanly and I have a couple of > lines to try and load the library. > > > > It consistently returns a handle of zero. The associated error from > GetLoadErrorStr is “No such file or directory”. Using objdump I can see > that the library needs ld-linus-armhf.so.3 and that is in the /lib folder. > > > > If I replace the library name with a shared library in the same folder > generated using the C compiler then it loads fine. > > > > The only different that I can see in that the Lazarus generated shared > library has the soft-float ABI flag set and the C library has the > hard-float ABI flag set! > > > > Does anyone have any clues as to why this can fail. > > > > Martin > > -- > _______________________________________________ > Lazarus mailing list > [email protected] > http://lists.lazarus-ide.org/listinfo/lazarus > > -- The best regards, Fabio Luis Girardi PascalSCADA Project http://sourceforge.net/projects/pascalscada http://www.pascalscada.com
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus-ide.org/listinfo/lazarus
