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/
Re: Perl and C
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 [EMAIL PROTECTED] To: [EMAIL PROTECTED] 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/
Re: Perl and C
Martin Gainty wrote: Paul- Convert your Perl Script to a binary http://www.indigostar.com/perl2exe.htm#Download and then fork or exec the binary This looks interesting. Tell me, which version am I supposed to download for Cygwin? It would be wonderful to have a perl2exe that can convert my Perl scripts developed under Cygwin to Windows executables (and/or executables requiring Cygwin). -- I used up all my sick days, so I'm calling in dead. -- 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/