enterprise-support team mailing list archive
-
enterprise-support team
-
Mailing list archive
-
Message #04719
[Bug 1517966] [NEW] Can't compile on osx due to shared library extension
Public bug reported:
I couldn't compile on OS X until I changed the following line in
`cmake/modules/FindMySQL.cmake` from:
set(CMAKE_FIND_LIBRARY_SUFFIXES .so .a .lib)
to
set(CMAKE_FIND_LIBRARY_SUFFIXES .so .lib .dylib)
I had to add `.dylib` so it would find shared libraries on OS X and took
out `.a` because that was causing issues when the installed glib
includes the static files.
See the pull request in homebrew for more information:
https://github.com/Homebrew/homebrew/pull/45892/commits
** Affects: mydumper
Importance: Undecided
Status: New
** Description changed:
I couldn't compile on OS X until I changed the following line in
`cmake/modules/FindMySQL.cmake` from:
- set(CMAKE_FIND_LIBRARY_SUFFIXES .so .a .lib)
+ set(CMAKE_FIND_LIBRARY_SUFFIXES .so .a .lib)
to
- set(CMAKE_FIND_LIBRARY_SUFFIXES .so .a .lib .dylib)
+ set(CMAKE_FIND_LIBRARY_SUFFIXES .so .a .lib .dylib)
I had to add `.dylib` so it would find shared libraries on OS X and took
out `.a` because that was causing issues when the installed glib
includes the static files.
See the pull request in homebrew for more information:
https://github.com/Homebrew/homebrew/pull/45892/commits
** Description changed:
I couldn't compile on OS X until I changed the following line in
`cmake/modules/FindMySQL.cmake` from:
set(CMAKE_FIND_LIBRARY_SUFFIXES .so .a .lib)
to
- set(CMAKE_FIND_LIBRARY_SUFFIXES .so .a .lib .dylib)
+ set(CMAKE_FIND_LIBRARY_SUFFIXES .so .lib .dylib)
I had to add `.dylib` so it would find shared libraries on OS X and took
out `.a` because that was causing issues when the installed glib
includes the static files.
See the pull request in homebrew for more information:
https://github.com/Homebrew/homebrew/pull/45892/commits
--
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to MySQL.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1517966
Title:
Can't compile on osx due to shared library extension
To manage notifications about this bug go to:
https://bugs.launchpad.net/mydumper/+bug/1517966/+subscriptions
Follow ups