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

[OpenFOAM.com] Weird behavior on zsh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 8, 2022, 22:39
Default Weird behavior on zsh
  #1
Senior Member
 
Join Date: Jun 2016
Posts: 102
Rep Power: 10
xuegy is on a distinguished road
Hello all,

I'm currently using macOS with zsh. I'm having a very weird problem.
If I type commands in the terminal, there's no issue. Everything runs well.
If I run scripts in the terminal, I'm see the warning message:
Code:
--> FOAM Warning :
    From void *Foam::dlLibraryTable::openLibrary(const Foam::fileName &, bool)
    in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 188
    Could not load "libOpenFOAM.so"
dlopen(libOpenFOAM.dylib, 0x0009): tried: 'libOpenFOAM.dylib' (no such file), '/usr/local/lib/libOpenFOAM.dylib' (no such file), '/usr/lib/libOpenFOAM.dylib' (no such file), '******/libOpenFOAM.dylib' (no such file), '/usr/local/lib/libOpenFOAM.dylib' (no such file), '/usr/lib/libOpenFOAM.dylib' (no such file)
If I use bash it's all good however the bash on macOS is very outdated and I still prefer zsh. Is there any solution to this?

Thanks!
xuegy 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
Weird velocity distributions on opening Ordo CFX 5 November 27, 2019 02:15
[OpenFOAM.org] OpenFOAM 4.0, bad option -t in zsh rdbisme OpenFOAM Installation 3 December 30, 2016 13:10
[ANSYS Meshing] Weird Meshing Problems Engineer23 ANSYS Meshing & Geometry 6 November 21, 2016 06:30
Weird reversed flow problem Kimican Main CFD Forum 0 February 26, 2016 19:15
Weird pathlines on periodic sides maxime FLUENT 0 June 13, 2007 13:01


All times are GMT -4. The time now is 00:16.