I have made a DLL in Windows using the functionalities from leptonica (an imaging library) moderate them in my way as required with the attachment of other libraries (zlib, pnglib, jpeglib, jpeg2000, libtiff).
Now I want make the same in Ubuntu, here I have build all of the supporting libraries, and I am stucked at making a single dynamic library file from them as per my requirements, I have wrote a imaging.c file by invoking the functionalities and modaring the outputs as per my requirements from leptonica, and now the problem I am facing to make single dynamic library .so file from it, without any dependencies of the other ones, So that I can use it at any other application at Ubuntu, only by loading a single so file... Also I am facing a lot of permission problem when I am trying to make a thread safe log file from that imaging.c file . Here I am trying to dump a log which will generate from imaging.so when I will call it from any wrapped upper level application..