Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Apr 2006 11:44:47 +0000 (UTC)
From:      Csaba Henk <csaba-ml@creo.hu>
To:        freebsd-current@freebsd.org
Subject:   switching threading libraries
Message-ID:  <slrne3ck4t.18h.csaba@beastie.creo.hu>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?slrne3ck4t.18h.csaba>