|
[Sponsors] |
[OpenFOAM.com] flex yylex issues while install OpenFOAM from source |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 28, 2022, 21:22 |
flex yylex issues while install OpenFOAM from source
|
#1 |
New Member
Ashish Pathak
Join Date: Aug 2022
Posts: 1
Rep Power: 0 |
I am trying to install openfoam-v2206 from source on RHEL 8.3. As I do not have access to root privileges, I installed the required packages such as bison and flex from source as well. Before invoking ./Allwmake -s -l, I added the path to flex and bison binaries to $PATH environment variable and path to flex lib to $LD_LIBRARY_PATH. I also populated $FOAM_EXTRA_CFLAGS and $FOAM_EXTRA_CXX_FLAGS to "-I/<path to flex include>" and $FOAM_EXTRA_LDFLAGS to "-L/<path to flex lib> -lfl". Now when I invoke ./Allwmake -s -l, the installation fails (while building applications) with a message that says: "flex-2.6.4-install/lib/libfl.so.2: undefined reference to yylex". How to fix this problem to do a successful openfoam installation from source?
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] Installation Problem with OF 6 version | Aurel | OpenFOAM Community Contributions | 14 | November 18, 2020 16:18 |
Trouble compiling utilities using source-built OpenFOAM | Artur | OpenFOAM Programming & Development | 14 | October 29, 2013 10:59 |
OpenFOAM 2.2.2 source pack installation on Xubuntu 13.10 | zordiack | OpenFOAM Installation | 1 | October 26, 2013 13:08 |
centOS 5.6 : paraFoam not working | yossi | OpenFOAM Installation | 2 | October 9, 2013 01:41 |
[swak4Foam] build problem swak4Foam OF 2.2.0 | mcathela | OpenFOAM Community Contributions | 14 | April 23, 2013 13:59 |