Deprecated: Return type of Pimple\Container::offsetExists($id) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /srv/sidawson.com/public/htdocs/wp-content/plugins/better-wp-security/vendor-prod/pimple/pimple/src/Pimple/Container.php on line 133

Deprecated: Return type of Pimple\Container::offsetGet($id) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /srv/sidawson.com/public/htdocs/wp-content/plugins/better-wp-security/vendor-prod/pimple/pimple/src/Pimple/Container.php on line 98

Deprecated: Return type of Pimple\Container::offsetSet($id, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /srv/sidawson.com/public/htdocs/wp-content/plugins/better-wp-security/vendor-prod/pimple/pimple/src/Pimple/Container.php on line 79

Deprecated: Return type of Pimple\Container::offsetUnset($id) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /srv/sidawson.com/public/htdocs/wp-content/plugins/better-wp-security/vendor-prod/pimple/pimple/src/Pimple/Container.php on line 143

Deprecated: Return type of iThemesSecurity\Lib\Lockout\Execute_Lock\Context::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /srv/sidawson.com/public/htdocs/wp-content/plugins/better-wp-security/core/lib/lockout/execute-lock/abstract-context.php on line 60

Deprecated: Return type of iThemesSecurity\Lib\Lockout\Execute_Lock\Context::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /srv/sidawson.com/public/htdocs/wp-content/plugins/better-wp-security/core/lib/lockout/execute-lock/abstract-context.php on line 66

Deprecated: Return type of iThemesSecurity\Lib\Lockout\Execute_Lock\Context::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /srv/sidawson.com/public/htdocs/wp-content/plugins/better-wp-security/core/lib/lockout/execute-lock/abstract-context.php on line 72

Deprecated: Return type of iThemesSecurity\Lib\Lockout\Execute_Lock\Context::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /srv/sidawson.com/public/htdocs/wp-content/plugins/better-wp-security/core/lib/lockout/execute-lock/abstract-context.php on line 76

Deprecated: Return type of iThemesSecurity\Lib\Lockout\Execute_Lock\Context::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /srv/sidawson.com/public/htdocs/wp-content/plugins/better-wp-security/core/lib/lockout/execute-lock/abstract-context.php on line 56

Deprecated: Return type of ITSEC_Lib_Distributed_Storage_Cursor::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /srv/sidawson.com/public/htdocs/wp-content/plugins/better-wp-security/core/lib/class-itsec-lib-distributed-storage.php on line 578

Deprecated: Return type of ITSEC_Lib_Distributed_Storage_Cursor::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /srv/sidawson.com/public/htdocs/wp-content/plugins/better-wp-security/core/lib/class-itsec-lib-distributed-storage.php on line 585

Deprecated: Return type of ITSEC_Lib_Distributed_Storage_Cursor::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /srv/sidawson.com/public/htdocs/wp-content/plugins/better-wp-security/core/lib/class-itsec-lib-distributed-storage.php on line 606

Deprecated: Return type of ITSEC_Lib_Distributed_Storage_Cursor::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /srv/sidawson.com/public/htdocs/wp-content/plugins/better-wp-security/core/lib/class-itsec-lib-distributed-storage.php on line 613

Deprecated: Return type of ITSEC_Lib_Distributed_Storage_Cursor::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /srv/sidawson.com/public/htdocs/wp-content/plugins/better-wp-security/core/lib/class-itsec-lib-distributed-storage.php on line 620

Warning: Cannot modify header information - headers already sent by (output started at /srv/sidawson.com/public/htdocs/wp-content/plugins/better-wp-security/core/lib/class-itsec-lib-distributed-storage.php:545) in /srv/sidawson.com/public/htdocs/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 1544

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /srv/sidawson.com/public/htdocs/wp-content/plugins/better-wp-security/core/core.php on line 1092

Warning: Cannot modify header information - headers already sent by (output started at /srv/sidawson.com/public/htdocs/wp-content/plugins/better-wp-security/core/lib/class-itsec-lib-distributed-storage.php:545) in /srv/sidawson.com/public/htdocs/wp-includes/feed-rss2-comments.php on line 8
Comments on: OSX MySQL DYLD_LIBRARY_PATH libmysqlclient.18.dylib – fix https://sidawson.com/2013/09/osx-mysql-dyld_library_path-issue-fix.html Coding; trickery; magic Sun, 19 Apr 2015 00:03:00 +0000 hourly 1 https://wordpress.org/?v=6.4.6 By: Si Dawson https://sidawson.com/2013/09/osx-mysql-dyld_library_path-issue-fix.html/comment-page-1#comment-57 Sun, 19 Apr 2015 00:03:00 +0000 http://sidawson.com/?p=155#comment-57 In reply to Paul James.

Ahh, I know EXACTLY what you mean (hence the post). Super glad it helped!

]]>
By: Paul James https://sidawson.com/2013/09/osx-mysql-dyld_library_path-issue-fix.html/comment-page-1#comment-56 Sat, 18 Apr 2015 22:28:00 +0000 http://sidawson.com/?p=155#comment-56 You saved my life! …well, my sanity at least :)

]]>
By: Si Dawson https://sidawson.com/2013/09/osx-mysql-dyld_library_path-issue-fix.html/comment-page-1#comment-44 Tue, 28 Jan 2014 23:58:00 +0000 http://sidawson.com/?p=155#comment-44 In reply to Gary Allen Vollink.

