[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem linking with shared library
From: |
Albert Chin |
Subject: |
Re: problem linking with shared library |
Date: |
Wed, 12 Oct 2005 12:24:49 -0500 |
User-agent: |
Mutt/1.5.6i |
On Wed, Oct 12, 2005 at 11:22:42AM -0500, Nitesh Soni (NC/TNT) wrote:
> I am trying to build an executable "X" which links with libY.
>
> I am using libtool to build this library libY; so I have a static
> version libY.a and libY.so
>
> When I link the static version libY.a, i am able to build the
> application X But when I link against the shared version libY.so I
> am not able to build the application; it fails with some undefined
> reference to (lets say) Z
>
> Now I did "nm libY.a" and "nm libY.so"
>
> Both these versions have symbol Z as "U"
Is symbol Z defined in executable X?
What specific error is the linker giving?
What platform?
--
albert chin (address@hidden)