[prev in list] [next in list] [prev in thread] [next in thread] 

List:       collectd
Subject:    Re: [collectd] Problem in compiling ORACLE plugin
From:       Florian Forster <octo () collectd ! org>
Date:       2010-09-27 9:38:53
Message-ID: 20100927093853.GE7866 () verplant ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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/


["signature.asc" (application/pgp-signature)]

_______________________________________________
collectd mailing list
collectd@verplant.org
http://mailman.verplant.org/listinfo/collectd


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic