On Wed, Apr 04, 2001 at 11:31:55AM -0400, [EMAIL PROTECTED] wrote:
> 
> Hi,
>  > -L$XERCESCROOT/lib -lxerces-c1_4
>    the linker is looking for "lib"+"xerces-c1_4"+".a", not ".so".
Nope
only ".a" only on aix < 4.3; you can use xlc option -brtl to allow .so also

On Solaris and many other systems the linker looks first for lib*.so ant than
if not found for lib*.a


> 
> Williams Roger <[EMAIL PROTECTED]> on 04/04/2001 05:46:58 AM
> 
> Please respond to [EMAIL PROTECTED]
> 
> To:   "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> cc:
> Subject:  NEWBIE: Link Errors with xerces-c
> 
> 
> When I specify the xerces library during compile and link in this way:
> 
>            -L$XERCESCROOT/lib -lxerces-c1_4
> 
> then I get symbol referencing errors
> 
> However, when I specify the xerces library fully and directly in the
> following way:
> 
>            $XERCESCROOT/lib/libxerces-c1_4.so

try
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$XERCESCROOT/lib before you run your program

regards
--
Miroslaw Dobrzanski-Neumann

MOSAIC SOFTWARE AG
Base Development and Research
Tel +49-2225-882-291
Fax +49-2225-882-201
E-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to