← Back to team overview

agesys-dev team mailing list archive

[Bug 1364918] [NEW] Build on windows cant locate mysql lib

 

Public bug reported:

D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:D:\pypacking\mysql-5.6.20-winx64\lib\opt /LIBPAT
H:C:\Python34-x64\Libs /LIBPATH:D:\pypacking\PYVENV-x64\libs /LIBPATH:D:\pypacking\PYVENV-x64\PCbuild\amd64 advapi32.lib wsock32.lib libmysql.lib /EXPORT:PyInit
_oursql build\temp.win-amd64-3.4\Release\oursqlx/oursql.obj build\temp.win-amd64-3.4\Release\oursqlx/compat.obj /OUT:build\lib.win-amd64-3.4\oursql.pyd /IMPLIB:
build\temp.win-amd64-3.4\Release\oursqlx\oursql.lib /MANIFESTFILE:build\temp.win-amd64-3.4\Release\oursqlx\oursql.pyd.manifest

LINK : fatal error LNK1181: cannot open input file 'libmysql.lib'


setup.py:120: 
        ext.library_dirs.append(
            os.path.join(mysql_root, 'lib', 'opt'))

But mysql libs are located at mysql_root\lib in both mysql-5.6.20-win32
and mysql-5.6.20-xwin64, NOT in lib\opt.

** Affects: oursql
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Agesys
Team, which is subscribed to oursql.
https://bugs.launchpad.net/bugs/1364918

Title:
  Build on windows cant locate mysql lib

Status in oursql:
  New

Bug description:
  D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:D:\pypacking\mysql-5.6.20-winx64\lib\opt /LIBPAT
  H:C:\Python34-x64\Libs /LIBPATH:D:\pypacking\PYVENV-x64\libs /LIBPATH:D:\pypacking\PYVENV-x64\PCbuild\amd64 advapi32.lib wsock32.lib libmysql.lib /EXPORT:PyInit
  _oursql build\temp.win-amd64-3.4\Release\oursqlx/oursql.obj build\temp.win-amd64-3.4\Release\oursqlx/compat.obj /OUT:build\lib.win-amd64-3.4\oursql.pyd /IMPLIB:
  build\temp.win-amd64-3.4\Release\oursqlx\oursql.lib /MANIFESTFILE:build\temp.win-amd64-3.4\Release\oursqlx\oursql.pyd.manifest

  LINK : fatal error LNK1181: cannot open input file 'libmysql.lib'

  
  setup.py:120: 
          ext.library_dirs.append(
              os.path.join(mysql_root, 'lib', 'opt'))

  But mysql libs are located at mysql_root\lib in both
  mysql-5.6.20-win32 and mysql-5.6.20-xwin64, NOT in lib\opt.

To manage notifications about this bug go to:
https://bugs.launchpad.net/oursql/+bug/1364918/+subscriptions


Follow ups

References