I\'m trying to install MySQLdb with Python 2.7. The error I\'m getting looks like this:
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wal
It can't find the Python library, not the executable. Run locate libpython2.7.a
to see where your Python library is located, and add it to the library path (e.g. if it is in /opt/python2.7/lib
, you want to call LDFLAGS="-L/opt/python2.7/lib" make
).
The @
symbol means the file is a symbolic link; *
means it's executable (these are produced by ls -F, which you might have as an alias).