-
Notifications
You must be signed in to change notification settings - Fork 585
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
dyld: Library not loaded error on macOS (OpenSSL missing) #86
Comments
Closing this issue for time being, and keeping a lookout for more occurrences or clean macOS laptops to identify patterns for root cause. |
internal reference - this issue by other open-source project mentions that in macOS 10.13, it switches away from OpenSSL to LibreSSL - envoyproxy/envoy#2395 |
another datapoint the same user fixes the issue with just the following without doing the linking step (he already has Homebrew) so the first line
another datapoint where a macos user encounters the same issue. it could be the 10.13 release change in behavior around OpenSSL. |
There is a new dependency possibly in newer versions of macOS. To fix the error do the following. It installs Homebrew (a package manager for macOS) and installs OpenSSL for https connections. If you do not have Homebrew or don't know what is Homebrew
|
Jamess-MacBook-Pro:src jameschan$ ./tagui samples/try1 chrome i am reading the above can fix but can explain what is wrong?? Thanks |
Hi @jameschanck thanks for sharing that above fix works. From my understanding macOS Sierra is switching away from OpenSSL to LibreSSL as the tool to access secure connections. The above installs and enables OpenSSL on your macOS so that the part of TagUI (PhantomJS engine) that automates and connects to https:// websites can continue working. |
Thanks. I am learning TagUI. And reading from the posts, interested to know
how to automate applications. You spoke about skuli. But not sure why u
want to integrate Roro/AHK.
…On Tue, 17 Apr 2018, 17:34 Ken Soh, ***@***.***> wrote:
Hi @jameschanck <https://github.com/jameschanck> thanks for sharing that
above fix works. From my understanding macOS Sierra is switching away from
OpenSSL to LibreSSL as the tool to access secure connections.
The above installs and enables OpenSSL on your macOS so that the part of
TagUI (PhantomJS engine) that automates and connects to https:// websites
can continue working.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#86 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AjZE7Mkd8m8Sio3N5YNfHat0tOUThA2hks5tpbdDgaJpZM4SiNIS>
.
|
I see.. This step-by-step tutorial may be useful. Or this video talk at FOSSASIA with demo of TagUI features. Yes TagUI has integration with Sikuli to control UI interactions (including desktop applications) using visual recognition and OCR. But some automation scenarios needs greater control than this. For example clicking on cell J10 on an Excel spreadsheet. Doing that by specifying a cell image to click on won't find the right cell. Open-source apps such as AHK or Roro can have automation scripts to do such actions. Integrating with them will let TagUI do more types of automation. Now the run step can be used to call AHK or Roro, thinking if there is a way to make it even easier. |
Thanks mate.
I have ceased my employment with my previous company recently.
I am thinking about providing consultancy jobs related to AI. I intend to
return to work in 6 to 12 months.
I have a request for a robot office reception.
Case illustration: a tablet at the office counter. It sense motion near it.
Wakes up and say "Hi, are you here to visit an employee or deliver?"
It listens for a name and search database & call employee to inform
visitor. In the meantime, it will communicate with visitor to register
name, contact & purpose of visit.
It listens for "deliver" too. If yes, it will trigger a drop box open, and
request the deliver person to drop the delivery. As the delivery man drop
the item, a few video will be captured as proof of delivery. And the system
will communicate with the delivery man for confirmation including generate
a signed POD for print.
I am thinking it is somewhat related to your system but require chatbot
integration, and ability to integrate with sensors.
Please share any guidance if available.,
…On Tue, Apr 17, 2018 at 10:51 PM, Ken Soh ***@***.***> wrote:
I see.. This step-by-step tutorial
<https://github.com/kelaberetiv/TagUI/blob/master/src/media/RPA%20Workshop.md>
may be useful. Or this video talk at FOSSASIA
<https://www.youtube.com/watch?v=u1x2HOV9Jmg> with demo of TagUI
features. Yes TagUI has integration with Sikuli to control UI interactions
(including desktop applications) using visual recognition and OCR. But some
automation scenarios needs greater control than this.
For example clicking on cell J10 on an Excel spreadsheet. Doing that by
specifying a cell image to click on won't find the right cell. Open-source
apps such as AHK or Roro can have automation scripts to do such actions.
Integrating with them will let TagUI do more types of automation.
Now the run step can be used to call AHK or Roro, thinking if there is a
way to make it even easier.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#86 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AjZE7AuvPLTomy_KgKtW_WBfDTEKf6heks5tpgF6gaJpZM4SiNIS>
.
|
Posting as a separate issue as the discussion is not related to this macOS SSL issue - #141 |
hi! I do not have homebrew but am trying to install it for MacOS Mojave 10.14.3. Running:
Returns:
does anyone have about idea of why this does not work? |
Thanks for heads-up! Strange, I'm running same version of macOS - Mojave 10.14.3. Tried the same command to install on both normal terminal and Anaconda environment without issues.
This is probably an environment issue but can't find related issues on homebrew github or discourse. Reopening this issue for the time being to see if anyone else can add on their findings. |
Adding on, it looks like there is conflict with Anaconda on your system preventing installation of Homebrew, try changing PATH in ~/.profile and see if that helps - https://discourse.brew.sh/t/ssh-problem-with-install-homebrew/4052 Closing issue for now as the above installation conflict is with Anaconda / Homebrew. Another reference on Homebrew installation issue with Anaconda. |
Hi. I'm running Mac OS 10.12.6 (sierra). After installing mysql connector cpp 8.0.17 this same issue happened:ENH-MBP:build enhering$ ./FJH I already had openssl installed by brew. And I was using MySQL connector cpp 1.x.x before this without problems. The MySQL connector cpp 8.0.17 package was downloaded from mysql website. They provide binaries for many distributions. |
I'm not sure what is the above command FJH that triggers the error message. Do you mean you have problems running MySQL? If yes, you should raise the issue on MySQL issues or community forum page. If you mean an existing TagUI script now cannot work after installing MySQL, you can try the following to see if it works, by removing and installing OpenSSL again.
|
I stumbled across this thread while trying to resolve my own dyld: Library not loaded libssl issue. In more recent versions of MacOS, they introduced a feature called System Integrity Protection which prevents packages from writing to protected directories like /bin or /usr/lib. Even commands like You must disable SIP in order to copy/link the open ssl libraries to the correct destination, You can do this by going into Recovery Mode (reboot, Cmd-R at the Apple logo), open a Terminal and execute the command Good luck! |
Thanks Mark for sharing your findings! Adding on a short article which users can also refer to if they encounter the issue - And a longer article with the technical background and screenshots of the steps - |
HI, I am new in the forum, and I am experiencing the exact same issuea after updating to MaOS Mojave, I already Had tunred of System Integrity Protection But can you please tell me where can I get those files that we need to copy to /usr/lib folder.. I am new using MacOS and any advice would be helpful in order to fix this issue.. |
Hi Hector, after you turned off SIP, you can restart computer and run below commands from terminal. After installation and verifying TagUI works, then restart computer to turn SIP back to the default on. If you do not have Homebrew or don't know what is Homebrew
Or if you already have Homebrew installed
|
Thanks for your answer Kensoh, I tried your recommendation and I am still getting the same errors I have several weeks trying uninstallig and reistalling I have pasted the error just in case you have a chance to check it.. Thanks again. During handling of the above exception, another exception occurred: Traceback (most recent call last): |
It looks like above error messages have nothing to do with TagUI. They are for a Python related Django project or psycopg2 package. I'm afraid I can't help here, you'll have to check with the respective Python projects GitHub issues page for advice, as the solution to above error that you are facing may be different from what TagUI users are facing. The error TagUI users are facing comes from the PhantomJS engine trying to access OpenSSL, it's a different source of error message compared to the project that you are using above, which has nothing to do with TagUI. |
As @DuckMasterAl said, the correct command is:
|
Its Sept/2020 and this still works smoothly!! Thanks! :D |
After upgrades to Catalina:
helped in my case (--force flag did the trick) |
I had that problem too today on macOS 10.14.6 |
I followed the instructions outlined here and disabled System Integrity Protection. When I try to run these steps:
Any suggestions? |
|
This worked for me: brew install rbenv/tap/openssl@1.0
ln -sfn /usr/local/Cellar/openssl@1.0/1.0.2t /usr/local/opt/openssl |
Hi @kensoh! Setup all. I want to run an example sudo src/tagui flows/samples/2_github. tag Chrome returns this error. "Connection is not protected How to fix it? |
@Maks1708 -> |
Thank you @Stwissel ! I changed phantomJS and switch brew to openssl 1.1.1g. But chrome gives the same error. |
I opened tagui in a text editor and fixed this block. Added flags: --ignore-certificate-errors --ignore-urlfetcher-cert-requests Started
|
worked for me |
This works for me! |
@KungFuLucky7's solution worked for me on Catalina and Homebrew 2.5.2 |
1- Download the file: 2 - Run brew with the file downloaded: |
Works for me! |
@londerson thanks! |
im getting this error |
Thank you @KungFuLucky7. You are a gentleman and a scholar! Worked for me on Catalina and Homebrew 2.5.8 |
I agree with the earlier commenter. Please DO NOT INSTALL OPENSSL. Just update your phantomjs. |
Hi Guys, for TagUI @Stwissel may have found the permanent solution. Note that this solution may not help for other projects. https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-macosx.zip Though above zip is PhantomJS v2.1.1 (same as TagUI packaged PJS), total file size for this zip after extraction is different. It might be Ariya, creator of PhantomJS, put in a fix already just to solve this headache with macOS/OpenSSL/Homebrew. |
.rbenv/versions/3.0.2/bin/ruby is loading libcrypto in an unsafe way @kensoh , Im getting this error on MacBook Pro, intel 2017, and this solution is not working, can you help? |
Tagging @ruthtoh as I no longer maintains this TagUI repo |
I have also tried to install openssl 1.0.0 but not successful. brew install rbenv/tap/openssl@1.0 If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core): These open issues may also help: |
This issue is closed, so not sure if the bug is fixed alreadt, but I noticed a couple of other related issues. so posting anyways. Check out my explanation here: The certs embedded in the tarball and used by the unit tests expired. You can find patches for 1.02 and 1.1.1 here: 1.1.1_update_expiring_certificates.patch 1.0.2_update_expiring_certificates.patch I only tweaked the alignment of the 1.1.1 patch so it would line up and apply to 1.0.2 without complaint. I would post a link to the original 1.1.1 patch but I don't have it handy. All these patches do is update the shell script used to make those test certs. The developer ran the updated script and generated new dummy test certs, and the remaining bitsare used to update the certs themselves. |
On OS X Sonoma, I got: hope someday somebody figure out how to fix this on mbp M1 and Sonoma. |
@magicliang I had the same issue. I installed python with brew with the command |
Welcome to TagUI GitHub page 🤖! TagUI is a free RPA tool by AI Singapore (to automate digital processes). There's a Python package built on TagUI called RPA for Python 🐍 with a similar issue and already has an automated fix.
This error is happening because macOS decided to drop OpenSSL and switched to LibreSSL. Furthermore, macOS Homebrew switched from OpenSSL v.1.0 to v1.1, breaking many other apps that are dependent on OpenSSL v1.0. The solution below may or may not work for other apps, be sure to check with their respective maintainers to confirm.
===== PROBLEM =====
I've come across a feedback from a macOS user that below error happens when running TagUI.
===== RECOMMENDED SOLUTION =====
Hi Guys, for TagUI @Stwissel may have found the permanent solution. Note that this solution may not help for other projects. Download directly from following link. After unzipping, put contents of unzipped folder into tagui/src/phantomjs folder. https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-macosx.zip
Though above zip is PhantomJS v2.1.1 (same as TagUI packaged PJS), total file size for this zip after extraction is different. It might be Ariya, creator of PhantomJS, put in a fix already just to solve this headache with macOS/OpenSSL/Homebrew.
===== DEPRECATED SOLUTION =====
There is a new dependency in newer versions of macOS. To fix the error do the following. It installs Homebrew (a package manager for macOS) and installs OpenSSL for https connections. There are 2 uninstall commands below to first remove OpenSSL v1.1, then remove any dead OpenSSL v1.0, before installing a custom OpenSSL v1.0 formula which works without having to build with Xcode.
If you don't have Homebrew or don't know what is it
Or if you already have Homebrew installed
One last thing...
If you encounter problems using
brew
, try the solution from @mrtoadsc near bottom of this page.The text was updated successfully, but these errors were encountered: