3DNA Forum

Questions and answers => General discussions (Q&As) => Topic started by: nclement on April 27, 2016, 03:43:41 am

Netiquette · Download · News · Gallery · Homepage · DSSR Manual · G-quadruplexes · DSSR-Jmol · DSSR-PyMOL · DSSR Licensing · Video Overview· RNA Covers

Title: Install 3DNA on Cygwin 64bits
Post by: nclement on April 27, 2016, 03:43:41 am
I'm actually encountering a problem on installing 3DNA on Cygwin 64 bits.
Everything seems fine, but at the last step, I get this:
$ ./find_pair -h
E:/Cygwin/home/clement/x3dna-v2.3/bin/find_pair.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory

Any suggestion?
Kind regards,
Nicolas
Title: Re: Install 3DNA on Cygwin 64bits
Post by: xiangjun on April 27, 2016, 09:08:13 am
Hi Nicolas,

Thank you for reporting your difficulty on installing 3DNA on 64-bit Cygwin. It could be related to fact that the distributed version was compiled on 32-bit Windows. I will try to recompile 3DNA on a 64-bit Cygwin system soon. Alternatively, if source code is provided, did you know how to compile a C program? In a bash shell terminal, what happens if you type 'gcc'?

Back to you later.

Xiang-Jun
Title: Re: Install 3DNA on Cygwin 64bits
Post by: nclement on April 27, 2016, 09:40:07 am
Hi,
Thanks for your assistance.
I get: gcc: fatal error : no input file
compilation terminated

I have LAMMPs installed on Cygwin as well and I could compile modified versions of Lammps.
Kind regards,
Nicolas
Title: Re: Install 3DNA on Cygwin 64bits
Post by: xiangjun on April 27, 2016, 09:46:25 am
Quote
gcc: fatal error : no input file

That's good. The error message means you have 'gcc' installed, and that's what 3DNA needs.

I will try to install a 64-bit Windows and compile 3DNA on it, today.

Best regards,

Xiang-Jun
Title: Re: Install 3DNA on Cygwin 64bits
Post by: xiangjun on April 27, 2016, 03:43:36 pm
I've just compiled 3DNA v2.3 on Windows 7 (64-bit) in Cygwin, and updated the download page. Please have a try and let me know if that fixes the issue.

Xiang-Jun
Title: Re: Install 3DNA on Cygwin 64bits
Post by: nclement on April 27, 2016, 08:16:53 pm
Thank you. Indeed it works now...as long as I am in the bin folder, so I can already try 3DNA.
I guess I've made something wrong related to the .bashrc. I've only typed the 2 export commands in my Cygwin shell. Is that wrong? Do I have to copy the 2 lines at the end of the .bashrc file?
export X3DNA='/home/clement/x3dna-v2.3'
export PATH='/home/clement/x3dna-v2.3/bin':$PATH

Thanks,
Nicolas
Title: Re: Install 3DNA on Cygwin 64bits
Post by: xiangjun on April 27, 2016, 08:25:40 pm
If you type these two export commands in current shell, they will be gone after you exit from the session. Adding them to .bashrc ensure that they are available whenever you start a shell terminal.

HTH,

Xiang-Jun

Created and maintained by Dr. Xiang-Jun Lu [律祥俊] (xiangjun@x3dna.org)
The Bussemaker Laboratory at the Department of Biological Sciences, Columbia University.