Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libc.dylib not found after Update to Office for Mac 16.21.1 #385

Closed
WernerHu opened this issue Jan 27, 2019 · 2 comments
Closed

libc.dylib not found after Update to Office for Mac 16.21.1 #385

WernerHu opened this issue Jan 27, 2019 · 2 comments

Comments

@WernerHu
Copy link
Contributor

Hi all,

First of all thanks for this great tool!

My http webclient stopped working few days ago after updating to the new Mac office version. In the logs I found an error stating that the libc.dylib was not found at webclient execute.
This error is also documented here: https://answers.microsoft.com/en-us/msoffice/forum/all/libcdylib-not-found-in-mac-excel-2016-vba-code/91bba8a5-6179-445f-b097-fd9ea34971f6

As suggested in the ticket at Microsoft I replaced the path in all functions depending on libc.dylib.
For example I replaced
Private Declare PtrSafe Function web_popen Lib "libc.dylib" Alias "popen" (ByVal web_Command As String, ByVal web_Mode As String) As LongPtr
with
Private Declare PtrSafe Function web_popen Lib "/usr/lib/libc.dylib" Alias "popen" (ByVal web_Command As String, ByVal web_Mode As String) As LongPtr
With that change it started working again.
No idea if Microsoft will fix this issue in a future version, but I would suggest to edit the paths.
What do you think?

Regards

Werner

@ghost
Copy link

ghost commented Mar 28, 2019

I'm not seeing these changes in the version linked to as the latest in the README. I'll download the latest code and retry.

image

@ghost
Copy link

ghost commented Mar 28, 2019

Ah, I see the issue. I actually downloaded 4.1.5 due to my too fast clicking on this screen I missed the 4.1.6 link. My eye missed that I just saw the Big Blue 4.1.5 section.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant