Yeah, I tried setting PKG_CONFIG_PATH too yesterday but that didn't work either. I may not have done it right. Can you tell us what precisely we should do here? Thanks.
On Thu, 15 Dec 2011 18:22:05 +0200, Kurnikov Arseny arseny.kurnikov@aalto.fi wrote:
On Thu, 15 Dec 2011, pmundur wrote:
Thanks for your response. We did not try to install ibrcommon to a non-standard place, just followed the simple instructions to configure, make and make install in order. We can see the ibrcommon shared
libraries
in /usr/local/lib. But when we try to run configure for ibrdtn (after make install for ibrcommon with no errors), it fails to find the ibrcommon library. We set LD_LIBRARY_PATH and also added /usr/local/lib to /etc/ld.so.conf, but none of it works.
-- Padma
It's not LD_LIBRARY_PATH that should be set. It tells the loader where
to
search for libraries when you run an executable. It's PKG_CONFIG_PATH that's used by pkg-config utility that in turn is invoked by configure. '/usr/local/lib/pkgconfig' - it should exist and contain ibrcommon.pc. Or set ibrcommon_CFLAGS to '-I/usr/local/include/ibrcommon-0.6' and ibrcommon_LIBS to '-L/usr/local/lib -librcommon -lpthread'. But then of course you'll have to do something similar with ibrdtn_CFLAGS and ibrdtn_LIBS when making ibrdtnd. So PKG_CONFIG_PATH is more general: set
once, works with both ibrdtn and ibrdtnd. And with ibrdtn-tools, too:)
Regards, Arseny.
On Thu, 15 Dec 2011 12:36:14 +0200, Kurnikov Arseny arseny.kurnikov@aalto.fi wrote:
On Wed, 14 Dec 2011, Carson Dunbar wrote:
Hello, I was wondering if there have been any issues regarding installation
of
IBR-DTN on 64-bit computers. I've tried installing it on an 64-bit AMD computer running Debian and the ibrcommon library is not being found when trying to install ibrdtn. Specifically I get the error below during configuration.
checking for ibrcommon... no ibrcommon library not found!
For example, if you configured and installed ibrcommon with --prefix=/home/user/local/ then try 'export PKG_CONFIG_PATH=/home/user/local/lib/pkgconfig/' (bash shell syntax). Also you can manually set ibrcommon_LIBS and ibrcommon_CFLAGS environment variables to point to the correct directory but PKG_CONFIG_PATH should do it automatically.