You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Leitner, Sarah M. [Contractor]" <le...@spawar.navy.mil> on 2002/12/05 18:50:22 UTC
compiling xerces c...
When I compile with the -lxerces-c option, I get the following error message
(I am on Mandrake 8.2 fyi):
/usr/bin/ld: cannot find -lxerces-c
collect2: ld returned 1 exit status
Sarah
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
Re: compiling xerces c...
Posted by Zdenek Nemec <ze...@mapfactor.com>.
Hi Sarah
i am assuming you have sucessfully installed xerces library in some common
dir, say /usr/local/lib then you usually need to run ldconfig(as a root) to
let linker know about your libraries
see
man gcc ( look for -l option )
man ldconfig ( look for something like /etc/ldconfig.conf to set ldconf's
search paths )
zdenek
----- Original Message -----
From: "Leitner, Sarah M. [Contractor]" <le...@spawar.navy.mil>
To: <xe...@xml.apache.org>
Sent: Thursday, December 05, 2002 6:50 PM
Subject: compiling xerces c...
> When I compile with the -lxerces-c option, I get the following error
message
> (I am on Mandrake 8.2 fyi):
>
> /usr/bin/ld: cannot find -lxerces-c
> collect2: ld returned 1 exit status
>
> Sarah
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
Re: compiling xerces c...
Posted by Sir Woody Hackswell <wo...@hackswell.com>.
On Thu, 5 Dec 2002, Leitner, Sarah M. [Contractor] wrote:
> When I compile with the -lxerces-c option, I get the following error message
> (I am on Mandrake 8.2 fyi):
>
> /usr/bin/ld: cannot find -lxerces-c
> collect2: ld returned 1 exit status
>
> Sarah
You need to do a "make install" in the source tree which will install the
libxerces-c.so into /usr/local/lib. Then edit /etc/ld.so.conf and make sure
that /usr/local/lib is in the list. Then run "ldconfig" to update linux's
cache of shared libraries. BTW, you need root to do all of this.
If you don't have root, there are other, more complicated ways of
"installing" libxerces-c.so into "path". =sigh=
-Richard Balint
-----
Oh Oracle wise:
Why do Haikus make me sad?
I don't understand.
Sir.Woody@Hackswell.com http://sir.woody.hackswell.com
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org