[xmlsec] packaging XMLSEC - reducing package size...

Aleksey Sanin aleksey at aleksey.com
Mon Feb 14 07:30:32 PST 2011


You can get rid of all the .a files probably

On 2/14/11 7:08 AM, Bernardo Hoehl wrote:
> Dear friends,
>
>
>
> Please forgive me if I have another unexpected question. My skill are very basic, and I need advice from a more experienced generous soul.
>
> I am packaging XMLSEC for download, basically the command my app passes to XMLSEC is:
>
> export LD_LIBRARY_PATH=/path/to/lib; xmlsec1 sign --id-attr:Id infNFe --output path/to/xmlFile.xml --pkcs12 path/to/certificate.pfx --pwd xxxxx --trusted-pem path/to/pem
>
> It is now 34Mb of files, and I think I don't need everything I am packaging in order to run the command above.
>
> Can someone be so kind to mark on the text further down this, which files I can remove or keep in my package, so I can still run xmlsec1 with the described command?
>
> My enviroment is Mac Os X.
>
>
> Thank you,
>
>
> Bernardo Höhl
> Rio de Janeiro - Brazil
>
> ========================
>
> This is the results of an "ls -ls" on the folders:
>
>
> ======== Contents of Bin folder:
>
>
>    16 -rwxr-xr-x  1 bernardo  staff    4265 Jan 16 19:13 c_rehash
>   152 -r-xr-xr-x  1 bernardo  staff   73860 Jan 16 19:13 daemondo
>   216 -rwxr-xr-x  1 bernardo  staff  109200 Jan 16 19:13 gperf
>    64 -rwxr-xr-x  1 bernardo  staff   29344 Jan 16 19:13 iconv
> 1000 -rwxr-xr-x  1 bernardo  staff  511480 Jan 16 19:13 openssl
>   304 -r-xr-xr-x  1 bernardo  staff  154379 Jan 16 19:13 port
>   304 -r-xr-xr-x  1 bernardo  staff  154379 Jan 16 19:13 portf
>    16 -r-xr-xr-x  1 bernardo  staff    7841 Jan 16 19:13 portindex
>     8 -r-xr-xr-x  1 bernardo  staff    2574 Jan 16 19:13 portmirror
>     8 -rwxr-xr-x  1 bernardo  staff    1680 Jan 16 19:13 xml2-config
>    40 -rwxr-xr-x  1 bernardo  staff   19440 Jan 16 19:13 xmlcatalog
>   136 -rwxr-xr-x  1 bernardo  staff   65936 Jan 16 19:13 xmllint
>   136 -rwxr-xr-x  1 bernardo  staff   67616 Jan 16 19:13 xmlsec1
>    16 -rwxr-xr-x  1 bernardo  staff    4719 Jan 16 19:13 xmlsec1-config
>     8 -rwxr-xr-x  1 bernardo  staff    2400 Jan 16 19:13 xslt-config
>    56 -rwxr-xr-x  1 bernardo  staff   25888 Jan 16 19:13 xsltproc
>
>
> ===== Contents of Lib folder:
>
>
>      0 drwxr-xr-x  14 bernardo  staff      476 Jan 16 19:13 engines
>     24 -rw-r--r--   1 bernardo  staff     9192 Jan 16 19:13 libcharset.1.dylib
>      8 -rw-r--r--   1 bernardo  staff     3848 Jan 16 19:13 libcharset.a
>     24 -rw-r--r--   1 bernardo  staff     9192 Jan 16 19:13 libcharset.dylib
>      8 -rw-r--r--   1 bernardo  staff      930 Jan 16 19:13 libcharset.la
>   3520 -rwxr-xr-x   1 bernardo  staff  1798728 Jan 16 19:13 libcrypto.1.0.0.dylib
>   5896 -rw-r--r--   1 bernardo  staff  3018456 Jan 16 19:13 libcrypto.a
>   3520 -rwxr-xr-x   1 bernardo  staff  1798728 Jan 16 19:13 libcrypto.dylib
>    160 -rwxr-xr-x   1 bernardo  staff    80072 Jan 16 19:13 libexslt.0.dylib
>    208 -rw-r--r--   1 bernardo  staff   104248 Jan 16 19:13 libexslt.a
>    160 -rwxr-xr-x   1 bernardo  staff    80072 Jan 16 19:13 libexslt.dylib
>      8 -rwxr-xr-x   1 bernardo  staff     1033 Jan 16 19:13 libexslt.la
>   2120 -rw-r--r--   1 bernardo  staff  1084720 Jan 16 19:13 libiconv.2.dylib
>   2184 -rw-r--r--   1 bernardo  staff  1115488 Jan 16 19:13 libiconv.a
>   2120 -rw-r--r--   1 bernardo  staff  1084720 Jan 16 19:13 libiconv.dylib
>      8 -rw-r--r--   1 bernardo  staff      918 Jan 16 19:13 libiconv.la
>    784 -rwxr-xr-x   1 bernardo  staff   400536 Jan 16 19:13 libssl.1.0.0.dylib
>   1048 -rw-r--r--   1 bernardo  staff   534408 Jan 16 19:13 libssl.a
>    784 -rwxr-xr-x   1 bernardo  staff   400536 Jan 16 19:13 libssl.dylib
>   2704 -rwxr-xr-x   1 bernardo  staff  1381792 Jan 16 19:13 libxml2.2.dylib
>   3864 -rw-r--r--   1 bernardo  staff  1975968 Jan 16 19:13 libxml2.a
>   2704 -rwxr-xr-x   1 bernardo  staff  1381792 Jan 16 19:13 libxml2.dylib
>      8 -rwxr-xr-x   1 bernardo  staff      973 Jan 16 19:13 libxml2.la
>   3360 -rwxr-xr-x   1 bernardo  staff  1717744 Jan 16 19:13 libxmlsec1-openssl.1.2.13.dylib
>   3360 -rwxr-xr-x   1 bernardo  staff  1717744 Jan 16 19:13 libxmlsec1-openssl.1.dylib
> 12408 -rw-r--r--   1 bernardo  staff  6351168 Jan 16 19:13 libxmlsec1-openssl.a
>   3360 -rwxr-xr-x   1 bernardo  staff  1717744 Jan 16 19:13 libxmlsec1-openssl.dylib
>      8 -rwxr-xr-x   1 bernardo  staff     1026 Jan 16 19:13 libxmlsec1-openssl.la
>   3360 -rwxr-xr-x   1 bernardo  staff  1717744 Jan 16 19:13 libxmlsec1-openssl.so
>    824 -rwxr-xr-x   1 bernardo  staff   421648 Jan 16 19:13 libxmlsec1.1.2.13.dylib
>    824 -rwxr-xr-x   1 bernardo  staff   421648 Jan 16 19:13 libxmlsec1.1.dylib
>   1296 -rw-r--r--   1 bernardo  staff   659960 Jan 16 19:13 libxmlsec1.a
>    824 -rwxr-xr-x   1 bernardo  staff   421648 Jan 16 19:13 libxmlsec1.dylib
>      8 -rwxr-xr-x   1 bernardo  staff      941 Jan 16 19:13 libxmlsec1.la
>    472 -rwxr-xr-x   1 bernardo  staff   238432 Jan 16 19:13 libxslt.1.dylib
>    656 -rw-r--r--   1 bernardo  staff   335384 Jan 16 19:13 libxslt.a
>    472 -rwxr-xr-x   1 bernardo  staff   238432 Jan 16 19:13 libxslt.dylib
>      8 -rwxr-xr-x   1 bernardo  staff     1001 Jan 16 19:13 libxslt.la
>    192 -rwxr-xr-x   1 bernardo  staff    96280 Jan 16 19:13 libz.1.2.5.dylib
>    192 -rwxr-xr-x   1 bernardo  staff    96280 Jan 16 19:13 libz.1.dylib
>    224 -rw-r--r--   1 bernardo  staff   111456 Jan 16 19:13 libz.a
>    192 -rwxr-xr-x   1 bernardo  staff    96280 Jan 16 19:13 libz.dylib
>      0 drwxr-xr-x  11 bernardo  staff      374 Jan 16 19:13 pkgconfig
>      8 -rw-r--r--   1 bernardo  staff      227 Jan 16 19:13 xml2Conf.sh
>      8 -rw-r--r--   1 bernardo  staff      786 Jan 16 19:13 xmlsec1Conf.sh
>      8 -rw-r--r--   1 bernardo  staff      222 Jan 16 19:13 xsltConf.sh
>
> _______________________________________________
> xmlsec mailing list
> xmlsec at aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec


More information about the xmlsec mailing list