Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.3 Beta, 1.3 Final
-
None
-
None
-
Linux
Description
I downloaded the Linux bin package and it was an unbelievable 19M.
I extracted and had a look to see what is wrong.
I noticed that in lib folder the same .so file has been copied 3
times.
e.g. for server lib:
libserver_engine.so
libserver_engine.so.0
libserver_engine.so.0.0.0
I think only one copy of a given .so file would be sufficient. (e.g.
libserver_engine.so)
Additionally do we need to ship the .a file?
If we remove the additional .so files the package size becomes 17M
However the most serious problem is that we have all the .libs
folders inside the samples
folders. They are definitely duplicates as we have client bins on bin
and server libs in lib.
When I remove those .libs files I get 10M bin package.
Still Serious I saw .o and .lo files in folders within samples.
When I removed those I got a bin package of 5.5M.
Please remove the unwanted files and cut down the binary size.