CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[OpenFOAM.com] OpenFOAM dynamic library linking with GUIX.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 17, 2024, 10:49
Default OpenFOAM dynamic library linking with GUIX.
  #1
New Member
 
Join Date: Dec 2019
Posts: 13
Rep Power: 7
Vivio is on a distinguished road
Hi everyone,


I'm having some trouble getting various versions of OpenFOAM to link properly with dynamic libraries installed on a HPC cluster. The GUIX package manager is used to install the required version of the library, but I would rather use the pre-installed libraries on the cluster.


For example, if I build OpenFOAM-5.x and run, I get the error "error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory". zlib is installed on the cluster, but it's under "libz.so", not "libz.so.1"


Similarly, if I build OpenFOAM-v2312 and try to run I get "/lib64/libm.so.6: version `GLIBC_2.29' not found". libc is installed, but it's under libc-2.28.so


How does wmake determine the path of the linked library during build, is it hard-coded? And is there any way to get it to point to the pre-installed libraries instead?


Best regards,
Vivio
Vivio is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
dynamic library not found nor nazifah System Analysis 1 June 22, 2024 16:12
how to link the path of a newly compiled library to another library in OpenFOAM sourav8016 OpenFOAM 3 December 28, 2023 17:21
What's the Eigen library setup for OpenFOAM? klausb OpenFOAM Programming & Development 3 December 12, 2023 17:37
Dynamic Contact Angle library install and Helyx-OpenFoam Connection alinuman15 OpenFOAM 0 May 31, 2016 01:30
decomposePar is missing a library whk1992 OpenFOAM Pre-Processing 8 March 7, 2015 08:53


All times are GMT -4. The time now is 11:48.