On Mon, 19 Dec 2011 20:23:51 -0800 (PST)
Darrell Anderson <humanreadable(a)yahoo.com> wrote:
I have a testing account I use often. That account
gets used in my
real machines and virtual machines. For many years I have used a
left-handed mouse (mouse buttons reversed). Because the virtual
machine passes the mouse buttons transparently, I wrote a snippet for
that user's .bashrc file to test the mouse button configuration and
swap the mouse buttons in kcminputrc as necessary. That way I can use
a left-handed mouse regardless of which environment the account gets
used.
To test my mouse buttons I run the following in that user's .bashrc:
kreadconfig --file $PROFILE_HOME/share/config/kcminputrc --group
Mouse --key MouseButtonMapping
Simple enough.
Today I booted my PII machine that has a partition for Trinity
3.5.13. I login from the command line, which means X is not yet
running. When I logged in with that testing account I received the
following message:
NVIDIA OpenGL Driver requires CPUs with SSE to run.
The current CPU does not support SSE.
Superficially, I saw this message because originally I had cloned a
testing partition from another hard drive and that partition had the
proprietary Nvidia drivers installed. The PII machine does not
support those drivers. Hence the messages.
The real mystery is what is kreadconfig and kwriteconfig doing that
indirectly causes those messages? I suspect a linking problem, which
ldconfig resolved after I removed the Nvidia packages. Nonetheless,
why are those two commands querying X libraries when X is not
running? Is this a feature or a bug? :)
dd@darkstar:~$ ldd `which kwriteconfig`
linux-gate.so.1 => (0xffffe000)
libkdecore.so.4 => /opt/kde3/lib/libkdecore.so.4 (0xf7489000)
libDCOP.so.4 => /opt/kde3/lib/libDCOP.so.4 (0xf744c000)
libkdefx.so.4 => /opt/kde3/lib/libkdefx.so.4 (0xf741b000)
libtqt.so.4 => /opt/kde3/lib/libtqt.so.4 (0xf7419000)
libqt-mt.so.3 => /opt/kde3/lib/libqt-mt.so.3 (0xf6d52000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0xf6d2f000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xf6c14000)
libz.so.1 => /usr/lib/libz.so.1 (0xf6c00000)
libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0xf6bfd000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xf6bf8000)
libICE.so.6 => /usr/lib/libICE.so.6 (0xf6be0000)
libSM.so.6 => /usr/lib/libSM.so.6 (0xf6bd8000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xf6ae8000)
libm.so.6 => /lib/libm.so.6 (0xf6ac2000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xf6aa5000)
libc.so.6 => /lib/libc.so.6 (0xf6942000)
libdl.so.2 => /lib/libdl.so.2 (0xf693d000)
libmng.so.1 => /usr/lib/libmng.so.1 (0xf68da000)
libjpeg.so.8 => /usr/lib/libjpeg.so.8 (0xf68a5000)
libpng14.so.14 => /usr/lib/libpng14.so.14 (0xf687f000)
libGL.so.1 => /usr/lib/libGL.so.1 (0xf6814000)
libXmu.so.6 => /usr/lib/libXmu.so.6 (0xf67fd000)
libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xf67f6000)
libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xf67ed000)
libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xf67ea000)
libXft.so.2 => /usr/lib/libXft.so.2 (0xf67d7000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xf6761000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xf6732000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xf6724000)
libpthread.so.0 => /lib/libpthread.so.0 (0xf670b000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xf66f3000)
libuuid.so.1 => /lib/libuuid.so.1 (0xf66ef000)
/lib/ld-linux.so.2 (0xf774f000)
liblcms.so.1 => /usr/lib/liblcms.so.1 (0xf66bb000)
libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xf66b6000)
libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xf66b3000)
libX11-xcb.so.1 => /usr/lib/libX11-xcb.so.1 (0xf66b1000)
libxcb-glx.so.0 => /usr/lib/libxcb-glx.so.0 (0xf66a1000)
libdrm.so.2 => /usr/lib/libdrm.so.2 (0xf6697000)
libXt.so.6 => /usr/lib/libXt.so.6 (0xf6646000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xf6643000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xf663e000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0xf6618000)
librt.so.1 => /lib/librt.so.1 (0xf660e000)
dd@darkstar:~$ ldd /opt/kde3/lib/libkdecore.so.4.2.0
linux-gate.so.1 => (0xffffe000)
libDCOP.so.4 => /opt/kde3/lib/libDCOP.so.4 (0xf7451000)
libkdefx.so.4 => /opt/kde3/lib/libkdefx.so.4 (0xf7420000)
libz.so.1 => /usr/lib/libz.so.1 (0xf73f2000)
libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0xf73ef000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xf73e9000)
libICE.so.6 => /usr/lib/libICE.so.6 (0xf73d2000)
libSM.so.6 => /usr/lib/libSM.so.6 (0xf73ca000)
libdl.so.2 => /lib/libdl.so.2 (0xf73c6000)
libtqt.so.4 => /opt/kde3/lib/libtqt.so.4 (0xf73c4000)
libqt-mt.so.3 => /opt/kde3/lib/libqt-mt.so.3 (0xf6cfe000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0xf6cf4000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xf6bd9000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xf6ae9000)
libm.so.6 => /lib/libm.so.6 (0xf6ac3000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xf6aa6000)
libc.so.6 => /lib/libc.so.6 (0xf6943000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xf6934000)
libuuid.so.1 => /lib/libuuid.so.1 (0xf6930000)
/lib/ld-linux.so.2 (0xf7754000)
libmng.so.1 => /usr/lib/libmng.so.1 (0xf68cd000)
libjpeg.so.8 => /usr/lib/libjpeg.so.8 (0xf6898000)
libpng14.so.14 => /usr/lib/libpng14.so.14 (0xf6872000)
libGL.so.1 => /usr/lib/libGL.so.1 (0xf6806000)
libXmu.so.6 => /usr/lib/libXmu.so.6 (0xf67f0000)
libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xf67e9000)
libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xf67e0000)
libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xf67dd000)
libXft.so.2 => /usr/lib/libXft.so.2 (0xf67ca000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xf6753000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xf6725000)
libpthread.so.0 => /lib/libpthread.so.0 (0xf670c000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xf66f4000)
liblcms.so.1 => /usr/lib/liblcms.so.1 (0xf66c1000)
libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xf66bb000)
libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xf66b8000)
libX11-xcb.so.1 => /usr/lib/libX11-xcb.so.1 (0xf66b6000)
libxcb-glx.so.0 => /usr/lib/libxcb-glx.so.0 (0xf66a6000)
libdrm.so.2 => /usr/lib/libdrm.so.2 (0xf669d000)
libXt.so.6 => /usr/lib/libXt.so.6 (0xf664b000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xf6648000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xf6643000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0xf661d000)
librt.so.1 => /lib/librt.so.1 (0xf6614000)
I don't think we should go much farther in the investigation: the
dependency of kwriteconfig on kdelibs brings automatic dependency on X
libraries even if it is a console program.
Darrell
---------------------------------------------------------------------
To unsubscribe, e-mail:
trinity-devel-unsubscribe(a)lists.pearsoncomputing.net For additional
commands, e-mail: trinity-devel-help(a)lists.pearsoncomputing.net Read
list messsages on the Web archive:
http://trinity-devel.pearsoncomputing.net/ Please remember not to
top-post:
http://trinity.pearsoncomputing.net/mailing_lists/#top-posting