climateprediction.net home page
dlopen error: libz.so.1: cannot open shared object file: No such file or directory

dlopen error: libz.so.1: cannot open shared object file: No such file or directory

Questions and Answers : Unix/Linux : dlopen error: libz.so.1: cannot open shared object file: No such file or directory
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Dave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4314
Credit: 16,380,160
RAC: 3,563
Message 56689 - Posted: 14 Aug 2017, 14:55:36 UTC - in response to Message 56688.  
Last modified: 14 Aug 2017, 15:06:46 UTC

This is because CPDN requires certain 32bit libraries.

For UBUNTU varients and presumably other apt based distributions this works.

sudo apt-get install lib32ncurses5 lib32z1 gcc-4.7-multilib

For more discussion on this topic which will explain further see

http://climateapps2.oerc.ox.ac.uk/cpdnboinc/forum_thread.php?id=8008

Part of the problem is that the main code belongs to the met office and is used under license. CPDN then interact with that using a version of C. They don't have a license to tinker with the Fortran code. If they had the funding, they might be able to get a replacement written but with over 1,million lines of Fortran code this would take considerable time for writing plus debugging and presumably when us Linux users are a minority of crunchers this is not seen as a priority.

It has been suggested that the libraries could be packaged with tasks. I suspect this would be easier than replacing the Fortran which certainly is the short to medium term is not likely to be considered.
ID: 56689 · Report as offensive     Reply Quote

Questions and Answers : Unix/Linux : dlopen error: libz.so.1: cannot open shared object file: No such file or directory

©2024 climateprediction.net