From owner-freebsd-questions Fri Jan 28 13:39:57 2000 Delivered-To: freebsd-questions@freebsd.org Received: from nj-gate.slk.com (smtp2.slk.com [12.3.89.217]) by hub.freebsd.org (Postfix) with ESMTP id D77F014FEA for ; Fri, 28 Jan 2000 13:39:54 -0800 (PST) (envelope-from dquayle@slk.com) Received: by nj-gate.slk.com; id QAA02910; Fri, 28 Jan 2000 16:38:40 -0500 (EST) Received: from slkmail.net.slk.com(92.1.33.235) by nj-gate.slk.com via smap (4.0a) id xmah02857; Fri, 28 Jan 00 16:38:12 -0500 Received: from slkmail1.corp.slkint.com (92.1.9.96 [92.1.9.96]) by slkmail.net.slk.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2232.9) id DTHPB3SH; Fri, 28 Jan 2000 16:32:10 -0500 Received: from quayle.corp.slkint.com (pc-a24031b.corp.slkint.com [92.1.57.144]) by slkmail1.corp.slkint.com (AIX4.3/UCB 8.8.8/8.7) with ESMTP id QAA16922; Fri, 28 Jan 2000 16:37:06 -0500 Received: from slk.com (quayle.corp.slkint.com [92.1.57.144]) by quayle.corp.slkint.com (8.9.3/8.9.3) with ESMTP id QAA12224; Fri, 28 Jan 2000 16:38:11 -0500 (EST) (envelope-from dquayle@slk.com) Message-ID: <38920C42.C8E098C0@slk.com> Date: Fri, 28 Jan 2000 16:38:10 -0500 From: Douglas Brian Quayle Organization: Spear, Leeds & Kellogg X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.0.36 i386) X-Accept-Language: en MIME-Version: 1.0 To: Russ Pagenkopf , FreeBSD Questions Subject: Re: ld-elf problem References: <3891FE4E.BBC95985@uas.alaska.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG pthread_attr_setscope() is a function used by Posix threads. I am guessing you do not have Pthread support compiled into your kernel, though I could be wrong. In your kernel configuration file, do you have the following three lines? options "P1003_1B" options "_KPOSIX_PRIORITY_SCHEDULING" options "_KPOSIX_VERSION=199309L" Try adding these three lines and rebuilding the kernel (config -r KERNEL; cd ../../compile/KERNEL; make depend; make; make install). Hope that helps... Russ Pagenkopf wrote: > Hi all! > > Hope someone can help me figure out this problem as I've done as much as > I know how, researched as much as possible and trod uncharted lands (for > me at least!). > > I'm attempting to install a mail program called CommuniGatePro from > Stalker Software. The program comes as a pre-compiled program. When I > first tried to run it after installation it gave me the following error: > > /usr/libexec/ld-elf.so.1: ./CGServer: Undefined symbol > "pthread_attr_setscope" > > Okay. "What the hell does that mean" I ask myself. After a call to tech > support he briefly explained that it was for threading in the kernel and > he suggested upgrading to the latest stable (from 3.1). Soooo... I > learned how to use CTM (with some help from the list archives). Then I > learned how to make world (with help from the handbook). Then I > recompiled the kernel (been there, done that). Then I rebooted. Other > than forgetting to rebuild the passwd db, it all worked (and from 1500 > miles away too). > > Onward to installing CommuniGatePro. Installation goes fine, attempt to > run it and guess what? The same error: > > /usr/libexec/ld-elf.so.1: ./CGServer: Undefined symbol > "pthread_attr_setscope" > > Argh. :-) > > Now I turn to the list. What did I miss? What am I doing wrong? > > uname -a > FreeBSD archives.mac-mgrs.org 3.4-STABLE FreeBSD 3.4-STABLE #0: Fri Jan > 28 04:57:14 PST 2000 > russ@archives.mac-mgrs.org:/usr/src/3.0-stable/sys/compile/ARCHIVES > i386 > > CTM patches through 449 (latest as of this morning). > > Russ Pagenkopf > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message