Re: macOS Mojave "Can't link/include C library ' ', aborting"
[email protected] (James Brown via dbi-users) Wed, 16 Jan 2019 17:59:07 +1100
| Newsgroups | perl.dbi.users |
|---|---|
| Message-ID | <[email protected]> |
> On 16 Jan 2019, at 5:48 pm, Daniël van Eeden <[email protected] <mailto:[email protected]>> wrote: > > The --libs part of that looks wrong. > I would expect something like "... -lmysqlclient -lssl -lcrypto”, not a -l without library name. > Not sure why that might be. Thanks Daniël. To compile Dovecot to link against MySQL I had to use: export CPPFLAGS="-I/usr/local/opt/[email protected]/include/mysql -I/usr/local/Cellar/[email protected]/1.1.1/include" export LDFLAGS="-L/usr/local/opt/[email protected]/lib -L/usr/local/opt/[email protected]/lib" ./configure --with-mysql --with-ssl=openssl Would I have to do something like that? Looking at the archives, it looks like Rajeev Jain has same or similar issue on the previous version of macOS (you replied 8 hours ago). Thanks, James.