From owner-freebsd-questions Thu Feb 11 16:19:38 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA12373 for freebsd-questions-outgoing; Thu, 11 Feb 1999 16:19:38 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA12212 for ; Thu, 11 Feb 1999 16:18:04 -0800 (PST) (envelope-from ben@scientia.demon.co.uk) Received: from ben by scientia.demon.co.uk with local (Exim 2.11 #1) id 10B3qV-000BfG-00; Thu, 11 Feb 1999 21:40:27 +0000 Date: Thu, 11 Feb 1999 21:40:27 +0000 From: Ben Smithurst To: Shane Reid Cc: FreeBSD Questions Subject: Re: suEXEC Message-ID: <19990211214027.A44827@scientia.demon.co.uk> References: <001501be55ed$7a498040$320c10ac@nebula> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <001501be55ed$7a498040$320c10ac@nebula> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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