Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Feb 1999 21:40:27 +0000
From:      Ben Smithurst <ben@scientia.demon.co.uk>
To:        Shane Reid <sreid@igg.net>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: suEXEC
Message-ID:  <19990211214027.A44827@scientia.demon.co.uk>
In-Reply-To: <001501be55ed$7a498040$320c10ac@nebula>
References:  <001501be55ed$7a498040$320c10ac@nebula>

next in thread | previous in thread | raw e-mail | index | archive | help
Shane Reid wrote:

> I am trying to compile suexec and i keep getting this error.  I have run
> configure and it made the makefiles and I have edited suexec.h so I dont
> know of much else where is to do.  Any help would be appreciated.
> 
> su-2.02# make suexec
> gcc -c  -I../os/unix -I../include   -funsigned-char  suexec.c
> gcc  -funsigned-char  suexec.o -o
> uexec   -L../os/unix -L../ap -los -lap  -lcrypt
> /usr/libexec/elf/ld: cannot open -los: No such file or directory
> *** Error code 1

You'll probably have to make the rest of apache first, since it will need
various libraries. Alternatively, just build the libraries it needs
(libos.a and libap.a), "make libos.a libap.a" should do it from somewhere
in the Apache tree, don't ask where though. Actually, judging by those -L
paths, try this from the same place you're typing "make suexec" as,

$ (cd ../ap; make; cd ../os/unix; make)

Making the whole thing may be easiest if that doesn't work.

-- 
Ben Smithurst
ben@scientia.demon.co.uk

send a blank message to ben+pgp@scientia.demon.co.uk for PGP key

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990211214027.A44827>