Perl Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming LanguagesPerl Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 22nd, 2013, 03:40 PM
EnderX EnderX is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2009
Posts: 59 EnderX User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 5 h 28 m 12 sec
Reputation Power: 4
Problem interpreting CPAN error message

I'm trying to install the component DBD::Pg on a SuSE machine via CPAN, and I'm getting an error message I'm having a tough time trying to interpret.

Error Message:
Code:
Error:  Can't load '/root/.cpan/build/DBD-Pg-2.19.3/blib/arch/auto/DBD/Pg/Pg.so' for module DBD::Pg: /root/.cpan/build/DBD-Pg-2.19.3/blib/arch/auto/DBD/Pg/Pg.so: undefined symbol: lo_import_with_oid at /usr/lib/perl5/5.8.1/i586-linux-thread-multi/DynaLoader.pm line 229.


I've tried tracking it down online, but the closest thing I've been able to come up with was a reference in the DBD::Pg readme file indicating a similar error message. In that case, the solution was to include the library paths directly, in the ld.so.conf file. I did so (including running ldconfig afterwards), but I'm still getting this message. Beyond that, while I'm seeing a few bug reports online with the 'undefined symbol: lo_import_with_oid' portion of the error message, I'm having trouble finding anything on it that appears to have been resolved.

Would anyone here be willing to help me figure out what it is I'm missing about this error message, and where to turn next in figuring it out and resolving the situation?

Reply With Quote
  #2  
Old February 22nd, 2013, 05:00 PM
keath's Avatar
keath keath is offline
!~ /m$/
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: May 2004
Location: Reno, NV
Posts: 4,086 keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level) 
Time spent in forums: 2 Weeks 4 Days 6 h 59 m 11 sec
Reputation Power: 1809
What version of PostgreSQL is installed on that machine?

Reply With Quote
  #3  
Old February 24th, 2013, 10:59 PM
keath's Avatar
keath keath is offline
!~ /m$/
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: May 2004
Location: Reno, NV
Posts: 4,086 keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level) 
Time spent in forums: 2 Weeks 4 Days 6 h 59 m 11 sec
Reputation Power: 1809
Well, anyway.

The lo_import_with_oid feature was added at PostgreSQL 8.4, so if you have a version older than that, it isn't supported.

But I believe the intent was that DBD::Pg would still compile and install to older versions, but there is a current bug:

https://rt.cpan.org/Public/Bug/Display.html?id=79551

You could possibly install an older version of DBD::Pg, or upgrade Postgres.
Comments on this post
EnderX agrees: Quick and useful assistance, I appreciated it.

Reply With Quote
  #4  
Old February 26th, 2013, 11:16 AM
EnderX EnderX is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2009
Posts: 59 EnderX User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 5 h 28 m 12 sec
Reputation Power: 4
keath, thanks for the assistance. Your advice helped me to track down an older version of the module to install, which did install successfully and permit me to run at least one of the programs I was working on. (Haven't tried all of them yet.)

I appreciate the help.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPerl Programming > Problem interpreting CPAN error message

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap