[R] R XML package on RHEL
istazahn at gmail.com
Wed Dec 7 21:12:12 CET 2016
I don't know, the only thing with ldap in the name that I have
installed is "openldap".
On Wed, Dec 7, 2016 at 2:21 PM, Das Neves, David, Vodacom South Africa
<David.DasNeves at vcontractor.co.za> wrote:
> 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
> -----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?
> On Wed, Dec 7, 2016 at 8:00 AM, Das Neves, David, Vodacom South Africa <David.DasNeves at vcontractor.co.za> wrote:
>> 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!
>> 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
>> PLEASE do read the posting guide
>> 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 "
More information about the R-help