mysql icon indicating copy to clipboard operation
mysql copied to clipboard

cabal install fails on OS X (current Maverick)

Open chrix75 opened this issue 10 years ago • 0 comments

Hi,

When I try to install the mysql lib, I get this error:

dyld: Library not loaded: libmysqlclient.18.dylib Referenced from: /private/var/folders/fk/339860r16j759wmsfmjkyr4h0000gn/T/mysql-0.1.1.7-26496/mysql-0.1.1.7/dist/build/Database/MySQL/Base/C_hsc_make Reason: image not found

I try the install with this command: cabal install mysql --extra-lib-dirs=/usr/local/mysql-5.6.11-osx10.7-x86_64/lib

I can pass this problem by setting the DYLD_LIBRARY_PATH but it's not clean and portable.

Do you have any solution?

Thanks

chrix75 avatar Oct 25 '14 15:10 chrix75