From owner-freebsd-security Wed May 9 6:27:31 2001 Delivered-To: freebsd-security@freebsd.org Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by hub.freebsd.org (Postfix) with ESMTP id 3A7DF37B423 for ; Wed, 9 May 2001 06:27:27 -0700 (PDT) (envelope-from rasputin@freebsd-uk.eu.org) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97] ident=root) by probity.mcc.ac.uk with esmtp (Exim 2.05 #4) id 14xTzx-000JI4-00; Wed, 9 May 2001 14:27:25 +0100 Received: (from rasputin@localhost) by dogma.freebsd-uk.eu.org (8.11.1/8.11.1) id f49DROj53648; Wed, 9 May 2001 14:27:24 +0100 (BST) (envelope-from rasputin) Date: Wed, 9 May 2001 14:27:24 +0100 From: Rasputin To: Max Khon Cc: security@freebsd.org Subject: Re: setkey(3) not present in the system Message-ID: <20010509142724.A53401@dogma.freebsd-uk.eu.org> Reply-To: Rasputin References: <20010509104313.A47276@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from fjoe@newst.net on Wed, May 09, 2001 at 06:42:28PM +0700 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org * Max Khon [010509 12:46]: > hi, there! > > On Wed, 9 May 2001, Rasputin wrote: > > > /usr/lib/libc.so: WARNING! setkey(3) not present in the system! > > /usr/lib/libc.so: WARNING! des_setkey(3) not present in the system! > > /usr/lib/libc.so: WARNING! encrypt(3) not present in the system! > > /usr/lib/libc.so: WARNING! des_cipher(3) not present in the system! > > are you sure you are not linking your binary against libc_r and libc? > in FreeBSD you should use -pthread option for gcc when you want your > program to be linked against libc_r Bingo. The command line is a right mess, cc -D_REENTRANT=1 -I. -O -pipe -march=k6 -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include/libxml2/libxml -o checks/check_list checks/check_list.o libgw.a libwmlscript.a libgwlib.a -lz -lm -lc_r -L/usr/local/lib -lxml2 -lz -L/usr/local/lib -lgiconv The only libpthread I have is in /usr/compat/linux/lib: rasputin@shikima kannel]$locate libpthread /usr/compat/linux/lib/libpthread-0.8.so /usr/compat/linux/lib/libpthread.so.0 - is it supposed to be in the base system? This has got less n less to do with security, and more to do with me biting off more than I can chew, now... So I'll shut up :) -- Armadillo: To provide weapons to a Spanish pickle Rasputin :: Jack of All Trades - Master of Nuns :: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message