[Aide] trouble compiling aide-0.13.1 on solaris 10 x86

Thomas Leveille thomas.leveille at gmail.com
Tue Feb 27 16:10:52 EET 2007


On 2/27/07, Richard van den Berg <richard at vdberg.org> wrote:
> Configure does not seem to have a problem with flex. Here are the
> relevant lines from your config.log:
>
> configure:5714: gcc -o conftest -g -O2 -static  -static  conftest.c  >&5
> ld: fatal: library -lc: not found
> ld: fatal: File processing errors. No output written to conftest
>
> You need to make sure you have the static C library (libc.a) installed
> on your system.

I've checked and Sun dropped the static C library since the Solaris 10
1/06 release :(

http://docs.sun.com/app/docs/doc/817-0552/6mgbi4fhc?l=en&q=libc.a&a=view
-----------------------------------------------
Solaris Static System Libraries

This announcement applies only to 32-bit static-system libraries and
statically linked utilities. Sixty-four-bit static system libraries
and utilities have never been provided.

Support for 32-bit Solaris static-system libraries and statically
linked utilities is no longer provided in Solaris. Of particular note,
support for the static C library (/usr/lib/libc.a) is no longer
provided in Solaris.

Applications that are linked with existing static system libraries
might not work correctly in Solaris. Only applications that are
dynamically linked with the system libraries that provide the Solaris
application binary interface (ABI) are designed for future
compatibility.

Applications that directly depend on the behavior of system traps
might not work correctly in Solaris. Applications that link with
non-Sun libraries that directly depend on the behavior of system
traps, typically libraries that provide substitute ABI functions,
might not work correctly in Solaris.
-----------------------------------------------

Many thanks

Thomas


More information about the Aide mailing list