nowy rpm

Radosław Zieliński radek42 w gmail.com
Wto, 28 Cze 2005, 12:27:06 CEST


On 6/28/05, Andrzej Krzysztofowicz <ankry w green.mif.pg.gda.pl> 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).


Więcej informacji o liście dyskusyjnej pld-devel-pl