Skip to content

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

Description

@chrix75

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions