[maemo-developers] [maemo-developers] Re: shared libs oversized

From: Ross Burton ross at burtonini.com
Date: Tue Mar 21 00:16:32 EET 2006
On Mon, 2006-03-20 at 21:36 +0100, Arno Onken wrote:
> Hello,
> 
> I compiled some applications for ARM but the resulting libs are 
> unusually large compared to the official debian arm feed. For octave I 
> used exactly the same gcc and g77 that was also used for the official 
> debian feed (as in the build-log file) together with the same configure 
> and build commands and the same libs. Still scratchbox created a 
> liboctave.so that is almost ten times(!) as large as the one from the 
> debian stable feed. I tried to run the small arm binaries from the 
> stable feed with the Nokia 770 and they work perfectly but I would like 
> to create a package for the nokia installer that requires the 
> /var/lib/install path.
> Octave is not the only application that results in oversized libs. I got 
> the same problem for Interviews.
> I also tried to reinstall scratchbox from scratch but same result.
> Is this a common problem?

Try running strip on the libraries, or if the software is using
autotools then make install-strip.  This will remove debug symbols from
the binaries, which are large.

Note that standard Debian packaging scripts will automatically do this
when building a package.

Ross
-- 
Ross Burton                                 mail: ross at burtonini.com
                                          jabber: ross at burtonini.com
                                     www: http://www.burtonini.com./
 PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF




More information about the maemo-developers mailing list