Ld Library Not Found For Lssl Mac Mysql

This was a build that had been working in the past. Here's output from the link stage. I've included linker output and the relevant portions from the .pro file.

  • Manual setup on Mac OS X (10.13 - 11.0). Ld: library not found for -lssl. Devel openssl-devel ImageMagick ImageMagick-devel mysql-devel postgresql-devel.
  • 解决库移位出现的 ld: library not found for -lXXX. 在Pod里,有个第三方库不更新了,但是里面的警告挺多的,开发组老大让我把它单独挪出来,把警告处理掉,期间遇到了一个坑,于是就有了这篇文章。 如约,Pods工程目录下,把Posfile里的那个库注释掉,然后: pod install.

$ brew mysql install ・再度pipを実行すると、以下のエラ〜メッセージが発生。 エラ〜メッセージの内容が変わったので、1個解決したようである。. Update Django ’ s database connection to connect to MySQL in settings.py. Ld: library not found for -lssl while trying to install. Are still not set.

Linking is reporting ld: library not found for -lssl

Not

I added -L/usr/lib to the .pro.

$ ll /usr/lib/libssl*
-rwxr-xr-x 1 root wheel 212288 May 27 19:24 /usr/lib/libssl.0.9.7.dylib
-rwxr-xr-x 1 root wheel 335888 May 27 19:24 /usr/lib/libssl.0.9.8.dylib
-rwxr-xr-x 1 root wheel 330576 May 27 19:24 /usr/lib/libssl.35.dylib
-rwxr-xr-x 1 root wheel 313984 May 27 19:24 /usr/lib/libssl.43.dylib
-rwxr-xr-x 1 root wheel 300480 May 27 19:24 /usr/lib/libssl.44.dylib
-rwxr-xr-x 1 root wheel 294016 May 27 19:24 /usr/lib/libssl.46.dylib
-rwxr-xr-x 1 root wheel 32928 May 27 19:24 /usr/lib/libssl.dylib

Running the build manually (cut & paste) produces the same error.

14:56:58: Running steps for project MacControlTower...
14:56:58: Configuration unchanged, skipping qmake step.
14:56:58: Starting: '/usr/bin/make' -j8
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -stdlib=libc++ -headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.14 -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,/Applications/Qt/5.12.3/clang_64/lib -o MacControlTower.app/Contents/MacOS/MacControlTower BaseREST.o CaptionEncoder.o CaptionLayout.o CaptionMessage.o ConfigSelectorWindow.o DialForm.o DirectSocket.o EndToEndForm.o MainWindow.o SetupDevicesModel.o SetupForm.o ModemBanksForm.o ControlTowerCommunications.o ModemBankCommunications.o Configuration.o Main.o SubWindow.o qrc_Icons.o moc_ConfigSelectorWindow.o moc_DialForm.o moc_DirectSocket.o moc_EndToEndForm.o moc_MainWindow.o moc_SetupForm.o moc_ModemBanksForm.o moc_SubWindow.o -F/Applications/Qt/5.12.3/clang_64/lib -L/usr/lib -L/usr/local/lib -L../../CT-StandardLibrary/lib -L../../ModemBank -lvitac-mac -lmodembank-mac -lhiredis -framework CoreFoundation -lz -llog4cplus -lpthread -lcurl -lcrossguid -lboost_system -lboost_thread-mt -lboost_filesystem -levent -lssl -lcrypto -framework QtWidgets -framework QtGui -framework QtNetwork -framework QtCore -framework DiskArbitration -framework IOKit -framework OpenGL -framework AGL
ld: library not found for -lssl
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [MacControlTower.app/Contents/MacOS/MacControlTower] Error 1
14:56:58: The process '/usr/bin/make' exited with code 2.
Error while building/deploying project MacControlTower (kit: Desktop Qt 5.12.3 clang 64bit)
When executing step 'Make'
14:56:58: Elapsed time: 00:01.

And the relevant parts from the .pro

ICON = Icon.icns

QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.14
CONFIG+=sdk_no_version_check

QT += core gui network widgets

TARGET = MacControlTower
TEMPLATE = app

INCLUDEPATH += /usr/local/include
INCLUDEPATH += ../../CT-StandardLibrary/src
INCLUDEPATH += ../../CT-StandardLibrary/src/includes
INCLUDEPATH += ../../ModemBank/src

LIBS += -L/usr/lib -L/usr/local/lib
LIBS += -L../../CT-StandardLibrary/lib -L../../ModemBank -lvitac-mac -lmodembank-mac -lhiredis
LIBS += -framework CoreFoundation
LIBS += -lz -llog4

2020-11-04

This is pretty well-trodden territory, but I have recently setup several static sites on AWS, using S3 + Cloudfront, and I thought it would be nice to document the process. The setup isn't hard, but there are lots of steps, and you have to do most them in the right order …

Continue reading »2020-11-04

If you are using PostgreSQL or MySQL on a Mac, you might have run into this error when installing libraries via pip.

Continue reading »2020-11-03

This isn't news to anybody, but using pyenv to manage virtual environments for Python is great. The python packaging and module system is really annoying, but pyenv makes it tolerable enough that I felt like writing it down.

Setup is pretty simple. You basically need to:

  1. Install pyenv itself
  2. Install …
Continue reading »2020-11-02

Today I migrated this blog to use Pelican, a python-based static site generator.

On the whole, the setup was pretty easy, but I hit a few snags setting up the theme.

This is how I installed on a Mac

First, get a clean python environment

Continue reading »2014-06-21

A very frustrating thing in the legacy system at work is that error logging is badly busted. Because the system is fragile and can't suffer significant downtime, I am disinclined to apply any dramatic fixes. However, I found a pretty cool PHP module that offers a partial solution:

Continue reading »2013-11-20

Ran into a very interesting bug recently.

In an Order Management System, it was becoming increasingly apparent that certain orders failed to be completely processed, leaving them in a 'this should never happen' incomplete state. For awhile there seemed to be no rhyme or reason to it - just absolutely no …

Continue reading »2013-09-19

Ran into this one today. Somebody forgot to remove the comma from a float:

The code in question was trying to parse a dollar amount from a popup form field.

It trimmed the '$' (which would cause …

Continue reading »2013-05-30

A situation I've encountered twice now is the need to serve a site's content from a subdomain using a different Wordpress Theme. In the first case, the subdomain was a mobile site and the alternate theme was optimized for mobile with a simplified layout and fewer images. In the second …

Continue reading »

Ld Library Not Found For Lssl

2013-05-28

A recent project required cross-posting content between two sites. To avoid duplicate content issues, we're using rel='canonical' to indicate which post is the original and which is the duplicate. While not 100% ideal, evidently cross-domain rel canonical is an okay thing to do.

Ld Library Not Found For Lssl Mac Mysql Download

Oddly, right now, Wordpress does not …

Ld Library Not Found For Lssl Mac Mysql Database

Continue reading »2013-02-05

Found a neat little piece of MySQL syntax today that I didn't know about. The FIELD() function can be used to define custom sorting in the database, like this:

Mac Library Not Found For Lssl

Whether …

Continue reading »

Ld Library Not Found For Lssl Mac Mysql Command

NewerOlder