LINK : fatal error LNK1181: cannot open input file 'mariadbclient.lib'
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 20/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- mysql, python
- Domain
- build-system, databases
Research direction
Start with setup.py and reproduce the difference between python setup.py build and python setup.py install on Windows. Inspect the linker configuration around mariadbclient.lib; done means the install command completes successfully or the required library setup is clearly documented.
Written by the indexing model from the issue text.
Description
when I use this command :python setup.py build is ok.
but when I use command:python setup.py install is error.
Error Messages:
Processing mysqlclient-1.4.2.post1.tar.gz
Writing c:\users\appdata\local\temp\easy_install-eycove\mysqlclient-1.4.2.post1\setup.cfg
Running mysqlclient-1.4.2.post1\setup.py -q bdist_egg --dist-dir c:\users\appdata\local\temp\easy_install-eycove\mysqlclient-1.4.2.post1\egg-dist-tmp-ziwvkr
e:\python\Lib\distutils\dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type'
warnings.warn(msg)
_mysql.c
MySQLdb/_mysql.c(304) : warning C4244: 'initializing' : conversion from 'Py_ssize_t' to 'int', possible loss of data
MySQLdb/_mysql.c(951) : warning C4244: 'function' : conversion from 'Py_ssize_t' to 'unsigned long', possible loss of data
MySQLdb/_mysql.c(956) : warning C4244: 'function' : conversion from 'Py_ssize_t' to 'unsigned long', possible loss of data
MySQLdb/_mysql.c(1126) : warning C4090: 'function' : different 'const' qualifiers
MySQLdb/_mysql.c(1215) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
MySQLdb/_mysql.c(1217) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
MySQLdb/_mysql.c(1253) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
MySQLdb/_mysql.c(1255) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
MySQLdb/_mysql.c(1671) : warning C4244: 'function' : conversion from 'SOCKET' to 'long', possible loss of data
LINK : fatal error LNK1181: cannot open input file 'mariadbclient.lib'
error: Setup script exited with error: command 'C:\\Users\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\amd64\\link.exe' failed with exit status 1181
how to solve it ? I search "mariadbclient.lib" in google , can't find this lib.
- Dominant language
- Python
- Stars
- 8.9k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from clips/pattern
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
-
Difficulty 1/5 Under an hour Newbie friendliness 45/100
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
syfoud/Simulated_Scepter#172 ·
-
A cancelled tests run makes the coverage comment workflow fail and reports it as a red check on main Openarea: ci bug perceived difficulty: 3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Nitjsefnie-Harness-Commons/daedalus#921 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
EleutherAI/lm-evaluation-harness#4207 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ClickHouse/clickhouse-connect#1057 ·