Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2002 11:26:23 +0200
From:      Alexey Zelkin <phantom@FreeBSD.org.ua>
To:        JY <leafy@leafy.idv.tw>
Cc:        freebsd-java@FreeBSD.ORG
Subject:   Re: Java 1.3.1_p7-2 builds on -current but fails to run
Message-ID:  <20021121112623.A48255@phantom.cris.net>
In-Reply-To: <20021121063922.GA41782@leafy.idv.tw>; from leafy@leafy.idv.tw on Thu, Nov 21, 2002 at 02:39:22PM %2B0800
References:  <20021121040830.GA83882@leafy.idv.tw> <20021121152508.B54345@misty.eyesbeyond.com> <20021121055902.GA38083@leafy.idv.tw> <20021121165957.A55399@misty.eyesbeyond.com> <20021121063922.GA41782@leafy.idv.tw>

next in thread | previous in thread | raw e-mail | index | archive | help
hi,

On Thu, Nov 21, 2002 at 02:39:22PM +0800, JY wrote:
> On Thu, Nov 21, 2002 at 04:59:57PM +1030, Greg Lewis wrote:
> > > It's defined in /usr/include/semaphore.h, how do I find out which library it is defined in? I suppose it might be some linker error.
> > 
> > No, I mean the symbol definition, not the function prototype :).  You
> > should be able to find out what library its in with nm(1).
> With my limited abilities, I find them in
> libc.a:sem.o:000003dd T sem_wait
> libc_pic.a:sem.So:0000045b T sem_wait
> libc_r.a:uthread_sem.o:0000019a W sem_wait
> libc_r_p.a:uthread_sem.po:000001d4 T sem_wait  

*.a libraries are static libraries used in compile/link of executable binary
process. At runtime *.so libaries are used.

You need to check out output of 'nm /usr/lib/libc.so | grep sem_wait'.

Anyway -- it would be interesting to take a look on output of 'ldd libhpi.so'
to check out its runtime libs dependencies.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021121112623.A48255>