jithoosin has asked for the wisdom of the Perl Monks concerning the following question:
Hi monks,
I am calling a perl subroutine from a C file and the perl file uses "USE DBI". When i executed the C file i got the error
I am calling a perl subroutine from a C file and the perl file uses "USE DBI". When i executed the C file i got the error
Then i went through "Using Perl modules, which themselves use C libraries, from your C program" in perlembed to read about the error. The perl subroutine which i call from C file call many other perl modules . Could some one help me on this matter.These were the sequence of command i tried out to correct the errordynamic 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.)
But even after these kind of compilation the error remained the same. Could some one help me in this matter (interp.c is the name of my C file)perl -MExtUtils::Embed -e xsinit -- -o perlxsi.c % cc -c perlxsi.c `perl -MExtUtils::Embed -e ccopts` % cc -c interp.c `perl -MExtUtils::Embed -e ccopts` % cc -o interp perlxsi.o interp.o `perl -MExtUtils::Embed -e ldopts`
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: perl in C >>> "dynamic loading not available in this perl."
by Courage (Parson) on Dec 16, 2005 at 07:57 UTC | |
Re: perl in C >>> "dynamic loading not available in this perl."
by chromatic (Archbishop) on Dec 16, 2005 at 07:38 UTC | |
Re: perl in C >>> "dynamic loading not available in this perl."
by Anonymous Monk on Jan 13, 2006 at 06:13 UTC | |
by Anonymous Monk on Jan 13, 2006 at 07:48 UTC | |
by Anonymous Monk on Jan 16, 2006 at 02:27 UTC | |
by mmathew (Initiate) on Jun 06, 2008 at 09:13 UTC | |
by Anonymous Monk on Jan 16, 2006 at 02:56 UTC |
Back to
Seekers of Perl Wisdom