Menu

Installing under cygwin

Help
vik06
2006-02-05
2012-09-19
  • vik06

    vik06 - 2006-02-05

    Trying to install from cygwin gives the following error:

    ...
    gcc -shared -Wl,--enable-auto-image-base build/temp.cygwin-1.5.19-i686-2.4/_mysq
    l.o -L/usr/lib/python2.4/config -lzlib -lmsvcrt -llibcmt -lwsock32 -ladvapi32 -l
    mysqlclient_r -lpython2.4 -o build/lib.cygwin-1.5.19-i686-2.4/_mysql.dll
    /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find
    -lzlib
    collect2: ld returned 1 exit status
    error: command 'gcc' failed with exit status 1

    zlib is installed, python is built from cygwin, mysql - from DOS. Suggestions how to solve that will be much appreciated!

     
    • vik06

      vik06 - 2006-02-06

      P.S. After installing mysql (5.0) from cygwin, I still have a problem:

      $ python setup.py build
      running build
      running build_py
      running build_ext
      building '_mysql' extension
      gcc -shared -Wl,--enable-auto-image-base build/temp.cygwin-1.5.19-i686-2.4/_mysql.o -L/usr/local/lib/mysql -L/usr/lib/python2.4/config -lmysqld -lz -lpthread -l crypt -lnsl -lm -lpthread -lrt -lmysqld -lpython2.4 -o build/lib.cygwin-1.5.19-i686-2.4/_mysql.dll
      /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lmysqld
      collect2: ld returned 1 exit status
      error: command 'gcc' failed with exit status 1

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.