in reply to XML::LibXML fails install on macOS Big Sur
I don't think PATH affects search for .so files
# PATH PATH="/usr/local/Cellar/libxml2/2.9.10_2/bin:$PATH" export PATH
It's been a long while since I've had to deal with something like this but you might try LD_LIBRARY_PATH. Assuming libxml2.so.2 is located in /usr/local/Cellar/libxml2/2.9.10_2/bin, you could try
LD_LIBRARY_PATH=/usr/local/Cellar/libxml2/2.9.10_2/bin cpanm XML::LibX +ML
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: XML::LibXML fails install on macOS Big Sur
by Anonymous Monk on Dec 06, 2020 at 08:56 UTC | |
by wazat (Monk) on Dec 07, 2020 at 00:01 UTC | |
by redsox43 (Novice) on Dec 07, 2020 at 19:31 UTC | |
by syphilis (Archbishop) on Dec 07, 2020 at 23:10 UTC |