That didn't do it. Probably something to with the .so file you described. Should I have installed the library files somewhere else maybe?
----- Original Message ---- From: David Romero <[EMAIL PROTECTED]> To: beginners@perl.org Sent: Wednesday, June 25, 2008 3:49:54 PM Subject: Re: including LD_LIBRARY_PATH within a script this is one way to do that. use lib "/libDirectory/"; Note. Some modules use .so files, on some hostings i'm put on the lib directory the module and the .so lib en the auto directory. The auto directory content depends on the platform, is diferent if your hosting use windows or linux. On Wed, Jun 25, 2008 at 1:47 PM, Ravi Malghan <[EMAIL PROTECTED]> wrote: > Hi: I have a script which runs fine when I run it from the shell prompt. But > when I run it from within another application, I get the following error > > Can't load > '/usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/ARS/ARS.so' for > module ARS: ld.so.1: > perl: fatal: libicudatabmc.so.32: open failed: No such file or directory at > /usr/local/lib/perl5/5.8.7/sun4-solaris/DynaLoader.pm line 230. > > This file libicudatabmc.so.32 is in /export/home/netcool/arsapi/lib. So I > tried including the following line in my code and I still get the same error > > $ENV{'LD_LIBRARY_PATH'} = > '/usr/local/lib:/opt/ibm/netcool/platform/solaris2/pgsql8/lib:/export/home/netcool/oracle/instantclient_10_2:/export/home/netcool/arsapi/lib'; > > Any suggestions? > > Thanks > Ravi > > ----- Original Message ---- > From: Jeff Peng <[EMAIL PROTECTED]> > To: btna <[EMAIL PROTECTED]> > Cc: beginners@perl.org > Sent: Wednesday, June 25, 2008 8:47:25 AM > Subject: Re: Sending HTML files via mail > > I once used this script for sending a html message. > Wish it help to you too. > > sub sendmail { > > my $to = shift; > > my $msg = MIME::Lite->new( > From => "$sender_name <$sender_email>", > To => $to, > Subject => $subject, > Type => 'text/html', > Encoding => 'base64', > Data => $content, > ); > > $msg->attr('content-type.charset' => 'gb2312'); > $msg->send('smtp','127.0.0.1', Debug=>0 ); > } > > On Tue, Jun 24, 2008 at 3:33 AM, btna <[EMAIL PROTECTED]> wrote: >> Hi all, >> >> I am very new to Perl. I have a HTML file that I need to send via mail >> but I don't want the attachment. I want the HTML file to be displayed >> in the mail when the mail is received. In other words, the HTML file >> becomes the content of the mail. >> > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > http://learn.perl.org/ > > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > http://learn.perl.org/ > > > -- David Romero www.factufacil.com.mx -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/