[zeromq-dev] build error cross compiling czmq

Philip Dizon philipdotdev at gmail.com
Fri Feb 7 01:27:03 CET 2014

I seem to be having a problem cross compiling the czmq library  Below is
the error I'm seeing and it seems like it's looking for libstdc++.la in a
directory that doesn't exist.  I believe it's getting that path from the
libdir variable within my version of libstdc++.la.  The problem goes away
if I correct the path in libdir, but that seems like a short term solution,
especially if I hand off my project to someone else.  So is there a
configuration option that I could be missing?  I'm providing my
confugration settings below

libtool: link:
cru .libs/libczmq.a  zauth.o zbeacon.o zcert.o zcertstore.o zchunk.o
zclock.o zconfig.o zctx.o zdir.o zfile.o zframe.o zhash.o zlist.o zloop.o
zmsg.o zmutex.o zpoller.o zsocket.o zsockopt.o zstr.o zsys.o zthread.o
libtool: link:
/bin/sed: can't read
No such file or directory
libtool: link:
is not a valid libtool archive
make[4]: *** [libczmq.la] Error 1
make[4]: Leaving directory

Here is my configuration setting
CC=$(CC) CFLAGS="$(CFLAGS)" ./configure --build=$(BUILD) --host=$(HOST)
--prefix=/usr && \
    make && make DESTDIR=$(LIB_INSTALL)/$(ARCH) install

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140206/69ab6768/attachment.htm>

More information about the zeromq-dev mailing list