qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Huston" <shus...@riverace.com>
Subject RE: Required compilation parameters for using qpid?
Date Mon, 18 May 2009 19:31:46 GMT
Hi Marcus,

> On Mon, May 18, 2009 at 3:38 PM, Jonathan Robie
> <jonathan.robie@redhat.com> wrote:
> 
> > Sounds like starting with a simpler Makefile would help. 
> Try starting with
> > this:
> >
> > CXX=g++
> > CXXFLAGS=-I/usr/include/qpid-boost
> > LDFLAGS=-lqpidclient
> >
> > all: direct_producer listener declare_queues
> >
> > clean:
> >       rm -f direct_producer listener declare_queues
> >
> > Hope this helps!
> 
> Thank you, that seemed like a step in the right direction, but isn't
> completely successful, unfortunately.  -lqpidclient is still
missing:
> 
> mss@marcus-desktop:~/qpidc-0.4/examples/direct$ echo 
> $CPLUS_LIBRARY_PATH
> /home/mss/qpidc/lib
> mss@marcus-desktop:~/qpidc-0.4/examples/direct$ echo 
> $CPLUS_INCLUDE_PATH
> /home/mss/qpidc/include
> mss@marcus-desktop:~/qpidc-0.4/examples/direct$ cat Makefile
> CXX=g++
> CXXFLAGS=-I/usr/include/qpid-boost
> LDFLAGS=-lqpidclient
> 
> all: direct_producer listener declare_queues
> 
> clean:
> 	rm -f direct_producer listener declare_queues
> 
> mss@marcus-desktop:~/qpidc-0.4/examples/direct$ make
> cc -lqpidclient  direct_producer.o   -o direct_producer
> /usr/bin/ld: cannot find -lqpidclient
> collect2: ld returned 1 exit status
> make: *** [direct_producer] Error 1
> 
> Suggestions?

CPLUS_LIBRARY_PATH is not a legit env variable - try LIBRARY_PATH

-Steve


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org


Mime
View raw message