[XtalOpt-devel] compiling xtalopt on mac os x 10.6.8

David Lonie loniedavid at gmail.com
Thu Apr 5 14:39:54 PDT 2012


Hi Kristen,

Unfortunately, we don't have a mac to test this one, but according to this page:

http://www.fireantsecurity.co.uk/?p=131

libssh can be patched so that it builds on Mac by editing
src/libssh/socket.c and making a change near line 694:

Change:
execve(args[0],(char * const *)args,(char * const *)environ);
To this:
execvp(args[0],(char * const *)args);

Please let me know if this works, and if so, if XtalOpt runs on the
mac (I'm rather curious if it works or not on that platform).

Dave

On Thu, Apr 5, 2012 at 12:45 PM, Kristen Eisenberg
<kristen.eisenberg at yahoo.com> wrote:
> I installed eigen,cmake,qt,openbabel,avogadro (removed the reference to
> bsdyengine,navigatetool and element in avogadro_LIB_DEPENDS) . Now I'm try
> to make xtalopt but I get this error message:
>
> Undefined symbols:
> "_environ", referenced from:
> _ssh_execute_command in libssh_static.a(socket.c.o)
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[2]: *** [src/xtalopt/xtalopt.dylib] Error 1
> make[1]: *** [src/xtalopt/CMakeFiles/xtalopt.dir/all] Error 2
> make: *** [all] Error 2
>
> Kristen Eisenberg
> Billige Flüge
> Marketing GmbH
> Emanuelstr. 3,
> 10317 Berlin
> Deutschland
> Telefon: +49 (33)
> 5310967
> Email:
> utebachmeier at
> gmail.com
> Site:
> http://flug.airego.de
> - Billige Flüge vergleichen
>
> _______________________________________________
> XtalOpt-Devel mailing list
> XtalOpt-Devel at lists.openmolecules.net
> http://lists.openmolecules.net/listinfo.cgi/xtalopt-devel-openmolecules.net
>



More information about the XtalOpt-Devel mailing list