From owner-freebsd-current@FreeBSD.ORG Fri Apr 7 11:45:17 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 05FC016A400 for ; Fri, 7 Apr 2006 11:45:17 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3839B43D6E for ; Fri, 7 Apr 2006 11:45:12 +0000 (GMT) (envelope-from freebsd-current@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FRpOd-00083F-SQ for freebsd-current@freebsd.org; Fri, 07 Apr 2006 13:44:59 +0200 Received: from www.creo.hu ([217.113.62.14]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 07 Apr 2006 13:44:59 +0200 Received: from csaba-ml by www.creo.hu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 07 Apr 2006 13:44:59 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Csaba Henk Date: Fri, 7 Apr 2006 11:44:47 +0000 (UTC) Lines: 19 Message-ID: X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: www.creo.hu User-Agent: slrn/0.9.8.1 (FreeBSD) Sender: news Subject: switching threading libraries X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Apr 2006 11:45:17 -0000 Hi! Compiling a threaded program foo with "-pthread", if I want to run it like LD_LIBMAP=libpthread.so.2=libc_r.so foo then it will complain /libexec/ld-elf.so.1: /usr/lib/libc_r.so: version LIBTHREAD_1_0 required by foo not defined I know it's because symbol versioning has entered the scene... I just wonder if there is some workaround... Some way to trasparently switch between threading libs? Thanks! Regards, Csaba