*nod* cool. I’ve been around (Linux mostly) for about the same length of time – but only really adminning as little as I possibly could to to get my coding work done :)

Thanks for your feedback Gary – that’s super helpful. I’ve updated the post to reflect your advice.

]]>
By: Gary Allen Vollink https://sidawson.com/2013/09/osx-mysql-dyld_library_path-issue-fix.html/comment-page-1#comment-43 Tue, 28 Jan 2014 21:58:00 +0000 http://sidawson.com/?p=155#comment-43 In reply to Si Dawson.

Honestly, I’m happy to see someone willing to talk about it (as opposed to 6 year old abandoned posts) and have readable comments, because even down here it helps people find and decide the best answer for themselves (which is really what we all want – information enough to decide for ourselves). [ so maybe just point folks down here to the comments? ]

I have 20 years of UNIX development and admin experience, but I’m VERY new to Mac (which has it’s odd points), and I always try to leave any place in better shape than I found it.

]]>
By: Si Dawson https://sidawson.com/2013/09/osx-mysql-dyld_library_path-issue-fix.html/comment-page-1#comment-42 Tue, 28 Jan 2014 07:59:00 +0000 http://sidawson.com/?p=155#comment-42 In reply to Gary Allen Vollink.

So it’d be better to do the above soft link into /usr/local/lib, rather than /usr/lib ?

If so, I’ll update the above post.

I admit I’m at the edge of my knowledge re how the insides of these libraries and systems all interface. Mostly the above solution is “this worked without anything apparently breaking” rather than based on any deep technical understanding.

]]>
By: Gary Allen Vollink https://sidawson.com/2013/09/osx-mysql-dyld_library_path-issue-fix.html/comment-page-1#comment-41 Tue, 28 Jan 2014 02:04:00 +0000 http://sidawson.com/?p=155#comment-41 In reply to Si Dawson.

I /ALSO/ got around to testing (as from man dyld) that /usr/local/lib is ALSO a default fallback, and works as expected, so doing the softlink to that location is more “upgrade safe” than the links straight into /usr/lib.

Next on /my/ list is figuring out if there’s a way to make ‘mac ports’ project install directly to /usr/local instead of /opt/local.

]]>
By: Si Dawson https://sidawson.com/2013/09/osx-mysql-dyld_library_path-issue-fix.html/comment-page-1#comment-40 Thu, 23 Jan 2014 09:58:00 +0000 http://sidawson.com/?p=155#comment-40 In reply to Gary Allen Vollink.

Ahh, excellent suggestions. Thank you so much.

There’s definitely a world of subtlety around this stuff.

I’m surprised with the huge amount of searching I did that I didn’t find the DYLD_FALLBACK_LIBRARY_PATH suggestion. Very surprised. Still, it’s here now, so I have it on record (in case I need it again) – and for that I thank you.

]]>
By: Gary Allen Vollink https://sidawson.com/2013/09/osx-mysql-dyld_library_path-issue-fix.html/comment-page-1#comment-39 Wed, 22 Jan 2014 20:29:00 +0000 http://sidawson.com/?p=155#comment-39 Notes: 1) DYLD_FALLBACK_LIBRARY_PATH is the “standard recommendation” for many reasons. Check man dyld for info. I wouldn’t want anybody to think that shortcutting this without _FALLBACK is a good thing. 2) For anybody who DOES mess with either DYLD_FALLBACK_LIBRARY PATH _OR_ DYLD_LIBRARY_PATH, if you later decide to do the soft-link variation (which has many advantages), it will ONLY work if DYLD**PATH has never been set in your shell. Even they are not set, if they are explicitly UNSET, the behavior will not include any defaults. (Clean your .bash_profile, .bashrc, etc — log out — log back in).

]]>
By: Si Dawson https://sidawson.com/2013/09/osx-mysql-dyld_library_path-issue-fix.html/comment-page-1#comment-38 Wed, 13 Nov 2013 10:56:00 +0000 http://sidawson.com/?p=155#comment-38 In reply to Amir Boziev.

Ahh brilliant. Yeah, that was a massive pain in the ass until I figured that out.

]]>
By: Amir Boziev https://sidawson.com/2013/09/osx-mysql-dyld_library_path-issue-fix.html/comment-page-1#comment-37 Wed, 13 Nov 2013 10:09:00 +0000 http://sidawson.com/?p=155#comment-37 Worked for me. Thank you so much!

]]>