Problem compiling source MySQL-python on atv2

  • Skill83

    Skill83 - 2011-06-09

    Hi everybody, i'm trying to compile mysqldb on the atv2 i alredy istalled
    python2.5 mysql5.0.45 zlib1.2.3, i put threadsafe = False in site.cfg but when
    i try to compile it i can't because of this error:

    AppleTV:~/MySQL-python-1.2.3 root# python build

    running build

    running build_py

    copying MySQLdb/ -> build/lib.darwin-10.5-arm-2.5/MySQLdb

    running build_ext

    building '_mysql' extension

    arm-apple-darwin9-gcc -undefined dynamic_lookup -dynamiclib
    build/temp.darwin-10.5-arm-2.5/_mysql.o -L/usr/local/arm-apple-darwin/lib/
    -L/private/var/root/mysql/lib/mysql -lmysqlclient -lz -lm -o

    ld: library not found for -lm

    collect2: ld returned 1 exit status

    error: command 'arm-apple-darwin9-gcc' failed with exit status 1

    Somebody could help me please? wich library is missing???

  • Andy Dustman

    Andy Dustman - 2011-06-09

    The library for -lm would be libm. It seems to be a math library.


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks