Hi, thank you for the response, I'll try to do it as soon as possible.
For what I can see from the error message, I think it will definitely fix the problem I'm experiencing but however I hope to be useful pointing out that the problem I'm facing is somewhat different from:
Originally Posted by Almindor
The problem is that while the PBI packed (in this case Lazarus) application uses it's own "lib" dir in which it has all required libraries prepared, any "product" (your compiled application) will NOT use that directory.
since I experienced the impossibility of Lazarus (installed form .pbi) itself to complete the creation of an executable.
Compiling an application would progress properly (in the message window of lazarus I see that all the lines of the application copiles well) until the linking stage, then as usual I'll see the message that Lazarus is trying to link the application but after a while I see that linking failed because ld didn't found -lglib12.
In file manager I can see that in that way Lazarus was able to create the .o objects for the application but not the binary.
It seem that Lazarus itself has problem to access to gtk / glib if installed with the .pbi (however, afaik installing the required libraries from ports would fix that kind of problem too).