CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: DBI:
Can't load '/usr/local/lib/perl/5.14.2/auto/DBI/DBI.so' for module DBI

 



nkpalkar
New User

Aug 9, 2013, 2:26 AM

Post #1 of 4 (11324 views)
Can't load '/usr/local/lib/perl/5.14.2/auto/DBI/DBI.so' for module DBI Can't Post

Can't load '/usr/local/lib/perl/5.14.2/auto/DBI/DBI.so' for module DBI: /usr/local/lib/perl/5.14.2/auto/DBI/DBI.so: undefined symbol: PL_thr_key at /usr/lib/perl/5.14/DynaLoader.pm line 184.
at /usr/local/lib/perl/5.14.2/DBI.pm line 277

/usr/local/lib/perl/5.14.2/auto/DBI/DBI.so is available in the directory


(This post was edited by nkpalkar on Aug 9, 2013, 2:33 AM)


FishMonger
Veteran / Moderator

Aug 11, 2013, 12:57 PM

Post #2 of 4 (11283 views)
Re: [nkpalkar] Can't load '/usr/local/lib/perl/5.14.2/auto/DBI/DBI.so' for module DBI [In reply to] Can't Post

What method did you use to install DBI and were there any errors during the install?

Have you tried rebuilding the module from source?


(This post was edited by FishMonger on Aug 11, 2013, 12:58 PM)


nkpalkar
New User

Aug 13, 2013, 3:23 AM

Post #3 of 4 (11268 views)
Re: [FishMonger] Can't load '/usr/local/lib/perl/5.14.2/auto/DBI/DBI.so' for module DBI [In reply to] Can't Post

I have installed the DBI using " perl -MCPAN -e shell"

cpan[1]> install DBI

and there were no errors while installation.

No, we have not build the module from source.


FishMonger
Veteran / Moderator

Aug 13, 2013, 7:22 AM

Post #4 of 4 (11263 views)
Re: [nkpalkar] Can't load '/usr/local/lib/perl/5.14.2/auto/DBI/DBI.so' for module DBI [In reply to] Can't Post

Do you have multiple versions of perl installed?

The error message would indicate that you do since it refers to 2 different lib paths and version numbers ( /usr/local/lib/perl/5.14.2/ and /usr/lib/perl/5.14/).

It would appear that you installed DBI under one version but the script is pointing to the other version.


(This post was edited by FishMonger on Aug 13, 2013, 7:24 AM)

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives