- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Errormessage on Perl Module
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-20-2005 02:32 AM
тАО05-20-2005 02:32 AM
/usr/lib/hpux32/dld.so: Unsatisfied code symbol '__divdf3' in load module '/opt/perl5/lib/site_perl/5.8.6/IA64.ARCHREV_0/auto/RRDs/RRDs.so'
RRDs.so is a part of an Perl-Module, which I compiled with cc. The Programm, which is crashing is using gcc, I think.
ldd -r RRDs.so gives me "Symbol not found" for most procedures incl. __divdf3.
If anybody has already had something like this, please help.
My System: HP-UX 11.23 on IA64
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2005 06:30 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2005 08:43 AM
тАО05-22-2005 08:43 AM
Re: Errormessage on Perl Module
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2005 12:07 PM
тАО05-22-2005 12:07 PM
Re: Errormessage on Perl Module
$ perl -V:cc
Also please provide output of
$ ldd -v /opt/perl5/lib/site_perl/5.8.6/IA64.ARCHREV_0/auto/RRDs/RRDs.so
If perl and perl module RRD were compiled with cc, then my guess is that RRD.so was linked with RRDtool shared library, which was compiled with gcc.
So you will probably need to recompile RRDtool with cc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2005 06:33 PM
тАО05-22-2005 06:33 PM
Re: Errormessage on Perl Module
cc='cc';
so, Perl was compiled with cc (as if I didn`t knew that :) )
The second:
find library=libm.so.1; required by /opt/perl5/lib/site_perl/5.8.6/IA64.ARCHREV_0/auto/RRDs/RRDs.so
libm.so.1 => /usr/lib/hpux32/libm.so.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2005 06:52 PM
тАО05-22-2005 06:52 PM
Re: Errormessage on Perl Module
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2005 06:58 PM
тАО05-22-2005 06:58 PM
Re: Errormessage on Perl Module
ldd is a more universal tool, but it only shows the things that can be resolved. chatr shows where the libs are *expected*
Then get yourself a libgcc.sl and put it where it is expected.
Your perl is built with 'cc', and one of the things you added is built with gcc. If you expect to add XS modules to your perl distro (XS modules are the modules that need a C compiler), your best bets are
1. Install the C compiler that was used to build perl
2. Install a perl build that used the C compiler you have (*)
Mixing of either is possible, but cannot (easily) be automated. A lot of manual intervention in the makefiles is needed, and also a trained eye in reading the messages
(*) gcc built perl binaries are available widely. On my site ( http://mirrors.develooper.com/hpux/ ) you find almost all builds for pa-risc. for itanium, you'd better go here: http://hpux.connect.org.uk/hppd/hpux/Languages/perl-5.8.6/
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2005 07:25 PM
тАО05-22-2005 07:25 PM
Re: Errormessage on Perl Module
You will need to recompile it using cc.
You said that you recompiled rrdtool using cc. Have you also done 'make site-perl-install' to update perl module (/opt/perl5/lib/site_perl/5.8.6/IA64.ARCHREV_0/auto/RRDs/RRDs.so).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2005 07:29 PM
тАО05-22-2005 07:29 PM
Re: Errormessage on Perl Module
Make: Don't know how to make site-perl-install. Stop.
But if I check the Perl modules under webmin/Perl Modules, I can see that the RRD.s was compiled today.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2005 11:55 PM
тАО05-22-2005 11:55 PM
Re: Errormessage on Perl Module
To get rrd perl module installed in perl's site-perl directory (/opt/perl5/lib/site_perl) you have to run make site-perl-install in rrd source directory after successful build. However, you may need to run configure with --enable-site-perl-install option.
When rrd perl module is built with cc, '/opt/perl5/lib/site_perl/5.8.6/IA64.ARCHREV_0/auto/RRDs/RRDs.so' should not contain __divdf3 symbol. Check with nm
$ nm /opt/perl5/lib/site_perl/5.8.6/IA64.ARCHREV_0/auto/RRDs/RRDs.so | grep __divdf3