Summary: | app-office/texmaker-1.50-r1 not running as normal user | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Popolous <Popolous> |
Component: | New packages | Assignee: | TeX project <tex> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 2007.0 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Popolous
2007-11-30 22:54:14 UTC
what's the output from the console when it doesn't start ? when it does ? could you try with texmaker 1.60 ? what's the output of 'locale' command as root and as a user ? could you try to start texmaker as a user with the same locales as root ? When I start it as a normal user, I have this error message: ================================================================================== texmaker: symbol lookup error: texmaker: undefined symbol: _ZN7QString16fromAscii_helperEPKci ================================================================================== Locale as normal user: ================================================================================== LANG=es_ES@euro LC_CTYPE="es_ES@euro" LC_NUMERIC="es_ES@euro" LC_TIME="es_ES@euro" LC_COLLATE="es_ES@euro" LC_MONETARY="es_ES@euro" LC_MESSAGES="es_ES@euro" LC_PAPER="es_ES@euro" LC_NAME="es_ES@euro" LC_ADDRESS="es_ES@euro" LC_TELEPHONE="es_ES@euro" LC_MEASUREMENT="es_ES@euro" LC_IDENTIFICATION="es_ES@euro" LC_ALL=es_ES@euro ================================================================================ As root: ================================================================================ LANG=es_ES@euro LC_CTYPE="es_ES@euro" LC_NUMERIC="es_ES@euro" LC_TIME="es_ES@euro" LC_COLLATE="es_ES@euro" LC_MONETARY="es_ES@euro" LC_MESSAGES="es_ES@euro" LC_PAPER="es_ES@euro" LC_NAME="es_ES@euro" LC_ADDRESS="es_ES@euro" LC_TELEPHONE="es_ES@euro" LC_MEASUREMENT="es_ES@euro" LC_IDENTIFICATION="es_ES@euro" LC_ALL=es_ES@euro ================================================================================ whats the output (both as root and as a user) of : ldd /usr/bin/texmaker which texmaker As normal user: ================================================================================= $ ldd /usr/bin/texmaker linux-gate.so.1 => (0xb7f7e000) libQtGui.so.4 => /opt/matlab75/bin/glnx86/libQtGui.so.4 (0xb7a51000) libaudio.so.2 => /usr/lib/libaudio.so.2 (0xb7a12000) libXt.so.6 => /usr/lib/libXt.so.6 (0xb79bd000) libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb799b000) libSM.so.6 => /usr/lib/libSM.so.6 (0xb7992000) libICE.so.6 => /usr/lib/libICE.so.6 (0xb797a000) libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb7971000) libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb796b000) libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb7966000) libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb795c000) libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb7959000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb78cc000) libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb7898000) libXext.so.6 => /usr/lib/libXext.so.6 (0xb7888000) libX11.so.6 => /usr/lib/libX11.so.6 (0xb778f000) libQtCore.so.4 => /opt/matlab75/bin/glnx86/libQtCore.so.4 (0xb7641000) libz.so.1 => /opt/matlab75/bin/glnx86/libz.so.1 (0xb762d000) libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb7628000) librt.so.1 => /lib/librt.so.1 (0xb761e000) libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb754f000) libdl.so.2 => /lib/libdl.so.2 (0xb754b000) libpthread.so.0 => /lib/libpthread.so.0 (0xb7534000) libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6 (0xb7457000) libm.so.6 => /lib/libm.so.6 (0xb7431000) libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1 (0xb7426000) libc.so.6 => /lib/libc.so.6 (0xb72f6000) libXau.so.6 => /usr/lib/libXau.so.6 (0xb72f3000) libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb72c9000) libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb72c7000) libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb72af000) /lib/ld-linux.so.2 (0xb7f7f000) ================================================================================= As root: ================================================================================== # ldd /usr/bin/texmaker linux-gate.so.1 => (0xb7f7b000) libQtGui.so.4 => /usr/lib/qt4/libQtGui.so.4 (0xb77b8000) libaudio.so.2 => /usr/lib/libaudio.so.2 (0xb77a3000) libXt.so.6 => /usr/lib/libXt.so.6 (0xb774e000) libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb772c000) libSM.so.6 => /usr/lib/libSM.so.6 (0xb7723000) libICE.so.6 => /usr/lib/libICE.so.6 (0xb770b000) libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb7702000) libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb76fc000) libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb76f7000) libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb76ed000) libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb76ea000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb765d000) libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb7629000) libXext.so.6 => /usr/lib/libXext.so.6 (0xb7619000) libX11.so.6 => /usr/lib/libX11.so.6 (0xb7520000) libQtCore.so.4 => /usr/lib/qt4/libQtCore.so.4 (0xb738c000) libz.so.1 => /lib/libz.so.1 (0xb7378000) libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb7373000) librt.so.1 => /lib/librt.so.1 (0xb7369000) libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb729a000) libdl.so.2 => /lib/libdl.so.2 (0xb7296000) libpthread.so.0 => /lib/libpthread.so.0 (0xb727f000) libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6 (0xb71a2000) libm.so.6 => /lib/libm.so.6 (0xb717c000) libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1 (0xb7171000) libc.so.6 => /lib/libc.so.6 (0xb7041000) libXau.so.6 => /usr/lib/libXau.so.6 (0xb703e000) libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb7014000) libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb7012000) libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb6ffa000) /lib/ld-linux.so.2 (0xb7f7c000) libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb6ff5000) ================================================================================== Output from command which: ================================================================================ /usr/bin/texmaker ================================================================================ Both as normal user and root. (In reply to comment #4) > As normal user: [...] > libQtGui.so.4 => /opt/matlab75/bin/glnx86/libQtGui.so.4 (0xb7a51000) [...] > libQtCore.so.4 => /opt/matlab75/bin/glnx86/libQtCore.so.4 (0xb7641000) > libz.so.1 => /opt/matlab75/bin/glnx86/libz.so.1 (0xb762d000) [...] > As root: [...] > libQtCore.so.4 => /usr/lib/qt4/libQtCore.so.4 (0xb738c000) > libz.so.1 => /lib/libz.so.1 (0xb7378000) I think your user LD_LIBRARY_PATH contains some paths (matlab) that breaks things. texmaker has been compiled against qt in /usr/lib/qt4, but when you run it, it loads the one from /opt/matlab75/bin/glnx86 has matlab been installed via an ebuild ? do you have something in LD_LIBRARY_PATH ? did you add it manually ? (In reply to comment #5) > (In reply to comment #4) > > As normal user: > [...] > > libQtGui.so.4 => /opt/matlab75/bin/glnx86/libQtGui.so.4 (0xb7a51000) > [...] > > libQtCore.so.4 => /opt/matlab75/bin/glnx86/libQtCore.so.4 (0xb7641000) > > libz.so.1 => /opt/matlab75/bin/glnx86/libz.so.1 (0xb762d000) > [...] > > As root: > [...] > > libQtCore.so.4 => /usr/lib/qt4/libQtCore.so.4 (0xb738c000) > > libz.so.1 => /lib/libz.so.1 (0xb7378000) > > I think your user LD_LIBRARY_PATH contains some paths (matlab) that breaks > things. texmaker has been compiled against qt in /usr/lib/qt4, but when you run > it, it loads the one from /opt/matlab75/bin/glnx86 > > has matlab been installed via an ebuild ? do you have something in > LD_LIBRARY_PATH ? did you add it manually ? > Yes I have Matlab installed, but not via ebuild. In order for compiled applications within Matlab to run, I had to add that in LD_LIBRARY_PATH. Is there any way to keep it as a normal user and have the same as root? (In reply to comment #6) > (In reply to comment #5) > > (In reply to comment #4) > > > As normal user: > > [...] > > > libQtGui.so.4 => /opt/matlab75/bin/glnx86/libQtGui.so.4 (0xb7a51000) > > [...] > > > libQtCore.so.4 => /opt/matlab75/bin/glnx86/libQtCore.so.4 (0xb7641000) > > > libz.so.1 => /opt/matlab75/bin/glnx86/libz.so.1 (0xb762d000) > > [...] > > > As root: > > [...] > > > libQtCore.so.4 => /usr/lib/qt4/libQtCore.so.4 (0xb738c000) > > > libz.so.1 => /lib/libz.so.1 (0xb7378000) > > > > I think your user LD_LIBRARY_PATH contains some paths (matlab) that breaks > > things. texmaker has been compiled against qt in /usr/lib/qt4, but when you run > > it, it loads the one from /opt/matlab75/bin/glnx86 > > > > has matlab been installed via an ebuild ? do you have something in > > LD_LIBRARY_PATH ? did you add it manually ? > > > Yes I have Matlab installed, but not via ebuild. In order for compiled > applications within Matlab to run, I had to add that in LD_LIBRARY_PATH. Is > there any way to keep it as a normal user and have the same as root? yes: dont set globally LD_LIBRARY_PATH like that as it will break your qt4 applications. Use a wrapper like: startmatlab.sh that contains: LD_LIBRARY_PATH=mypath /path/to/matlab so that matlab will be started with this wrapper sanely and other apps will also use the correct libraries closing as invalid (In reply to comment #7) > (In reply to comment #6) > > (In reply to comment #5) > > > (In reply to comment #4) > > > > As normal user: > > > [...] > > > > libQtGui.so.4 => /opt/matlab75/bin/glnx86/libQtGui.so.4 (0xb7a51000) > > > [...] > > > > libQtCore.so.4 => /opt/matlab75/bin/glnx86/libQtCore.so.4 (0xb7641000) > > > > libz.so.1 => /opt/matlab75/bin/glnx86/libz.so.1 (0xb762d000) > > > [...] > > > > As root: > > > [...] > > > > libQtCore.so.4 => /usr/lib/qt4/libQtCore.so.4 (0xb738c000) > > > > libz.so.1 => /lib/libz.so.1 (0xb7378000) > > > > > > I think your user LD_LIBRARY_PATH contains some paths (matlab) that breaks > > > things. texmaker has been compiled against qt in /usr/lib/qt4, but when you run > > > it, it loads the one from /opt/matlab75/bin/glnx86 > > > > > > has matlab been installed via an ebuild ? do you have something in > > > LD_LIBRARY_PATH ? did you add it manually ? > > > > > Yes I have Matlab installed, but not via ebuild. In order for compiled > > applications within Matlab to run, I had to add that in LD_LIBRARY_PATH. Is > > there any way to keep it as a normal user and have the same as root? > > > yes: dont set globally LD_LIBRARY_PATH like that as it will break your qt4 > applications. > Use a wrapper like: startmatlab.sh that contains: > LD_LIBRARY_PATH=mypath /path/to/matlab > so that matlab will be started with this wrapper sanely and other apps will > also use the correct libraries > > closing as invalid > Thank you very much! |