Build on windows cant locate mysql lib

Bug #1364918 reported by Mikael Pahmp on 2014-09-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oursql
Undecided
Unassigned

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 post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers