books
Free Books / Computers / Practical mod_perl /

previous page: 22.2.5. Missing right bracket at line ...
  
page up: Practical mod_perl | by Stas Bekman and Eric Cholet
  
next page: 22.3. Runtime

22.2.6. Can't load `.../auto/DBI/DBI.so' for module DBI




Description

This section is from the "Practical mod_perl" book, by Stas Bekman and Eric Cholet. Also available from Amazon: Practical mod_perl

If you have the DBI module installed, this error is usually caused by binary incompatibilities. Check that all your modules were compiled with the same Perl version that mod_perl was built with. For example, Perl 5.005 and 5.004 are not binary compatible by default.

Other known causes of this problem are:

  • OS distributions that ship with a broken binary Perl installation.

  • The perl program and libperl.a library are somehow built with different binary compatibility flags.

The solution to these problems is to rebuild Perl and any extension modules from a fresh source tree. Read Perl's INSTALL document for more details.

On the Solaris OS, if you see the "Can't load DBI" or a similar error for the IO module (or whatever dynamic module mod_perl tries to pull in first), you need to reconfigure, rebuild, and reinstall Perl and any dynamic modules. When Configure asks for "additional LD flags," add the following flags:

-Xlinker --export-dynamic

or:

-Xlinker -E

This problem is known to be caused only by installing GNU ld under Solaris.

 

Continue to:

  • prev: 22.2.5. Missing right bracket at line ...
  • Table of Contents
  • next: 22.3. Runtime

Books by Stas Bekman:















TOP
previous page: 22.2.5. Missing right bracket at line ...
  
page up: Practical mod_perl | by Stas Bekman and Eric Cholet
  
next page: 22.3. Runtime

Topics

  • Animals
  • Architecture
  • Arts
  • Business
  • Computers
  • Crafts
  • Fairy Tales
  • Finance
  • Flora and Plants
  • Cooking
  • Gardening
  • Health and Healing
  • History
  • Home Improvements
  • Languages
  • New Age
  • Novels
  • Real Estate
  • Reference
  • Religion
  • Science
  • Society
  • Sports
  • Travel
  • Outdoors


Search

My Books

Headaches Begone! A Systemic Approach To Healing Your Headaches
Don't Let Your Bike Seat Ruin Your Sex Life Book

Discover

  • Answers FAQ

[ Privacy Policy | Terms of Use | About Us | Search ]

© 2007-2021 StasoSphere.com