in reply to Embedding Perl Interpreter/DynaLoader
The compile string is now:
Unfortunately, when I run the executable I still get that same ol' frustrating error:cc '-Wl,-E' -I "/usr/local/include" -I "/opt/perl/lib/5.6.1/PA-RISC1.1 +-thread-multi/CORE" -o codeGen xsinit.c codeGen. c -L/usr/local/lib -L "/opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi/COR +E" "/opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi/auto/DynaLoa der/DynaLoader.a" -lperl -lnsl -lm -lc -lcrypt -lsec -L/usr/local/lib
And, of course, things are lovely if I remove any reference to glob(). Beyond this point, I'm not sure how to create an executable that "supports dynamic loading". Hmmm, perhaps naively I thought DynaLoader.a would do that. Perhaps - if there are no more obvious things for me to try - I will make do w/o glob() as part of my embedded Perl.Can't load module File::Glob, dynamic loading not available in this pe +rl. (You may need to build a new perl executable which either supports dynamic loading or has the File::Glob module statically linked into +it.) Compilation failed in require at search.pl line 8. BEGIN failed--compilation aborted at search.pl line 8. Undefined subroutine &main::search_files called at search.pl line 8.
Thank you all,
MatthewFrancis
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Embedding Perl Interpreter/DynaLoader
by mpeppler (Vicar) on Dec 02, 2003 at 00:11 UTC | |
by MatthewFrancis (Acolyte) on Dec 02, 2003 at 15:58 UTC | |
by mpeppler (Vicar) on Dec 02, 2003 at 16:32 UTC |