Current location: Hot Scripts Forums » Programming Languages » Perl » DBD - Global Symbols Issue


DBD - Global Symbols Issue

Reply
  #1 (permalink)  
Old 08-20-07, 11:32 AM
cunixgroup cunixgroup is offline
New Member
 
Join Date: Aug 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
DBD - Global Symbols Issue

Hi,

I'm getting the following warning every time I run a perl script the uses DBD:

"Can't make loaded symbols global on this platform while loading /opt/ +perl_32/lib/site_perl/5.8.3/IA64.ARCHREV_0-thread-multi/auto/DBD/Syba +se/Sybase.so at /opt/perl_32/lib/5.8.3/IA64.ARCHREV_0-thread-multi/Dy +naLoader.pm line 229."


The DBD module is installed on IA-64 machine with Perl 5.8.3 as the base installation. The odd thing is that it works flawlessly (no warning) on the older PA-RISC.

Any idea how to fix this issue? Any help would be appreciated.

Thanks in advance,
Andrew
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 08-20-07, 01:27 PM
Drunken Perl Coder Drunken Perl Coder is offline
Wannabe Coder
 
Join Date: Aug 2006
Posts: 110
Thanks: 0
Thanked 0 Times in 0 Posts
If you get no helpful replies here, take this quetion over to www.perlmonks.com where there is a large base of knowledegable perl users. Personally I have no idea how to answer your question.
__________________
Mods: Please do not edit my posts to add syntax highlighting. Thank you.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 08-21-07, 12:45 AM
curbview.com's Avatar
curbview.com curbview.com is offline
Junior Code Guru
 
Join Date: May 2006
Posts: 555
Thanks: 0
Thanked 0 Times in 0 Posts
Are the two modules the same version? The next thing to check is if one machine has a bad install of the module itself. Try re-installing.

Quote:
Originally Posted by cunixgroup View Post
Hi,

I'm getting the following warning every time I run a perl script the uses DBD:

"Can't make loaded symbols global on this platform while loading /opt/ +perl_32/lib/site_perl/5.8.3/IA64.ARCHREV_0-thread-multi/auto/DBD/Syba +se/Sybase.so at /opt/perl_32/lib/5.8.3/IA64.ARCHREV_0-thread-multi/Dy +naLoader.pm line 229."


The DBD module is installed on IA-64 machine with Perl 5.8.3 as the base installation. The odd thing is that it works flawlessly (no warning) on the older PA-RISC.

Any idea how to fix this issue? Any help would be appreciated.

Thanks in advance,
Andrew
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 08-21-07, 10:35 AM
cunixgroup cunixgroup is offline
New Member
 
Join Date: Aug 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by curbview.com View Post
Are the two modules the same version? The next thing to check is if one machine has a bad install of the module itself. Try re-installing.
There might be something wacky with how the Sybase shared objects were installed.

ldd /opt/perl_32/lib/site_perl/5.8.3/IA64.ARCHREV_0-thread-multi/auto/DBD/Sybase/Sybase.so

libsybct.so => /sybase/OCS-15_0/lib/libsybct.so
libsybcs.so => /sybase/OCS-15_0/lib/libsybcs.so
libsybtcl.so => /sybase/OCS-15_0/lib/libsybtcl.so
libsybcomn.so => /sybase/OCS-15_0/lib/libsybcomn.so
libsybintl.so => /sybase/OCS-15_0/lib/libsybintl.so
libsybblk.so => /sybase/OCS-15_0/lib/libsybblk.so
libdl.so.1 => /usr/lib/hpux32/libdl.so.1 l
ibm.so.1 => /usr/lib/hpux32/libm.so.1
libsybcs.so => /sybase/OCS-15_0/lib/libsybcs.so
libsybtcl.so => /sybase/OCS-15_0/lib/libsybtcl.so
libsybcomn.so => /sybase/OCS-15_0/lib/libsybcomn.so
libsybintl.so => /sybase/OCS-15_0/lib/libsybintl.so
libm.so.1 => /usr/lib/hpux32/libm.so.1
libsybunic.so => /sybase/OCS-15_0/lib/libsybunic.so
libsybct.so => /sybase/OCS-15_0/lib/libsybct.so


I also tried re-installing DBD::Sybase in both the 32 bit and 64 bit builds using the 'perl Makefile.PL -r=buildXX' where XX is the bit depth. Unfortunately the 'Can't make loaded symbols...' warning came up for both builds during the 'make test' session.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
RSS Using RSS2Html Script VKX PHP 1 10-16-06 06:27 PM
Issue Tracking and Task management SlackeR Script Requests 8 10-05-05 05:29 PM
Redirection back to a page from form submit DAL Perl 11 03-21-05 03:45 PM
PHP Error Fairnie PHP 8 06-26-04 08:15 AM
Formmail Script Fix - Cant display multiple list selections.. zamen PHP 3 05-02-04 10:59 AM


All times are GMT -5. The time now is 06:39 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.