Date: Fri, 28 Jan 2000 16:38:10 -0500 From: Douglas Brian Quayle <dquayle@slk.com> To: Russ Pagenkopf <russ.pagenkopf@uas.alaska.edu>, FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: ld-elf problem Message-ID: <38920C42.C8E098C0@slk.com> References: <3891FE4E.BBC95985@uas.alaska.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38920C42.C8E098C0>