# Option clash when using graphicx and tikz packages

The following code fails Option clash for package graphicx, it seems to be an incompatibility between the package graphicx (when the option pdftex is used) and the package tikz.

\documentclass[a4paper,10pt]{book}
\usepackage[T1]{fontenc}
\usepackage[utf8x]{inputenc}
\usepackage{tikz}
\usepackage[pdftex]{graphicx}

\begin{document}

The lazy dog...

\end{document}

I am currently working with Debian wheezy (updated as of 10th November 2012), and the latest TeXLive LaTeX distribution included.

Any ideas?

-
Welcome to TeX.sx! A tip: If you indent lines by 4 spaces, they'll be marked as a code sample. You can also highlight the code and click the "code" button (with "{}" on it). You don't have to sign with your name since it automatically appears in the lower right corner of your post. – egreg Nov 10 '12 at 11:19
The pdftex option should never be passed to graphicx, which is able to guess it by itself. – egreg Nov 10 '12 at 11:20
TikZ loads graphicx automatically and both know what to do when you choose a driver. – percusse Nov 10 '12 at 11:20