Hi
Thanks for your reply. I do have them installed it seems:
[dasneved at drdsv01zatcrh ~]$ yum list installed | grep xml2
*Note* Red Hat Network repositories are not listed below. You must run this
command as root to access RHN repositories.
libxml2.x86_64 2.7.6-21.el6_8.1 @RHEL6.8-Server-P1-Jul2016-x86_64
libxml2-devel.x86_64 2.7.6-21.el6_8.1 @RHEL6.8-Server-P1-Oct2016-x86_64
I have a .so for ldap on the server, maybe I should try symlinking to it? I
can't find anything called libldap without a version number, so maybe that
is the problem?
[dasneved at drdsv01zatcrh ~]$ find / -name '*libldap*' 2>/dev/null
/lib64/libldap-2.4.so.2
/lib64/libldap_r-2.4.so.2
/lib64/libldap_r-2.4.so.2.10.3
/lib64/libldap-2.4.so.2.10.3
/opt/apps/oracle/product/11.2.0/client64/lib/libldapjclnt11.so
/opt/apps/oracle/product/11.2.0/client64/lib/libldapjclnt11.a
/opt/apps/oracle/product/11.2.0/client64/lib/libldapclnt11.a
/opt/apps/oracle/product/11.2.0/dbhome/lib/libldapjclnt11.so
/opt/apps/oracle/product/11.2.0/dbhome/lib/libldapjclnt11.a
/opt/apps/oracle/product/11.2.0/dbhome/lib/libldapclnt11.a
/usr/lib64/libreoffice/program/libldapbe2lo.so
/usr/lib64/libldap-2.3.so.0.2.31
/usr/lib64/libldap_r-2.3.so.0
/usr/lib64/libldap_r-2.3.so.0.2.31
/usr/lib64/sasl2/libldapdb.so
/usr/lib64/sasl2/libldapdb.so.2.0.23
/usr/lib64/sasl2/libldapdb.so.2
/usr/lib64/libldap-2.3.so.0
/usr/lib64/thunderbird/libldap60.so
Regards
David
-----Original Message-----
From: Ista Zahn [mailto:istazahn at gmail.com]
Sent: 07 December 2016 08:53 PM
To: Das Neves, David, Vodacom South Africa
Cc: r-help at R-project.org
Subject: Re: [R] R XML package on RHEL
As far as I know you only need libxml and libxml2-devel. Do you have those
installed?
--Ista
On Wed, Dec 7, 2016 at 8:00 AM, Das Neves, David, Vodacom South Africa
<David.DasNeves at vcontractor.co.za> wrote:> Hi
>
> I am trying install the XML package on R 3.3.0 on RHEL. After it complained
that the curl library was missing and we installed it, it continues to fail the
linking step:
>
> gcc -m64 -std=gnu99 -shared -L/usr/lib64/R/lib -ldl -lpthread -lc -lrt
> -lcurl -lidn -lssh2 -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5
> -lkrb5 -lk5crypto -lcom_err -lldap -lz -lrt -o XML.so DocParse.o
> EventParse.o ExpatParse.o HTMLParse.o NodeGC.o RSDTD.o RUtils.o
> Rcatalog.o Utils.o XMLEventParse.o XMLHashTree.o XMLTree.o fixNS.o
> libxmlFeatures.o schema.o xmlsecurity.o xpath.o -lxml2 -lz -lm -lz
> -lxml2 -L/usr/lib64/R/lib -lR
> /usr/bin/ld: cannot find -lldap
>
> It is not clear which package is meant to provide the ldap library,
although I can see I library that may be appropriate it is not referred to as
libldap as such. Should I be creating a symbolic link to the library or
something like that?
>
> Please help!
>
> Regards
>
> David das Neves
>
> This e-mail is classified C2 - Vodacom Restricted - Information to be used
inside Vodacom but it may be shared with authorised partners.
> ???This e-mail is sent on the Terms and Conditions that can be accessed by
Clicking on this link https://webmail.vodacom.co.za/tc/default.html "
>
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
?This e-mail is sent on the Terms and Conditions that can be accessed by
Clicking on this link https://webmail.vodacom.co.za/tc/default.html "