Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Originating-IP: [65.96.58.137] X-Originating-Email: [mgainty AT hotmail DOT com] From: "Martin Gainty" To: "Paul Bezzam" , References: Subject: Re: Perl and C Date: Fri, 17 Oct 2003 13:46:49 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: X-OriginalArrivalTime: 17 Oct 2003 17:46:28.0838 (UTC) FILETIME=[97DED060:01C394D6] Paul- Convert your Perl Script to a binary http://www.indigostar.com/perl2exe.htm#Download and then fork or exec the binary hth, Martin Gainty ----- Original Message ----- From: "Paul Bezzam" To: Sent: Friday, October 17, 2003 12:27 PM Subject: Perl and C > > Hello, > > I am having a hard time calling a Perl subroutine from C on Cygwin. I > tested out the Perl program seperately and it works fine. But, when I try > to call it from C, I get this error: > > Can't load module Socket, dynamic loading not available in this perl. > (You may need to build a new perl executable which either supports > dynamic loading or has the Socket module statically linked into it.) > at /usr/lib/perl5/site_perl/5.8.0/Mirapoint/Admin.pm line 167 > > Any help would be appreciated. > > Paul > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/