On 6/28/05, Andrzej Krzysztofowicz <[EMAIL PROTECTED]> wrote: [...] > przechodzi prawidlowo, natomiast sypie sie: > PERL_DL_NONLAZY=1 /usr/bin/perl5.8.6 "-Iblib/lib" "-Iblib/arch" test.pl > 1. Co daje ustawienie tej zmiennej (PERL_DL_NONLAZY)?
perlrun(1): PERL_DL_NONLAZY Set to one to have perl resolve all undefined symbols when it loads a dynamic library. The default behaviour is to resolve symbols when they are used. Setting this variable is useful during testing of extensions as it ensures that you get an error on misspelled function names even if the test suite doesn't call it. > 2. Jak to zdebugowac Czy libperl.so jest poprawnie zlinkowany? gcc /usr/lib/libperl.so* Z czym zlinkowany jest RPM2.so (i czy tak ma być)? ldd RPM2.so Czy brakuje jakichś symboli? gcc /usr/lib/libperl.so* RPM2.so bt z tego core sprawdzałeś? Segfault jest na etapie kompilacji (PERL_DL...=1 perl -Mblib -wc test.pl), czy po jakiejś konkretnej instrukcji z test.pl (wątpię)? > (ZTCW, przy PERL_DL_NONLAZY=1 debuger perlowy nie dziala...) Pierwsze słyszę, ale pewnie nie pomoże (sig11 zanim dojdzie do głosu). _______________________________________________ pld-devel-pl mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl
