Library not loaded error on log in

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mobffra2
    New Member
    • Feb 2008
    • 1

    Library not loaded error on log in

    Hi all

    I have had MySQL (installed with fink) running on my Mac (Running OS X 10.4.10) for sometime and have never had any problems. Today however when i tried to log in with:

    mysql -u root -p

    I get the following error message:

    dyld: Library not loaded: /sw/lib/libreadline.4.d ylib
    Referenced from: /sw/bin/mysql
    Reason: no suitable image found. Did find:
    /sw/lib/libreadline.4.d ylib: mach-o, but wrong architecture
    Trace/BPT trap

    Im not sure whats happening the file libreadline.4.d ylib is in the place it says. I haven't updated anything since the last time it worked and i can still log into the database via the perl DBI but not from the command line.

    Any help would be much appreciated.

    Thanks
Working...