• Error with LD_PRELOAD

    From Francesco Pietra@21:1/5 to All on Sun Nov 18 20:50:02 2018
    Hi
    Since new update/upgrade I am unable, with debian amd64 stretch, to preload
    a library that lies on the same folder from which I am working. What has changed in amd64 stretch that does no more finds the library and looks elsewhere for a non-existing library? Commands below:

    francesco@vaio64:~/servers/cineca/RCM_remote_visualization$ LD_PRELOAD=/home/francesco/servers/cineca/RCM_remote_visualization/libX11.so.6
    /bin/ls
    libX11.so.6 RCM_linux_64bit francesco@vaio64:~/servers/cineca/RCM_remote_visualization$ export LD_PRELOAD=/home/francesco/tmp/libX11.so.6 francesco@vaio64:~/servers/cineca/RCM_remote_visualization$ ldd /bin/ls ERROR: ld.so: object '/home/francesco/tmp/libX11.so.6' from LD_PRELOAD
    cannot be preloaded (cannot open shared object file): ignored.
    ERROR: ld.so: object '/home/francesco/tmp/libX11.so.6' from LD_PRELOAD
    cannot be preloaded (cannot open shared object file): ignored.
    linux-vdso.so.1 (0x00007ffefd181000)
    libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f01458d9000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f014553a000)
    libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f01452c7000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f01450c3000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f0145d22000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f0144ea6000) francesco@vaio64:~/servers/cineca/RCM_remote_visualization$


    Therefore, I am unable, at this point, to launch a program for remote visualization (which worked well before the said update/upgrade):

    francesco@vaio64:~/servers/cineca/RCM_remote_visualization$ ./RCM_linux_64bitERROR: ld.so: object '/home/francesco/tmp/libX11.so.6'
    from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
    ERROR: ld.so: object '/home/francesco/tmp/libX11.so.6' from LD_PRELOAD
    cannot be preloaded (cannot open shared object file): ignored.
    Traceback (most recent call last):
    File "<string>", line 10, in <module>
    File "/home/vagrant/devel/RCM/multivnc/PyInstaller/PyInstaller-2.1/PyInstaller/loader/pyi_importers.py",
    line 270, in load_module
    File "/tmp/build/rcm_client_tk/out00-PYZ.pyz/Tkinter", line 39, in
    <module>
    File "/home/vagrant/devel/RCM/multivnc/PyInstaller/PyInstaller-2.1/PyInstaller/loader/pyi_importers.py",
    line 409, in load_module
    ImportError: /usr/lib/x86_64-linux-gnu/libX11.so.6: undefined symbol: xcb_poll_for_reply64


    Grateful for advice
    francesco pietra

    <div dir="ltr"><div dir="ltr"><div dir="ltr"><div><font size="1">Hi</font></div><div><font size="1">Since new update/upgrade I am unable, with debian amd64 stretch, to preload a library that lies on the same folder from which I am working. What has
    changed in amd64 stretch that does no more finds the library and looks elsewhere for a non-existing library? Commands below: <br></font></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-
    left:1ex"><div><font size="1">francesco@vaio64:~/servers/cineca/RCM_remote_visualization$ LD_PRELOAD=/home/francesco/servers/cineca/RCM_remote_visualization/libX11.so.6 /bin/ls<br>libX11.so.6  RCM_linux_64bit<br>francesco@vaio64:~/servers/cineca/RCM_
    remote_visualization$ export LD_PRELOAD=/home/francesco/tmp/libX11.so.6<br>francesco@vaio64:~/servers/cineca/RCM_remote_visualization$ ldd /bin/ls<br>ERROR: ld.so: object &#39;/home/francesco/tmp/libX11.so.6&#39; from LD_PRELOAD cannot be preloaded (
    cannot open shared object file): ignored.<br>ERROR: ld.so: object &#39;/home/francesco/tmp/libX11.so.6&#39; from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.<br>    linux-vdso.so.1 (0x00007ffefd181000)<br>    libselinux.
    so.1 =&gt; /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f01458d9000)<br>    libc.so.6 =&gt; /lib/x86_64-linux-gnu/libc.so.6 (0x00007f014553a000)<br>    libpcre.so.3 =&gt; /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f01452c7000)<br>    libdl.so.2
    =&gt; /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f01450c3000)<br>    /lib64/ld-linux-x86-64.so.2 (0x00007f0145d22000)<br>    libpthread.so.0 =&gt; /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f0144ea6000)<br>francesco@vaio64:~/servers/cineca/RCM_
    remote_visualization$ </font></div></blockquote><div><font size="1"><br></font></div><div><font size="1">Therefore, I am unable, at this point, to launch a program for remote visualization (which worked well before the said update/upgrade):</font></div><
    blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><font size="1">francesco@vaio64:~/servers/cineca/RCM_remote_visualization$ ./RCM_linux_64bitERROR: ld.so: object &#39;/home/
    francesco/tmp/libX11.so.6&#39; from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.<br>ERROR: ld.so: object &#39;/home/francesco/tmp/libX11.so.6&#39; from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.<
    Traceback (most recent call last):<br>  File &quot;&lt;string&gt;&quot;, line 10, in &lt;module&gt;<br>  File &quot;/home/vagrant/devel/RCM/multivnc/PyInstaller/PyInstaller-2.1/PyInstaller/loader/pyi_importers.py&quot;, line 270, in load_module<br> 
    File &quot;/tmp/build/rcm_client_tk/out00-PYZ.pyz/Tkinter&quot;, line 39, in &lt;module&gt;<br>  File &quot;/home/vagrant/devel/RCM/multivnc/PyInstaller/PyInstaller-2.1/PyInstaller/loader/pyi_importers.py&quot;, line 409, in load_module<br>ImportError:
    /usr/lib/x86_64-linux-gnu/libX11.so.6: undefined symbol: xcb_poll_for_reply64<br></font></div></blockquote><div><font size="1"><br></font></div><div><font size="1">Grateful for advice<br></font></div><div><font size="1">francesco pietra<br></font></div><
    <font size="1"><br></font></div></div></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Antti Kultanen@21:1/5 to Francesco Pietra on Thu Nov 22 11:10:01 2018
    Hi,

    On Sun, 18 Nov 2018, Francesco Pietra wrote:

    Commands below:

    francesco@vaio64:~/servers/cineca/RCM_remote_visualization$ LD_PRELOAD=/home/francesco/servers/cineca/RCM_remote_visualization/libX11.so.6 /bin/ls
    libX11.so.6 RCM_linux_64bit francesco@vaio64:~/servers/cineca/RCM_remote_visualization$ export LD_PRELOAD=/home/francesco/tmp/libX11.so.6
    [...]

    Those LD_PRELOAD paths are different and nothing in your commands
    output shows that /home/francesco/tmp/libX11.so.6 really exists. Are you
    sure it's there?

    --

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Francesco Pietra@21:1/5 to All on Thu Nov 22 11:40:01 2018
    Hi Antti, I was sinking into a glass of water. Thanks a lot, francesco

    On Thu, Nov 22, 2018 at 10:51 AM Antti Kultanen <debian-amd64@molukki.com> wrote:

    Hi,

    On Sun, 18 Nov 2018, Francesco Pietra wrote:

    Commands below:

    francesco@vaio64:~/servers/cineca/RCM_remote_visualization$
    LD_PRELOAD=/home/francesco/servers/cineca/RCM_remote_visualization/libX11.so.6
    /bin/ls
    libX11.so.6 RCM_linux_64bit francesco@vaio64:~/servers/cineca/RCM_remote_visualization$ export
    LD_PRELOAD=/home/francesco/tmp/libX11.so.6
    [...]

    Those LD_PRELOAD paths are different and nothing in your commands
    output shows that /home/francesco/tmp/libX11.so.6 really exists. Are you
    sure it's there?

    --


    <div dir="ltr">Hi Antti, I was sinking into a glass of water. Thanks a lot, francesco<br></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Nov 22, 2018 at 10:51 AM Antti Kultanen &lt;<a href="mailto:debian-amd64@molukki.com">debian-amd64@molukki.
    com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>

    On Sun, 18 Nov 2018, Francesco Pietra wrote:<br>

    &gt; Commands below:<br>
    &gt;<br>
    &gt; francesco@vaio64:~/servers/cineca/RCM_remote_visualization$ LD_PRELOAD=/home/francesco/servers/cineca/RCM_remote_visualization/libX11.so.6 /bin/ls<br>
    &gt; libX11.so.6  RCM_linux_64bit<br>
    &gt; francesco@vaio64:~/servers/cineca/RCM_remote_visualization$ export LD_PRELOAD=/home/francesco/tmp/libX11.so.6<br>
    [...]<br>

    Those LD_PRELOAD paths are different and nothing in your commands <br>
    output shows that /home/francesco/tmp/libX11.so.6 really exists. Are you <br> sure it&#39;s there?<br>

    -- <br>
    </blockquote></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)