Compilation was working with previous versions of mysql. i686-pc-linux-gnu-gcc -o oxdvi.bin xdvi.o dvi-draw.o dvi-init.o events.o font- open.o string-utils.o my-vsnprintf.o my-snprintf.o help-window.o message-window. o statusline.o xserver-info.o gf.o pk.o psdps.o psgs.o psheader.o psnews.o special.o util.o vf.o sfDir.o sfDraw.o sfPath.o sfSelFile.o hypertex.o mime.o wwwfetch.o alloca.o dvips.o tfmload.o -L/usr/lib -lwwwsql -lwwwinit -lwwwapp - lwwwxml -lxmltok -lxmlparse -lwwwzip -lwwwhtml -lwwwtelnet -lwwwnews -lwwwhttp - lwwwmime -lwwwgopher -lwwwftp -lwwwfile -lwwwdir -lwwwcache -lwwwstream -lwwwmux -lwwwtrans -lwwwcore -lwwwutils -lmd5 -ldl -lz -L/usr/lib/mysql -lmysqlclient - L/usr/lib -lssl -lcrypto ../../libs/t1lib/libt1.a ../../libs/t1lib/../type1/ libtype1.a -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 ../kpathsea/STATIC/ libkpathsea.a -lm /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld: warning: libmysqlclient.so.12, needed by /usr/lib/libwwwsql.so, not found (try using -rpath or -rpath-link) /usr/lib/libwwwsql.so: undefined reference to `mysql_connect' /usr/lib/libwwwsql.so: undefined reference to `mysql_create_db' collect2: ld returned 1 exit status make[2]: *** [oxdvi.bin] Error 1 make[2]: Leaving directory `/var/tmp/portage/tetex-2.0.2-r5/work/tetex-src-2.0. 2/texk/oxdvik' make[1]: *** [all] Error 1 make[1]: Leaving directory `/var/tmp/portage/tetex-2.0.2-r5/work/tetex-src-2.0. 2/texk' make: *** [all] Error 1 !!! ERROR: app-text/tetex-2.0.2-r5 failed. !!! Function tetex_src_compile, Line 185, Exitcode 2 !!! make teTeX failed !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce:
revdep-rebuild --library="libmysqlclient.so.12"