* Solaris 10: ld: fatal: library -lc: not found @ 2007-06-30 23:16 Daniel Clark 2007-07-03 11:57 ` Daniel Clark 0 siblings, 1 reply; 2+ messages in thread From: Daniel Clark @ 2007-06-30 23:16 UTC (permalink / raw) To: Supervision Anyone get runit compiled on Solaris 10/Sparc? Using the sun-bundled gcc with PATH=/usr/sfw/bin:/usr/local/bin:/bin:/usr/bin:/usr/sbin:/sbin:/etc:/usr/bin/X11:/usr/games:/usr/local/bin:/usr/local/games:/usr/ccs/bin which ld - /usr/ccs/bin/ld which make - /usr/sfw/bin/make which gcc - /usr/sfw/bin/gcc The error is: ./compile runit.c ./load runit unix.a byte.a -static ld: fatal: library -lc: not found ld: fatal: library -lc: not found ld: fatal: File processing errors. No output written to runit collect2: ld returned 1 exit status make: *** [runit] Error 1 Thanks, -- Daniel Clark # http://planyp.us/djbclark/profile # http://dclark.us # http://opensysadmin.com ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Solaris 10: ld: fatal: library -lc: not found 2007-06-30 23:16 Solaris 10: ld: fatal: library -lc: not found Daniel Clark @ 2007-07-03 11:57 ` Daniel Clark 0 siblings, 0 replies; 2+ messages in thread From: Daniel Clark @ 2007-07-03 11:57 UTC (permalink / raw) To: Supervision [-- Attachment #1: Type: text/plain, Size: 1186 bytes --] On 6/30/07, Daniel Clark <dclark@pobox.com> wrote: > > Anyone get runit compiled on Solaris 10/Sparc? > > Using the sun-bundled gcc with > > PATH=/usr/sfw/bin:/usr/local/bin:/bin:/usr/bin:/usr/sbin:/sbin:/etc:/usr/bin/X11:/usr/games:/usr/local/bin:/usr/local/games:/usr/ccs/bin > > which ld - /usr/ccs/bin/ld > which make - /usr/sfw/bin/make > which gcc - /usr/sfw/bin/gcc > > The error is: > > ./compile runit.c > ./load runit unix.a byte.a -static > ld: fatal: library -lc: not found > ld: fatal: library -lc: not found > ld: fatal: File processing errors. No output written to runit > collect2: ld returned 1 exit status > make: *** [runit] Error 1 > Yesterday I recalled that Solaris is weird in that there are some libs you just can't compile against statically for some reason; removing the 2 instances of "-static" from the Makefile allows runit-1.7.2 to compile on Solaris. The runit encap profile at http:///bcfg2.org/browser/trunk/bcfg2/encap/src/encap-profiles/runit-1.7.2.ep?format=raw is now updated with this patch (as well as the former patch to make AIX work). Cheers, -- Daniel Clark # http://planyp.us/djbclark/profile # http://dclark.us # http://opensysadmin.com [-- Attachment #2: Type: text/html, Size: 1734 bytes --] ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-07-03 11:57 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2007-06-30 23:16 Solaris 10: ld: fatal: library -lc: not found Daniel Clark 2007-07-03 11:57 ` Daniel Clark
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).