Perl Module was installed and listed in SSH but not in Perl Module Installed.

sitehandy

New member
Joined
Jun 18, 2021
Messages
3
Hi,

I'm having a problem where I have installed a Perl Module: PDF::WebKit.

I checked it using SSH command, instmodsh, and the module is already installed. However, it is not available on the DirectAdmin Perl Module Installed page, and thus my application cannot running.

How can I solve this problem?

Note:
1) I do follow the installation step according to https://metacpan.org/pod/PDF::WebKit
2) It was successfully installed.
3) But it does not show up in the DirectAdmin Perl Module Installed.
4) I noticed that if I installed any Perl module using yum install perl-XXX-XXX, the module can be discovered by DirectAdmin.
5) But this PDF::WebKit cannot be installed using yum, and I have to use cpan or cpanm to install it, but DirectAdmin cannot detect it.
6) Any help would be greatly appreciated

Thank you in advance for your response.
 

Attachments

  • 1.png
    1.png
    53 KB · Views: 152
Never mind, I already figured out the issue. The reason the Perl module wasn't in the DirectAdmin Perl Module Installed list is that I installed it using the CPAN under the "root" account. I switch to the user account (su - username) with sudo privilege, install the Perl module using CPAN again and it works.

Thanks!
 
Back
Top