On Mon, Jul 25, 2005 at 04:03:58PM -0600, Michael Fuhr wrote:
> On Mon, Jul 25, 2005 at 04:40:19PM -0500, Jim C. Nasby wrote:
> > FWIW, AFAICT I did build the port with default options. Though, nm shows
> > no symbols for my libpython(s)...
> >
> > decibel@flake.2[16:38]~:47>nm `locate libpython|grep .so`
> >
> > /usr/local/lib/compat/pkg/libpython2.3.so.1:
> > /usr/libexec/elf/nm: /usr/local/lib/compat/pkg/libpython2.3.so.1: no symbols
>
> Try "nm -D" (or --dynamic) or "objdump -T" (or --dynamic-syms) when
> looking at a shared object. Here's what I get:
>
> % nm -D /usr/local/lib/libpython2.4.so.1 | grep pthread
> U pthread_attr_destroy
> U pthread_attr_init
> U pthread_attr_setstacksize
> U pthread_create
> U pthread_detach
> U pthread_self
>
> % nm -D /usr/local/lib/perl5/5.8.7/mach/CORE/libperl.so | grep pthread
> [no output]
decibel@flake.2[17:06]~:36>nm -D `locate libpython|grep .so`|egrep ':|pthread'
/usr/local/lib/compat/pkg/libpython2.3.so.1: U pthread_attr_destroy U pthread_attr_init U
pthread_attr_setstacksize U pthread_create U pthread_detach U pthread_self U
pthread_sigmask
/usr/local/lib/libpython2.4.so: U pthread_attr_destroy U pthread_attr_init U
pthread_attr_setstacksize U pthread_create U pthread_detach U pthread_self
/usr/local/lib/libpython2.4.so.1: U pthread_attr_destroy U pthread_attr_init U
pthread_attr_setstacksize U pthread_create U pthread_detach U pthread_self
/usr/local/lib/python2.4/config/libpython2.4.so: U pthread_attr_destroy U pthread_attr_init U
pthread_attr_setstacksize U pthread_create U pthread_detach U pthread_self
decibel@flake.2[17:06]~:37>
I'm currently re-building python without threading.
--
Jim C. Nasby, Database Consultant decibel@decibel.org
Give your computer some brain candy! www.distributed.net Team #1828
Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming, or what?"