[collectd] Problem in compiling ORACLE plugin

Florian Forster octo at collectd.org
Mon Sep 27 11:38:53 CEST 2010


Hi Carlo,

On Sun, Sep 26, 2010 at 12:13:20PM +0200, ROMAGNOLI Carlo wrote:
> configure:20337: gcc -o conftest -g -O2  -I/home/xxx/instantclient/rdbms/public  -L/home/xxx/instantclient/lib -lclntsh conftest.c -ldl  >&5
> /usr/bin/ld: skipping incompatible /home/xxx/instantclient/lib/libclntsh.so when searching for -lclntsh
> /usr/bin/ld: cannot find -lclntsh

I haven't seen this error message yet, but my guess would be that it's a
32bit library and you're building a 64bit executable -- or vice versa.
To narrow the problem down, could you please provide the output of the
following commands?:

  file /home/xxx/instantclient/lib/libclntsh.so
  ldd /home/xxx/instantclient/lib/libclntsh.so
  objdump -x /home/xxx/instantclient/lib/libclntsh.so

Regards,
--octo
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x0C705A15
http://octo.it/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20100927/3d3277c1/attachment.pgp>


More information about the collectd mailing list