Skip to content

Slim down the shared library size #39

@artob

Description

@artob

Building HEAD (at the time of writing, revision 277b8d1) results in a 130 MB shared library:

arto@ubuntu:/src/LucenePlusPlus$ ls -l bin
total 161008
-rw-rw-r-- 1 arto arto    275976 Sep 12 03:15 liblucene++-c.a
lrwxrwxrwx 1 arto arto        24 Sep 12 03:34 liblucene++-contrib.so -> liblucene++-contrib.so.0
lrwxrwxrwx 1 arto arto        30 Sep 12 03:34 liblucene++-contrib.so.0 -> liblucene++-contrib.so.3.0.3.4
-rwxrwxr-x 1 arto arto  25568778 Sep 12 03:34 liblucene++-contrib.so.3.0.3.4
lrwxrwxrwx 1 arto arto        16 Sep 12 03:31 liblucene++.so -> liblucene++.so.0
lrwxrwxrwx 1 arto arto        22 Sep 12 03:31 liblucene++.so.0 -> liblucene++.so.3.0.3.4
-rwxrwxr-x 1 arto arto 136893535 Sep 12 03:31 liblucene++.so.3.0.3.4

This was built on an Ubuntu 12.10 (x86-64) host with GCC 4.7.2, libstdc++, and Boost 1.50 using cmake . && make.

130 MB seems a tad large, on the order of an XXXL size, for a shared library. Any ideas as to what might be contributing to bloating up the library so much, and how it might be slimmed back down? I'd be happy to contribute patches if there is something to be done about it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions