Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cabal install fails on OS X (current Maverick) #12

Open
chrix75 opened this issue Oct 25, 2014 · 0 comments
Open

cabal install fails on OS X (current Maverick) #12

chrix75 opened this issue Oct 25, 2014 · 0 comments

Comments

@chrix75
Copy link

chrix75 commented Oct 25, 2014

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant