Skip to content

PETSc Example cannot be run on macOS 14.5 due to Library not loaded: libX11.6.dylib  #272

@fahim831

Description

@fahim831

I am trying to run the simplest PETSc example. However, on the line where I call petsc.petsc_dae_by_time_element, I get an error message. I have tried running brew install xquartz --cask and restarting my computer as well but keep getting the below error message:

2024-05-29 16:38:58 [INFO] idaes.solve.petsc-dae: dyld[3865]: Library not loaded: /usr/local/opt/libx11/lib/libX11.6.dylib
2024-05-29 16:38:58 [INFO] idaes.solve.petsc-dae:   Referenced from: <F588438D-238F-3459-8B4A-7CC7BCFD83E8> /Users/$USER/.idaes/bin/petsc
2024-05-29 16:38:58 [INFO] idaes.solve.petsc-dae:   Reason: tried: '/libX11.6.dylib' (no such file), '/Users/$USER/.idaes/bin/libX11.6.dylib' (no such file), '/usr/local/opt/libx11/lib/libX11.6.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/libx11/lib/libX11.6.dylib' (no such file), '/usr/local/opt/libx11/lib/libX11.6.dylib' (no such file), '/usr/local/lib/libX11.6.dylib' (no such file), '/usr/lib/libX11.6.dylib' (no such file, not in dyld cache)

By the way, I can solve DAEs with pyomo.dae outside of IDAES right now.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions