Skip Menu |

This queue is for tickets about the Geo-libpostal CPAN distribution.

Report information
The Basics
Id: 122043
Status: new
Priority: 0/
Queue: Geo-libpostal

People
Owner: Nobody in particular
Requestors: len.budney [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Linker error on OS X
My platform: Darwin GSG-01827.local 16.6.0 Darwin Kernel Version 16.6.0: Fri Apr 14 16:21:16 PDT 2017; root:xnu-3789.60.24~6/RELEASE_X86_64 x86_64 libpostal version: 1.0.0 Geo-libpostal version: 0.07 MacPorts version: 2.4.1 Make output: Geo-libpostal-0.07 root# make cp README.pod blib/lib/Geo/README.pod cp lib/Geo/libpostal.pm blib/lib/Geo/libpostal.pm /usr/bin/perl /System/Library/Perl/5.18/ExtUtils/xsubpp -typemap /System/Library/Perl/5.18/ExtUtils/typemap libpostal.xs > libpostal.xsc && mv libpostal.xsc libpostal.c cc -c -Wall -O3 -DVERSION=\"0.07\" -DXS_VERSION=\"0.07\" "-I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE" libpostal.c Running Mkbootstrap for Geo::libpostal () chmod 644 libpostal.bs rm -f blib/arch/auto/Geo/libpostal/libpostal.bundle cc -mmacosx-version-min=10.12.5 -arch x86_64 -arch i386 -bundle -undefined dynamic_lookup -fstack-protector libpostal.o -o blib/arch/auto/Geo/libpostal/libpostal.bundle \ \ ld: warning: ignoring file libpostal.o, file was built for x86_64 which is not the architecture being linked (i386): libpostal.o chmod 755 blib/arch/auto/Geo/libpostal/libpostal.bundle cp libpostal.bs blib/arch/auto/Geo/libpostal/libpostal.bs chmod 644 blib/arch/auto/Geo/libpostal/libpostal.bs Manifying blib/man3/Geo::libpostal.3pm Manifying blib/man3/Geo::README.3pm Make test output: Geo-libpostal-0.07 root# make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/libpostal.t .. Can't load '/Users/asoka/.cpanm/work/1496887323.2598/Geo-libpostal-0.07/blib/arch/auto/Geo/libpostal/libpostal.bundle' for module Geo::libpostal: dlopen(/Users/asoka/.cpanm/work/1496887323.2598/Geo-libpostal-0.07/blib/arch/auto/Geo/libpostal/libpostal.bundle, 2): Symbol not found: _libpostal_address_parser_response_destroy Referenced from: /Users/asoka/.cpanm/work/1496887323.2598/Geo-libpostal-0.07/blib/arch/auto/Geo/libpostal/libpostal.bundle Expected in: flat namespace in /Users/asoka/.cpanm/work/1496887323.2598/Geo-libpostal-0.07/blib/arch/auto/Geo/libpostal/libpostal.bundle at /System/Library/Perl/5.18/darwin-thread-multi-2level/DynaLoader.pm line 194. at t/libpostal.t line 8. Compilation failed in require at t/libpostal.t line 8. BEGIN failed--compilation aborted at t/libpostal.t line 8. Undefined subroutine &Geo::libpostal::_teardown called at /Users/asoka/.cpanm/work/1496887323.2598/Geo-libpostal-0.07/blib/lib/Geo/libpostal.pm line 51. END failed--call queue aborted at t/libpostal.t line 8. t/libpostal.t .. Dubious, test returned 22 (wstat 5632, 0x1600) No subtests run Test Summary Report ------------------- t/libpostal.t (Wstat: 5632 Tests: 0 Failed: 0) Non-zero exit status: 22 Parse errors: No plan found in TAP output Files=1, Tests=0, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.02 cusr 0.00 csys = 0.05 CPU) Result: FAIL Failed 1/1 test programs. 0/0 subtests failed. make: *** [test_dynamic] Error 22