Am Montag, 17. Januar 2005 23:19 schrieb Crystal Martel:
> Hello,
>
> I've looked throughout your site, and searched through the email
> messages archive for an answer to the following question...
>
> The sys admin has installed xerces c++ parser on a linux (red hat)
> platform.  I am trying to link to the libraries installed, but I'm
> having problems.
>
> I've tried to set my LD_LIBRARY_PATH to various paths including:
> export
> LD_LIBRARY_PATH=/usr/src/xerces-c-src_2_6_0/lib:$LD_LIBRARY_PATH
>
> However, the g++ compiler is not able to link to the .hpp files.

Hi Crystal,

LD_LIBRARY_PATH is for libraries (*.so), not for headers.

Do you actually have problems finding .hpp files (e.g. complains the 
compiler about missing headers) - or does your linker miss libraries?

Try to find the .hpp files in /usr/include or /usr/local/include (look 
for a directory 'xercesc') or ask your admin where you'll find them. 
Then add this path to your compiler's include-path (e.g. add the option 
-I/usr/local/include).

It might be necessary to expand LD_LIBRARY_PATH, dependend where the libs 
have been installed.

Hope this helps,
                        Axel

-- 
Humboldt-UniversitÃt zu Berlin
Institut fÃr Informatik
Signalverarbeitung und Mustererkennung
Dipl.-Inf. Axel WeiÃ
Rudower Chaussee 25
12489 Berlin-Adlershof
+49-30-2093-3050
** www.freesp.de **

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

Reply via email to