cross compile issue libpopt.so

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

    i am trying to cross compile cryptsetup-1.2.0 for a 64 bit system on a
debian vm.

The build fails saying "/usr/lib/libpopt.so: could not read symbols: File in
wrong format". Looks like it is trying to read libpopt.so file that is present
in /usr/lib space instead of trying to read it from /stagin_dir/... 

The file under /usr/lib is a 32 bit file and that's the reason its giving an
error. If i remove the file under /usr/lib/libpopt, it compiles fine.
It is picking up the right file under "/staging_dir/.." in this case.

I tried to set the LD_LIBRARY_PATH environment variable to /stagin_dir/ but it
is not working either.

Is there a way to build a 64 bit version of cryptestup-1.2.0 while a 32 bit
version of the libpopt.so file is present under /usr/lib? 


Thanks in advance for your help.

_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt


[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux