dyld: Library not loaded … Reason: Image not found

Find all the boost libraries (where exefile is the name of your executable): and for each libboost_xxx.dylib, do: and finally verify using otool again: Manpages: otool install_name_tool EDIT A while back I wrote a python script (copy_dylibs.py) to work out all this stuff automatically when building an app. It will package up all libraries from /usr/local or /opt/local into the app bundle and fix references to those … Read more

Maven Install on Mac OS X

OS X prior to Mavericks (10.9) actually comes with Maven 3 built in. If you’re on OS X Lion, you won’t have java installed by default. Run java by itself and it’ll prompt you to install it. Assuming qualifications are met, run mvn -version and see some output like this:

How to easily install and uninstall docker on MacOs

To Install: Go Here Click the “Get Docker” or “Get Docker Desktop for Mac (Stable)” button. Double-click the DMG Drag Docker into Applications Open Docker Open Terminal after install and docker will be available. Docker should auto-launch on subsequent startups and be available on command line. To Uninstall: Click On Docker Icon Select Preferences Select Bug … Read more

mvn command not found in OSX Mavrerick

Try following these if these might help: Since your installation works on the terminal you installed, all the exports you did, work on the current bash and its child process. but is not spawned to new terminals. env variables are lost if the session is closed; using .bash_profile, you can make it available in all sessions, since when a bash session starts, it … Read more

Mongod complains that there is no /data/db folder

You created the directory in the wrong place /data/db means that it’s directly under the ‘/’ root directory, whereas you created ‘data/db’ (without the leading /) probably just inside another directory, such as the ‘/root’ homedirectory. You need to create this directory as root Either you need to use sudo , e.g. sudo mkdir -p /data/db Or you … Read more

brew install mysql on macOS

I think one can end up in this position with older versions of mysql already installed. I had the same problem and none of the above solutions worked for me. I fixed it thus: Used brew’s remove & cleanup commands, unloaded the launchctl script, then deleted the mysql directory in /usr/local/var, deleted my existing /etc/my.cnf (leave that one up to you, should it apply) … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)