[ 
https://issues.apache.org/jira/browse/QPID-4719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jimmy Jones updated QPID-4719:
------------------------------

    Comment: was deleted

(was: This might be a separate issue, but if I take the full 
qpid-0.22-rc1.tar.gz, run bootstrap, configure, make, make install in cpp, the 
perl examples don't work:

[jimmy@localhost perl]$ ./hello_world.pl 
Can't load '/usr/lib64/perl5/auto/cqpid_perl/cqpid_perl.so' for module 
cqpid_perl: /usr/lib64/perl5/auto/cqpid_perl/cqpid_perl.so: undefined symbol: 
_ZN4qpid9messaging8Duration6SECONDE at /usr/lib64/perl5/DynaLoader.pm line 200.
 at /usr/lib64/perl5/cqpid_perl.pm line 11
Compilation failed in require at /usr/lib64/perl5/qpid_messaging.pm line 22.
BEGIN failed--compilation aborted at /usr/lib64/perl5/qpid_messaging.pm line 22.
Compilation failed in require at /usr/lib64/perl5/qpid.pm line 20.
BEGIN failed--compilation aborted at /usr/lib64/perl5/qpid.pm line 20.
Compilation failed in require at ./hello_world.pl line 24.
BEGIN failed--compilation aborted at ./hello_world.pl line 24.

Looks like cqpid_perl.so has not been linked against the qpid libraries:

[jimmy@localhost perl]$ ldd /usr/lib64/perl5/auto/cqpid_perl/cqpid_perl.so 
        linux-vdso.so.1 =>  (0x00007fffecf95000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f5e4b10a000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f5e4ad78000)
        /lib64/ld-linux-x86-64.so.2 (0x0000003a05c00000)
)
    
> Problem building perl bindings from qpid 0.22 RC1 tarball
> ---------------------------------------------------------
>
>                 Key: QPID-4719
>                 URL: https://issues.apache.org/jira/browse/QPID-4719
>             Project: Qpid
>          Issue Type: Bug
>          Components: Perl Client
>    Affects Versions: 0.22
>            Reporter: Jimmy Jones
>            Assignee: Darryl L. Pierce
>
> Tarball 
> http://people.apache.org/~jross/qpid-0.22-rc1/qpid-cpp-0.22-rc1.tar.gz is 
> missing:
> bindings/qpid/perl/Makefile.PL
> bindings/qpid/perl/Makefile.PL.in
> bindings/qpid/perl/qpid.pm
> bindings/qpid/perl/lib
> which prevents the perl bindings from being built from this tarball. I 
> presume perl-qpid-0.22-rc1.tar.gz is the new home for the perl bindings, but 
> this doesn't build either:
> Running perl Makefile.PL from perl-qpid-0.22-rc1.tar.gz, after installing 
> qpid-cpp-0.22-rc1.tar.gz (with automake):
> Note (probably harmless): No library found for -lqpidmessaging
> Note (probably harmless): No library found for -lqpidtypes
> Writing Makefile for cqpid_perl
> Weird... libqpidmessaging/types seems to be in /usr/lib rather than lib64 on 
> my 64-bit system, and its linked against other libs in lib64.
> Anyway, if then run make:
> cp lib/qpid/messaging/Address.pm blib/lib/qpid/messaging/Address.pm
> cp lib/qpid/messaging/Duration.pm blib/lib/qpid/messaging/Duration.pm
> cp qpid.pm blib/lib/qpid.pm
> cp lib/qpid/messaging/codec.pm blib/lib/qpid/messaging/codec.pm
> cp lib/qpid/messaging/Message.pm blib/lib/qpid/messaging/Message.pm
> cp lib/qpid/messaging/Connection.pm blib/lib/qpid/messaging/Connection.pm
> cp lib/qpid/messaging/Sender.pm blib/lib/qpid/messaging/Sender.pm
> cp lib/qpid_messaging.pm blib/lib/qpid_messaging.pm
> cp lib/qpid/messaging/Receiver.pm blib/lib/qpid/messaging/Receiver.pm
> cp lib/qpid/messaging/Session.pm blib/lib/qpid/messaging/Session.pm
> Running Mkbootstrap for cqpid_perl ()
> chmod 644 cqpid_perl.bs
> rm -f blib/arch/auto/cqpid_perl/cqpid_perl.so
> gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic cqpid_perl.o 
> -o blib/arch/auto/cqpid_perl/cqpid_perl.so \
> \
> gcc: cqpid_perl.o: No such file or directory
> gcc: no input files
> make: *** [blib/arch/auto/cqpid_perl/cqpid_perl.so] Error 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to