I am having some trouble using the Perl B::C compiler to build a binary
from a perl script that uses the DBI and DBD::Sybase modules. The script
compiles but fails on execution with the error 'Can't locate object method
"connect" via package "DBI"...

This is a common problem with B::C where a modules functions are not
compiled into the binary because they are not referenced at compile time,
this is usually fixed using the '-u' in the compiler command line. I cannot
figure out how to use this to fix my problem.

If anyone has experience compiling perl scripts that use DBI and DBD
modules can you please let me know how you did it.

Thanks,
David


This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.

Reply via email to