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
Upthread_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]
--
Michael Fuhr
http://www.fuhr.org/~mfuhr/