Staic libraries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Since bugs on http://bugs.archlinux.org/ are too eagerly closed I'll
have to ask here.
I'm trying to build the latest "tuxonice-userui" since it's required
by tuxonice-rc8.

The compile of tuxoniceui_fbsplash fails with
"/usr/bin/ld: cannot find -lfreetype"

The last command (the one that fails) is:
cc  -static userui_core.o fbsplash/userui_fbsplash.o -o
tuxoniceui_fbsplash -lmng -lpng -ljpeg -lz -lfreetype -llcms -lm

Now, there are /usr/lib/libmng.a /usr/lib/libpng.a /usr/lib/libjpeg.a
/usr/lib/libz.a /usr/lib/liblcms.a /usr/lib/libm.a files on my
ArchLinux but there's no /usr/lib/libfreetype.a static library.

In http://bugs.archlinux.org/task/11016 JGC claims:
"Static libraries aren't needed to build static binaries. The
makefiles contain hardcoded references to the .a files, which is
wrong."

Now, it's not true that the userui Makefile has a hardcoded reference
to the .a file. And I don't see how to build a static binary either?

Hints?


-- 
damjan


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux