On Wed, Jul 08, 2009 at 07:47:37AM -0400, Koch, Gina (GE Infra, US) wrote:
> Tim:
> I need to create a perl distribution that I can distribute via a Solaris
> package.  I thought the best way to do this is create a static version.
> Let me know if you think otherwise. (I am not a perl internals guru).
> I recompiled perl as dynamic and trying it this way to see if it works.
> Let me know if you have any suggestions. Thanks!

My suggestion: don't build a static version. There be dragons on that path.

Tim.

> -----Original Message-----
> From: Tim Bunce [mailto:tim.bu...@gmail.com] On Behalf Of Tim Bunce
> Sent: Wednesday, July 08, 2009 5:13 AM
> To: Koch, Gina (GE Infra, US)
> Cc: dbi-users@perl.org
> Subject: Re: Installing DBI that works with static version of Perl
> 
> Can you explain _why_ you think you need a static version of perl?
> 
> You're heading into a world of pain, so you'd better have a very good
> reason to want to go that way.
> 
> Tim.
> 
> On Tue, Jul 07, 2009 at 04:09:49PM -0400, Koch, Gina (GE Infra, US)
> wrote:
> > I have compiled a static version of perl and attempting to install DBI
> 
> > and DBD drivers also.  This is the error I receive...
> > 
> > Can't load module DBI, dynamic loading not available in this perl.
> >   (You may need to build a new perl executable which either supports
> >   dynamic loading or has the DBI module statically linked into it.)  
> > at /opt/GEOPS/GEOPSaudit/DBI-1.607-Worked/blib/lib/DBI.pm line 263 
> > BEGIN failed--compilation aborted at 
> > /opt/GEOPS/GEOPSaudit/DBI-1.607-Worked/blib/lib/DBI.pm line 263
> > 
> > I'm at a loss.  I have tried to compile DBD with perl Makefile.PL 
> > LINKTYPE=static and still having issues.
> > Any assistance you can provide is greatly appreciated!!!
> > 

Reply via email to