hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcos Ortiz <mlor...@uci.cu>
Subject Re: Error while using libhdfs C API
Date Mon, 05 Mar 2012 13:20:33 GMT
Which platform are you using?
Did you update the dynamic linker runtime bindings (ldconfig)?

ldconfig $HOME/hadoop/c++/Linux-amd64/lib
Regards

On 03/06/2012 02:38 AM, Amritanshu Shekhar wrote:
>
> Hi,
>
> I was trying to link  64 bit libhdfs in my application program but it 
> seems there is an issue with this library.  Get the following error:
>
> Undefined                       first referenced
>
> symbol                             in file
>
> stderr                              libhdfs.a(hdfs.o)
>
> __errno_location                   libhdfs.a(hdfs.o)
>
> ld: fatal: Symbol referencing errors. No output written to 
> ../../bin/sun86/mapreduce
>
> collect2: ld returned 1 exit status
>
> Now I was wondering  if  this a common error and is there an actual 
> issue with the library or am I getting an error because of  an 
> incorrect configuration? I am using the following library: 
> $HOME/hadoop/c++/Linux-amd64-64/lib/libhdfs.a
>
> Thanks,
>
> Amritanshu
>
>
>
> <http://www.antiterroristas.cu/>

-- 
Marcos Luis Ortíz Valmaseda
  Sr. Software Engineer (UCI)
  http://marcosluis2186.posterous.com
  http://postgresql.uci.cu/blog/38




Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE ENCUENTRAN INJUSTAMENTE
EN PRISIONES DE LOS EEUU!
http://www.antiterroristas.cu
http://justiciaparaloscinco.wordpress.com
Mime
View raw message