Q: What are *.la - files?

From: Christian Hamacher (c.hamacher_at_gmx.de)
Date: 03/24/04


Date: Wed, 24 Mar 2004 23:20:32 +0100


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[sorry for multi-posting - I posted this question to c.o.l.misc
before, and only later realized that this group might be more
appropriate]

Until yesterday, I thought I knew reasonably well how linkers and
libraries worked - when there were .so files and .a files, and
nothing more.

But yesterday, I started compiling KDE 3.2.1 and for the first
time in years of using Linux, had massive problems with gcc
complaining about missing *.la - files in my installation.

The obvious answer would be missing development packages - but
I checked, and both the library and the development package are
installed (e.g. libmad and libmad-devel).

However, neither of them contains libmad.la. I tried compiling
an RPM myself (from SRPM), and ended up with a package also lacking
libmad.la. On rpmseek.com I can find both packages containing the
file and ones lacking it.

I'm confused now:

o What does the .la - file do? What are they needed for?
o Why do some packages have them and some not?
o Why am I just now seeing this problem, while I never
        had it in several years before?
o How can I get my gcc/libtool/whatever to generate them?

Thanks for any pointer you might have,

        -Chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAYgmw2s5oHXhdCp8RAjbEAJ9dInALDZDtWKQ/SOWpdK80Uwde3ACfV7rM
XanZMfgiiw7Hts+Jr4B3jKs=
=NblX
-----END PGP SIGNATURE-----



Relevant Pages

  • Advice on tulip driver
    ... as root user xsane finds the scanner but as a normal user xsane ... > First you need to run apt-get update to read the list of packages. ... I removed the existing KDE installation: ... > Probing devices to guess BIOS drives. ...
    (Debian-User)
  • Re: [SLE] late KDE update!
    ... >> installing first all the base packages. ... e) Added the new installation source in YaST using a local mirror. ... t) The conflict window returned with several KDE packages listed. ...
    (SuSE)
  • Re: XP Full/upgrade what?
    ... You have a current installation of Windows 98/98SE/ME/NT ... "FULL OEM" CD. ... The COA and Product Keys for these packages will be the same as the ... packages from Microsoft, ...
    (microsoft.public.windowsxp.basics)
  • Re: [SLE] Updated Software Management Test Repository for SUSE Linux 10.1
    ... start yast2 installation source via the yast2 control center or ... Restart the zen-updater applet on your desktop (it will stop itself ... The update contains the following packages (basically the complete ... e.g. DVDs as installation source ...
    (SuSE)
  • sarge package installation segfaults
    ... these packages were introduced, and never failed before running dpkg. ... while the installation is running. ... Building Dependency Tree... ... Setting up foomatic-filters... ...
    (Debian-User)