[solaris] library -lc: not found
phocean
0x90 at phocean.net
Mon Nov 7 00:44:12 WST 2011
Le 06/11/2011 14:27, Laurent Bercot a écrit :
>> $ make PROGRAMS="scp" STATIC=1
>> gcc -L/usr/local/lib -R/usr/local/lib -static -o scp scp.o
>> progressmeter.o atomicio.o scpmisc.o compat.o
>> ld: fatal: library -lc: not found
>
> As Matt said, you cannot make static programs on Solaris.
> Solaris does not ship with a libc.a, only a libc.so.
>
> This would be an excellent reason to change operating systems and
> use something less braindead and obsolete.
>
> But if you're hell-bent on using Solaris, just remove the STATIC=1
> part of your command line and dropbear should compile without trouble,
> it will simply use dynamic libraries.
>
If only I could... But believe me, you can't change an industrial device
easily !
The reason why I want it to build it statically, is that I wanted it to
run on several versions of Solaris, without messing up with library
issues (though I can't compile anything directly on such devices).
--
phocean
More information about the Dropbear
mailing list