Skip to Content.
Sympa Menu

baslinux - Re: [BL] naim built was: naim compiling

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: "David Moberg" <davidjmoberg AT gmail.com>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] naim built was: naim compiling
  • Date: Wed, 10 May 2006 14:38:40 -0700

sindi keesan wrote:

ldd naim - no such file or directory (which I think means it uses some
dynamic library not on my path).

strings naim | grep "/ld-" | head -n 1

This will show you which library it is looking for but could not find
(hence "no such file or directory").

Could people use the dynamic version by simply copying over all the
libraries from /uclibc/lib to /lib? 864K.

They would need to upgrade their kernels too. I think it's a little
too complicated for someone who just wants to install and run naim.

Then the uclibc programs could
all be compiled dynamically (mplayer,

Maybe. Static uClibc mplayer does not work properly (remember how it
would not play any audio?) but that could be due to it being static.

busybox,

It's nice to be able to remove all libraries and still have a working system.

> again the last visible gcc command that make executes (but with
> "-static" appended)? If not, that's OK - I am finished with my Debian
> experiment and will probably have my uClibc root working again by
> tomorrow.

I finally built, tested, (on 3.40) and uploaded it. James, please test
the new AIM code and report if it works or not.

http://us.share.geocities.com/davidjmoberg/naim.tgz

I tried but it is a 3-line command and it could not find naimS.

gcc -g -O2 naim ./libs/naimS.o ( and a long list of other files in .o all
in ./src) -Wl, --export-dynamic ../libfiretalk/libfiretalk.a (and two
others in .a) -lncurses "-static" (I added the static).

Gcc may have deleted temporary files (there is a switch not to do that for
gcc). naimS.o is not there, the others are.

make deleted it. I worked around this by wrapping gcc with a shell
script to force static compiling (see previous message).

Busybox compiled statically by default,
I think.

Busybox has a special config option to build statically. naim and many
other packages do not.

David




Archive powered by MHonArc 2.6.24.

Top of Page