From owner-freebsd-hackers Wed Feb 9 13:19:21 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from vali.uas.alaska.edu (vali.uas.alaska.edu [137.229.150.18]) by builder.freebsd.org (Postfix) with SMTP id B2AE83E75 for ; Wed, 9 Feb 2000 13:19:04 -0800 (PST) Received: from antarctica.jun.alaska.edu [137.229.156.140] (HELO uas.alaska.edu) by vali.uas.alaska.edu (AltaVista Mail V2.0r/2.0r BL25r listener) id 0000_0068_38a1_d993_34a5; Wed, 09 Feb 2000 12:18:11 -0900 Message-ID: <38A1D994.AFB996E7@uas.alaska.edu> Date: Wed, 09 Feb 2000 12:18:12 -0900 From: Russ Pagenkopf X-Mailer: Mozilla 4.05 [en] (WinNT; I) MIME-Version: 1.0 To: "freebsd-hackers@freebsd.org" , " (CommuniGate Pro Discussions)" Cc: "Technical Support, Stalker Labs" , Douglas Brian Quayle , Martin Minkus , Alfred Perlstein Subject: Summary: FreeBSD, posix, pthread problems Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG YEE HAW! The problem is fixed! The machine: FreeBSD 3.4-STABLE (ctm 451) The Problem: > I'm attempting to install CommuniGatePro. 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" The Solution: Alfred Perlstein wrote: the symlinks are set properly for you to use the 3 version of the library (you may want to copy libc_r.so.4 over libc_r.so.3). So, chflags noschg libc_r.so.3 mv libc_r.so.3 libc_r.so.3.bkp cp libc_r.so.4 libc_r.so.3 Voila'! Why does this work? Apparently (remember I'm not a C programmer) CGPro is being linked against libc_r.so.3 (which on FreeBSD appears to be an older library) as evidenced by: archives# ldd CGServer CGServer: libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x281c8000) libc_r.so.3 => /usr/lib/libc_r.so.3 (0x281dd000) instead of libc_r.so which symlinks to the latest library - libc_r.so.4. Now something else must also be going on while making world or compiling the kernel, because it seems to me that if the library libc_r.so.3 is physically there it should also be available for use, but apparently not. I'll keep copies of the email I've sent back and forth if anyone wants them, otherwise, just count me as one very happy camper! Thanks to everyone who had suggestions, everyone of them was valuable and helped point me in the right direction! Russ Pagenkopf To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message