[collectd] Compile problem on Fedora Core 5 64bit

Florian Forster octo at verplant.org
Sat Apr 29 09:30:57 CEST 2006


Hi Daniel,

On Sat, Apr 29, 2006 at 11:30:07AM +0800, Daniel wrote:
> I'm getting this compile error on Fedora Core 5 64bit. I'm using version 
> collectd-3.9.1. Shouldn't '/usr/lib/libidn.so' be '/usr/lib64/libidn.so' 
> to match the 64bit environment?

> gcc -shared  .libs/apache.o  -L/usr/kerberos/lib64 -lcurl -ldl 
> -lgssapi_krb5 -lkrb5 -lk5crypto -lkrb5support -lcom_err -lresolv 
> /usr/lib/libidn.so -lssl -lcrypto -lz  -Wl,-soname -Wl,apache.so -o 
> .libs/apache.so
> gcc: /usr/lib/libidn.so: No such file or directory

what's the output of `curl-config --libs` on your system? This output is
taken by the build system and appended to the `LDFLAGS' when linking the
apache plugin. If this output explicitely lists `/usr/lib/libidn.so'
then this is a bug by the Fedora people.

You can do the following to build collectd nonetheless:
- Run the configure script
- Open `src/Makefile' in your favorite editor
- Search for the definition of `BUILD_WITH_LIBCURL_LIBS'
- Replace `/usr/lib/libidn.so' with `-lidn'
- Save and `make'

Regards,
-octo
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20060429/ae201ae3/attachment.pgp


More information about the collectd mailing list