Posted on 2009-05-08 11:56:34-07 by phantasmania
Error installing from CPAN or even manually
Hello, I\'m trying to install SGML::Parser::OpenSP on my SLES 10.2 on PERL 5.8.8 in a x86_64 multi core machine. I previously compiled and installed OpenSP 1.5.2 I also configured de /etc/ld.so.conf file to look into the so directory and run ldconfig. To install the perl package I used: cpan> force install SGML::Parse::OpenSP I did it because of the test errors. I created a t.pl file with the following content: #t.pl ---start use SGML::Parser::OpenSP; 1; #t.pl---end but I still get the error: Can\'t load \'/usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/SGML/Parser/OpenSP/OpenSP.so\' for module SGML::Parser::OpenSP: /usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/SGML/Parser/OpenSP/OpenSP.so: undefined symbol: _ZN15SGMLApplication11nonSgmlCharERKNS_16NonSgmlCharEventE at /usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/XSLoader.pm line 70. at /usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/SGML/Parser/OpenSP.pm line 18 Compilation failed in require at t.pl line 2. BEGIN failed--compilation aborted at t.pl line 2. Any tips? I searched the internet about this problem without success. Thankyou in advance. Regards, P.S. - Sorry for the bad formating on the post, the list is not accepting the <br/> tag :-)
Direct Responses: 10676 | Write a response
Posted on 2009-05-11 15:46:52-07 by phantasmania in response to 10645
Re: Error installing from CPAN or even manually
Hello, After a more detailed invetigation I found that the OpenSP-1.5.2 parser installation uses by default the /usr/local/lib folder to install the libs. Even when you configure ldconfig to "look into" that folder compilation and tests fails. But I noted that the system where trying to find those libs on /usr/local/lib64 because of the x86_64 architecture involved. So I just copied the content of the /usr/local/lib folder to the /usr/local/lib64 folder. After that everything compiled, installed and worked fine. Regards.
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.