Trying to migrate to texlive as part of upgrade. Failing on install of luatex with error: /usr/lib/libmplib/mplib.so: undefined reference to `luaL_getmetatable' I have tried revdep-rebuild, rebuilding lua and mplib - always getting this error. Installed: dev-lang/lua-5.1.4-r1 (have also tried: 5.1.1-r2, 5.1.3-r3, and 5.1.4) dev-tex/mplib-1.110 An objdump of liblua.so shows lua_getmetatable, but no luaL_getmetatable: # objdump --dynamic-syms /usr/lib/liblua.so.5.1.4 | grep -i metatable 000058c9 g DF .text 000000a3 Base lua_setmetatable 0000505e g DF .text 0000004f Base lua_getmetatable 00014b9b g DF .text 000000a2 Base luaL_newmetatable # emerge --info Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r5 i686) ================================================================= System uname: Linux-2.6.28-gentoo-r5-i686-Intel-R-_Core-TM-2_Duo_CPU_E6850_@_3.00GHz-with-glibc2.0 Timestamp of tree: Sat, 25 Apr 2009 09:30:01 +0000 ccache version 2.4 [disabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7-r1, 2.1.7 dev-lang/python: 2.4.4-r14, 2.5.4-r2 dev-python/pycrypto: 2.0.1-r8 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.2-r1 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active / /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/pro-audio /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowex X aac aalib acl alsa apache2 arts audacious avi bash-completion berkdb bzip2 cli cracklib crypt cups dga divx4linux dlloader dri dv dvd dvdread encode esd f77 fam ffmpeg firefox fortran gdbm gif glitz gnome gpm gstreamer gtk gtk2 hal hvm iconv ieee1394 imlib ipv6 isdnlog ithreads jack jpeg lirc mad midi mmx mmx2 mono mo tif mozbranding mp3 mpeg mudflap mysql ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp oss pam pcre pdf perl png postgres ppds pppd python qemu quicktime read line reflection sdl session spl sse sse2 ssl svg sysfs tcltk tcpd threads truetype unicode v4l v4l2 videos vorbis x86 xinerama xorg xv xvid zlib zvbi" ALSA_CARDS="emu10k1 usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug ra te route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_gr oupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap i nclude info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id us erdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurs es text" LIRC_DEVICES="livedrive_midi" USERLAND="GNU" VIDEO_CARDS="nvidia i810 vesa fbdev vga nv" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Kind Regards, glbevan
Please attach the build.log file of the failed emerge to this bug.
Created attachment 189518 [details] build.log of luatex-0.30.3 failed build
re-emerge dev-tex/mplib *** This bug has been marked as a duplicate of bug 265635 ***
I'm not sure this is a duplicate of bug 265635. As I mentioned in my original post I have tried revdep-rebuild and rebuilding lua and mplib. Rebuilding mplib does not resolve the issue.
Please close as user error - found old manual install includes and libs under /usr/local/. Package luatex now builds ok after cleaning up.