QuantumATK Forum

QuantumATK => Installation and License Questions => Topic started by: hkuieagle on May 12, 2010, 08:50

Title: Failed to run VNL
Post by: hkuieagle on May 12, 2010, 08:50
hi,
I have a x86_64 version archlinux installed,and I have downloaded the x86_64 version of VNL. After extract the package,and run using "./vnl" in the bin directory. It gives me "No such file or directory"! What's wrong?
Title: Re: Failed to run VNL
Post by: Anders Blom on May 12, 2010, 09:51
Version 2008.10? Odd...

In general, this kind of error indicates that the file does not have execution flags, at least not for the current user.
Title: Re: Failed to run VNL
Post by: hkuieagle on May 12, 2010, 10:58
Anders Blom:
  It does have! Here is what the output of ls -l ,file and ldd:
ls -l:
-rwxr-xr-x 1 hk hk 3338377 Nov 28  2008 vnl_exec

file vnl_exec:
vnl_exec: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped

ldd vnl_exec:
   not a dynamic executable
Well file says it is  32-bit executable , and what's worse , ldd says it's even not  executable :-[
Title: Re: Failed to run VNL
Post by: Anders Blom on May 12, 2010, 11:01
Hmm, something seems seriously wrong. Indeed, ldd should report the file as executable, even on a 32-bit system.

Which Linux is this on?

PS: You should not run vnl_exec, but vnl. I think you know that, but I just write it to avoid confusion for others.
Title: Re: Failed to run VNL
Post by: hkuieagle on May 12, 2010, 13:34
I'm running Archlinux
uname -a :
Linux eagle 2.6.33-ARCH #1 SMP PREEMPT Mon Apr 26 19:31:00 CEST 2010 x86_64 Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz GenuineIntel GNU/Linux

Yes I know. When I run vnl directly,the same error occur:"/opt/vnl-2008.10.0/bin/vnl: line 3: /opt/vnl-2008.10.0/bin/vnl_exec: No such file or directory".
By the way, all the executable file in  path_to_vnl/bin/ include "assistant,lmhostid ,lmutil " behave the same. But files in path_to_vnl/atk/bin/  can be executed correctly.

So werid.....
Title: Re: Failed to run VNL
Post by: Anders Blom on May 12, 2010, 13:41
So it seems your Linux might not like 32-bit applications...

How about ATK 2010.02?
Title: Re: Failed to run VNL
Post by: hkuieagle on May 12, 2010, 14:12
Maybe,but I like... Haven't tried 2010.02 yet. Is there a newer VNL inside 2010.02?  I need vnl to view my stuctures.
Title: Re: Failed to run VNL
Post by: Anders Blom on May 12, 2010, 14:15
It's new, better - and different... Meaning, it's not 100% compatible with older VNL or ATK. Also, it doesn't read VNL files. Really, it's a completely new software platform, but it's the one we working on for the future, there is no more support for 2008.10 in terms of development.
Title: Re: Failed to run VNL
Post by: hkuieagle on May 12, 2010, 14:29
Thanks.I'll give it a try.