You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Amit Parikh (JIRA)" <ji...@apache.org> on 2008/07/04 01:03:00 UTC
[jira] Created: (AMQCPP-187) Link error for Example
Link error for Example
----------------------
Key: AMQCPP-187
URL: https://issues.apache.org/activemq/browse/AMQCPP-187
Project: ActiveMQ C++ Client
Issue Type: Bug
Components: Example Code
Affects Versions: 2.2
Environment: CentOS 5.2
Reporter: Amit Parikh
Assignee: Nathan Mittler
On running Makefile I am getting following error
/bin/sh ../../libtool --tag=CXX --mode=link g++ -g -O2 -o example example-main.o ../main/libactivemq-cpp.la /usr/local/apr/lib/libapr-1.la -luuid -lrt -lcrypt -lpthread -ldl /usr/local/apr/lib/libaprutil-1.la
g++ -g -O2 -o .libs/example example-main.o ../main/.libs/libactivemq-cpp.so -lexpat /usr/local/apr/lib/libaprutil-1.so /usr/local/apr/lib/libexpat.so /usr/local/apr/lib/libapr-1.so -luuid -lrt -lcrypt -lpthread -ldl -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/apr/lib
/usr/bin/ld: cannot find -lexpat
collect2: ld returned 1 exit status
make: *** [example] Error 1
Everything under src/main is correctly compiled and linked. Issue is only with linking of Example files
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (AMQCPP-187) Link error for Example
Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQCPP-187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43953#action_43953 ]
Timothy Bish commented on AMQCPP-187:
-------------------------------------
Most likely you don't have libexpat installed, or you don't have its path in your ld.so.conf.
> Link error for Example
> ----------------------
>
> Key: AMQCPP-187
> URL: https://issues.apache.org/activemq/browse/AMQCPP-187
> Project: ActiveMQ C++ Client
> Issue Type: Bug
> Components: Example Code
> Affects Versions: 2.2
> Environment: CentOS 5.2
> Reporter: Amit Parikh
> Assignee: Nathan Mittler
>
> On running Makefile I am getting following error
> /bin/sh ../../libtool --tag=CXX --mode=link g++ -g -O2 -o example example-main.o ../main/libactivemq-cpp.la /usr/local/apr/lib/libapr-1.la -luuid -lrt -lcrypt -lpthread -ldl /usr/local/apr/lib/libaprutil-1.la
> g++ -g -O2 -o .libs/example example-main.o ../main/.libs/libactivemq-cpp.so -lexpat /usr/local/apr/lib/libaprutil-1.so /usr/local/apr/lib/libexpat.so /usr/local/apr/lib/libapr-1.so -luuid -lrt -lcrypt -lpthread -ldl -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/apr/lib
> /usr/bin/ld: cannot find -lexpat
> collect2: ld returned 1 exit status
> make: *** [example] Error 1
> Everything under src/main is correctly compiled and linked. Issue is only with linking of Example files
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (AMQCPP-187) Link error for Example
Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQCPP-187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Bish closed AMQCPP-187.
-------------------------------
Assignee: Timothy Bish (was: Nathan Mittler)
Resolution: Won't Fix
> Link error for Example
> ----------------------
>
> Key: AMQCPP-187
> URL: https://issues.apache.org/activemq/browse/AMQCPP-187
> Project: ActiveMQ C++ Client
> Issue Type: Bug
> Components: Example Code
> Affects Versions: 2.2
> Environment: CentOS 5.2
> Reporter: Amit Parikh
> Assignee: Timothy Bish
>
> On running Makefile I am getting following error
> /bin/sh ../../libtool --tag=CXX --mode=link g++ -g -O2 -o example example-main.o ../main/libactivemq-cpp.la /usr/local/apr/lib/libapr-1.la -luuid -lrt -lcrypt -lpthread -ldl /usr/local/apr/lib/libaprutil-1.la
> g++ -g -O2 -o .libs/example example-main.o ../main/.libs/libactivemq-cpp.so -lexpat /usr/local/apr/lib/libaprutil-1.so /usr/local/apr/lib/libexpat.so /usr/local/apr/lib/libapr-1.so -luuid -lrt -lcrypt -lpthread -ldl -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/apr/lib
> /usr/bin/ld: cannot find -lexpat
> collect2: ld returned 1 exit status
> make: *** [example] Error 1
> Everything under src/main is correctly compiled and linked. Issue is only with linking of Example files
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.