EPrints Technical Mailing List Archive
Message: #09410
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Migrating to Redhat Linux 8.6
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] Migrating to Redhat Linux 8.6
- From: Andrew Mehta <A.J.Mehta@soton.ac.uk>
- Date: Thu, 21 Sep 2023 14:31:11 +0000
Is it a problem for your EPrints migration if
perl-XML-LibXSLT is working fine for you?
The CPAN install idea is only if you sometimes find the
perl-XML-LibXSLT package causes segmentation faults with the Apache
httpd webserver.
You mention you are using cpanm. Is the following command...
cpanm -V
...showing the correct installation locations?
Is any further info in build logs in your user's home directory's ".cpanm" folder?
From: eprints-tech-request@ecs.soton.ac.uk <eprints-tech-request@ecs.soton.ac.uk> on behalf of Maher Abdellatif Ahmad Qahwash <qahwash@kfupm.edu.sa>
Sent: 21 September 2023 15:20 To: eprints-tech@ecs.soton.ac.uk <eprints-tech@ecs.soton.ac.uk> Subject: RE: [EP-tech] Migrating to Redhat Linux 8.6
CAUTION: This e-mail originated outside the University of Southampton.
CAUTION: This e-mail originated outside the University of Southampton.
Internal
Sorry the libxslt is a folder (not a file) and is located here: /usr/include/libxslt
We also have the following libxslt files here: /usr/lib64/libxslt.so.1.1.32 /usr/lib64/libxslt-plugins /usr/lib64/libxslt.so.1 /usr/lib64/pkgconfig/libxslt.pc /usr/lib64/libxslt.so /usr/share/licenses/libxslt
The error appearing when trying to install using CPAN is this: looking for -lxslt... no libxslt not found
From: eprints-tech-request@ecs.soton.ac.uk <eprints-tech-request@ecs.soton.ac.uk>
On Behalf Of Maher Abdellatif Ahmad Qahwash
CAUTION: This e-mail originated outside the University of Southampton. CAUTION: This e-mail originated outside the University of Southampton. Internal We installed from RPM dnf install perl-XML-LibXSLT which was successful and resolved any ZjQcmQRYFpfptBannerStart
ZjQcmQRYFpfptBannerEnd CAUTION: This e-mail originated outside the University of Southampton. CAUTION: This e-mail originated outside the University of Southampton. Internal
We installed from RPM dnf install perl-XML-LibXSLT which was successful and resolved any dependencies. Then we did a dnf remove perl-XML-LibXSLT and then a cpanm (Yes we are using cpanm) XML::LibXSLT but received the same error and the installation failed.
Could the issue be from the location of the libxslt file?
# which libxslt /usr/bin/which: no libxslt in (/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
The libxslt file is located here: /usr/include/libxslt Thanks Maher
From:
eprints-tech-request@ecs.soton.ac.uk <eprints-tech-request@ecs.soton.ac.uk>
On Behalf Of John Salter
CAUTION: This e-mail originated outside the University of Southampton. CAUTION: This e-mail originated outside the University of Southampton. Apologies, that previous ‘which’ wasn’t too helpful :\ If you try installing from RPM: >dnf install ZjQcmQRYFpfptBannerStart
ZjQcmQRYFpfptBannerEnd CAUTION: This e-mail originated outside the University of Southampton. CAUTION: This e-mail originated outside the University of Southampton.
Apologies, that previous ‘which’ wasn’t too helpful :\
>dnf install perl-XML-LibXSLT
From:
eprints-tech-request@ecs.soton.ac.uk <eprints-tech-request@ecs.soton.ac.uk>
On Behalf Of Maher Abdellatif Ahmad Qahwash
CAUTION: This e-mail originated outside the University of Southampton. CAUTION: This e-mail originated outside the University of Southampton. Internal
I’m using the root user for running the below command and for trying to install the CPAN module, this is the output:
# which libxslt /usr/bin/which: no libxslt in (/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
From:
eprints-tech-request@ecs.soton.ac.uk <eprints-tech-request@ecs.soton.ac.uk>
On Behalf Of John Salter
CAUTION: This e-mail originated outside the University of Southampton. CAUTION: This e-mail originated outside the University of Southampton. If you run: > which libxslt As the same user you are trying to install the CPAN module with, does ZjQcmQRYFpfptBannerStart
ZjQcmQRYFpfptBannerEnd CAUTION: This e-mail originated outside the University of Southampton. CAUTION: This e-mail originated outside the University of Southampton.
If you run: As the same user you are trying to install the CPAN module with, does it return anything?
From:
eprints-tech-request@ecs.soton.ac.uk <eprints-tech-request@ecs.soton.ac.uk>
On Behalf Of Maher Abdellatif Ahmad Qahwash
CAUTION: This e-mail originated outside the University of Southampton. CAUTION: This e-mail originated outside the University of Southampton. Internal
Hi Martin
The packages libxslt-devel libxslt libxml2-devel libxml2 are only installed using dnf and are not installed again on the system using CPAN. As for the XML::LibXSLT it is recommended in the documentation to install it using CPAN and not as an rpm using dnf.
Any ideas?
Thanks, Maher
From:
eprints-tech-request@ecs.soton.ac.uk <eprints-tech-request@ecs.soton.ac.uk>
On Behalf Of Martin Brändle
CAUTION: This e-mail originated outside the University of Southampton. CAUTION: This e-mail originated outside the University of Southampton. Hi, if you have the rpms installed, you don’t need the CPAN package (you should remove it) – otherwise ZjQcmQRYFpfptBannerStart
ZjQcmQRYFpfptBannerEnd CAUTION: This e-mail originated outside the University of Southampton. CAUTION: This e-mail originated outside the University of Southampton. Hi,
if you have the rpms installed, you don’t need the CPAN package (you should remove it) – otherwise you may run into conflicts. Kind regards,
Martin
--
Dr. Martin Brändle
From: eprints-tech-request@ecs.soton.ac.uk <eprints-tech-request@ecs.soton.ac.uk> on behalf of Maher Abdellatif Ahmad Qahwash <qahwash@kfupm.edu.sa>
Sent: 21 September 2023 15:20 To: eprints-tech@ecs.soton.ac.uk <eprints-tech@ecs.soton.ac.uk> Subject: RE: [EP-tech] Migrating to Redhat Linux 8.6
CAUTION: This e-mail originated outside the University of Southampton.
CAUTION: This e-mail originated outside the University of Southampton.
Internal
Sorry the libxslt is a folder (not a file) and is located here: /usr/include/libxslt
We also have the following libxslt files here: /usr/lib64/libxslt.so.1.1.32 /usr/lib64/libxslt-plugins /usr/lib64/libxslt.so.1 /usr/lib64/pkgconfig/libxslt.pc /usr/lib64/libxslt.so /usr/share/licenses/libxslt
The error appearing when trying to install using CPAN is this: looking for -lxslt... no libxslt not found
From: eprints-tech-request@ecs.soton.ac.uk <eprints-tech-request@ecs.soton.ac.uk>
On Behalf Of Maher Abdellatif Ahmad Qahwash
CAUTION: This e-mail originated outside the University of Southampton. CAUTION: This e-mail originated outside the University of Southampton. Internal We installed from RPM dnf install perl-XML-LibXSLT which was successful and resolved any ZjQcmQRYFpfptBannerStart
ZjQcmQRYFpfptBannerEnd CAUTION: This e-mail originated outside the University of Southampton. CAUTION: This e-mail originated outside the University of Southampton. Internal
We installed from RPM dnf install perl-XML-LibXSLT which was successful and resolved any dependencies. Then we did a dnf remove perl-XML-LibXSLT and then a cpanm (Yes we are using cpanm) XML::LibXSLT but received the same error and the installation failed.
Could the issue be from the location of the libxslt file?
# which libxslt /usr/bin/which: no libxslt in (/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
The libxslt file is located here: /usr/include/libxslt Thanks Maher
From:
eprints-tech-request@ecs.soton.ac.uk <eprints-tech-request@ecs.soton.ac.uk>
On Behalf Of John Salter
CAUTION: This e-mail originated outside the University of Southampton. CAUTION: This e-mail originated outside the University of Southampton. Apologies, that previous ‘which’ wasn’t too helpful :\ If you try installing from RPM: >dnf install ZjQcmQRYFpfptBannerStart
ZjQcmQRYFpfptBannerEnd CAUTION: This e-mail originated outside the University of Southampton. CAUTION: This e-mail originated outside the University of Southampton.
Apologies, that previous ‘which’ wasn’t too helpful :\
>dnf install perl-XML-LibXSLT
From:
eprints-tech-request@ecs.soton.ac.uk <eprints-tech-request@ecs.soton.ac.uk>
On Behalf Of Maher Abdellatif Ahmad Qahwash
CAUTION: This e-mail originated outside the University of Southampton. CAUTION: This e-mail originated outside the University of Southampton. Internal
I’m using the root user for running the below command and for trying to install the CPAN module, this is the output:
# which libxslt /usr/bin/which: no libxslt in (/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
From:
eprints-tech-request@ecs.soton.ac.uk <eprints-tech-request@ecs.soton.ac.uk>
On Behalf Of John Salter
CAUTION: This e-mail originated outside the University of Southampton. CAUTION: This e-mail originated outside the University of Southampton. If you run: > which libxslt As the same user you are trying to install the CPAN module with, does ZjQcmQRYFpfptBannerStart
ZjQcmQRYFpfptBannerEnd CAUTION: This e-mail originated outside the University of Southampton. CAUTION: This e-mail originated outside the University of Southampton.
If you run: As the same user you are trying to install the CPAN module with, does it return anything?
From:
eprints-tech-request@ecs.soton.ac.uk <eprints-tech-request@ecs.soton.ac.uk>
On Behalf Of Maher Abdellatif Ahmad Qahwash
CAUTION: This e-mail originated outside the University of Southampton. CAUTION: This e-mail originated outside the University of Southampton. Internal
Hi Martin
The packages libxslt-devel libxslt libxml2-devel libxml2 are only installed using dnf and are not installed again on the system using CPAN. As for the XML::LibXSLT it is recommended in the documentation to install it using CPAN and not as an rpm using dnf.
Any ideas?
Thanks, Maher
From:
eprints-tech-request@ecs.soton.ac.uk <eprints-tech-request@ecs.soton.ac.uk>
On Behalf Of Martin Brändle
CAUTION: This e-mail originated outside the University of Southampton. CAUTION: This e-mail originated outside the University of Southampton. Hi, if you have the rpms installed, you don’t need the CPAN package (you should remove it) – otherwise ZjQcmQRYFpfptBannerStart
ZjQcmQRYFpfptBannerEnd CAUTION: This e-mail originated outside the University of Southampton. CAUTION: This e-mail originated outside the University of Southampton. Hi,
if you have the rpms installed, you don’t need the CPAN package (you should remove it) – otherwise you may run into conflicts. Kind regards,
Martin
--
Dr. Martin Brändle
|
- Follow-Ups:
- RE: [EP-tech] Migrating to Redhat Linux 8.6
- From: Maher Abdellatif Ahmad Qahwash <qahwash@kfupm.edu.sa>
- RE: [EP-tech] Migrating to Redhat Linux 8.6
- References:
- [EP-tech] Migrating to Redhat Linux 8.6
- From: Maher Abdellatif Ahmad Qahwash <qahwash@kfupm.edu.sa>
- RE: [EP-tech] Migrating to Redhat Linux 8.6
- From: John Salter <J.Salter@leeds.ac.uk>
- Re: [EP-tech] Migrating to Redhat Linux 8.6
- From: Andrew Mehta <A.J.Mehta@soton.ac.uk>
- RE: [EP-tech] Migrating to Redhat Linux 8.6
- From: Maher Abdellatif Ahmad Qahwash <qahwash@kfupm.edu.sa>
- Re: [EP-tech] Migrating to Redhat Linux 8.6
- From: Martin Brändle <martin.braendle@uzh.ch>
- RE: [EP-tech] Migrating to Redhat Linux 8.6
- From: Maher Abdellatif Ahmad Qahwash <qahwash@kfupm.edu.sa>
- RE: [EP-tech] Migrating to Redhat Linux 8.6
- From: John Salter <J.Salter@leeds.ac.uk>
- RE: [EP-tech] Migrating to Redhat Linux 8.6
- From: Maher Abdellatif Ahmad Qahwash <qahwash@kfupm.edu.sa>
- RE: [EP-tech] Migrating to Redhat Linux 8.6
- From: John Salter <J.Salter@leeds.ac.uk>
- RE: [EP-tech] Migrating to Redhat Linux 8.6
- From: Maher Abdellatif Ahmad Qahwash <qahwash@kfupm.edu.sa>
- RE: [EP-tech] Migrating to Redhat Linux 8.6
- From: Maher Abdellatif Ahmad Qahwash <qahwash@kfupm.edu.sa>
- [EP-tech] Migrating to Redhat Linux 8.6
- Prev by Date: RE: [EP-tech] Migrating to Redhat Linux 8.6
- Next by Date: RE: [EP-tech] Migrating to Redhat Linux 8.6
- Previous by thread: RE: [EP-tech] Migrating to Redhat Linux 8.6
- Next by thread: RE: [EP-tech] Migrating to Redhat Linux 8.6
- Index(es):