<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Hi Junli, in Intel Confidential Computing</title>
    <link>https://community.intel.com/t5/Intel-Confidential-Computing/Remote-EPID-Attestation-LD-LIBRARY-PATH-problems/m-p/1148674#M2505</link>
    <description>&lt;P&gt;Hi Junli,&lt;/P&gt;&lt;P&gt;thanks for your answer!&lt;/P&gt;&lt;P&gt;Should I install that manually? I installed PSW according to the installation guide using&lt;/P&gt;&lt;P&gt;"sudo apt-get install libsgx-epid libsgx-urts"&lt;/P&gt;&lt;P&gt;I also tried installing&amp;nbsp;libsgx-epid-dev to no avail. By manually I mean installing it from here&lt;/P&gt;&lt;P&gt;&lt;A href="https://download.01.org/intel-sgx/sgx-linux/2.8/distro/ubuntu16.04-server/debian_pkgs/libs/libsgx-uae-service/" target="_blank"&gt;https://download.01.org/intel-sgx/sgx-linux/2.8/distro/ubuntu16.04-server/debian_pkgs/libs/libsgx-uae-service/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Mar 2020 11:06:00 GMT</pubDate>
    <dc:creator>Dix__Isabella</dc:creator>
    <dc:date>2020-03-27T11:06:00Z</dc:date>
    <item>
      <title>Remote EPID-Attestation: LD_LIBRARY_PATH problems</title>
      <link>https://community.intel.com/t5/Intel-Confidential-Computing/Remote-EPID-Attestation-LD-LIBRARY-PATH-problems/m-p/1148672#M2503</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to run &lt;A href="https://github.com/intel/sgx-ra-sample"&gt;this example&lt;/A&gt; using my own dev EPID license (aquired &lt;A href="https://api.portal.trustedservices.intel.com/EPID-attestation"&gt;here&lt;/A&gt;). I followed the README but am uncertain as to how I should set LD_LIBRARY_PATH when running the client.&lt;/P&gt;&lt;P&gt;1) At first I did not set LD_LIBRARY_PATH at all and got the message "This system does not support Intel SGX."&lt;/P&gt;&lt;P&gt;2) Then I debugged a bit and found that the client tries to find the libraries "libsgx_uae_service.so" and "libsgx_urts.so" but cannot due to the unset&amp;nbsp;LD_LIBRARY_PATH. So I ran locate for both and received the following results&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;locate libsgx_urts.so&lt;BR /&gt;/opt/intel/sgxsdk/lib64/libsgx_urts.so&lt;BR /&gt;/usr/lib/x86_64-linux-gnu/libsgx_urts.so&lt;/LI&gt;&lt;LI&gt;locate libsgx_uae_service.so&lt;BR /&gt;/opt/intel/sgxsdk/lib64/libsgx_uae_service.so&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;So I set&amp;nbsp;LD_LIBRARY_PATH=/opt/intel/sgxsdk/lib64. But then I get the message "Please use the correct uRTS library from PSW package."&lt;/P&gt;&lt;P&gt;3) So I googled a bit and found &lt;A href="https://github.com/intel/linux-sgx/issues/47"&gt;this issue&lt;/A&gt; where a user says "Do not set LD_LIBRARY_PATH=/opt/intel/sgxsdk/lib64/&amp;nbsp;". But since "libsgx_uae_service.so" is only present in this folder I could not, but instead I set it to&amp;nbsp;LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/:/opt/intel/sgxsdk/lib64/ so the sample would at least find the uRTS at the correct point.&lt;BR /&gt;Basically this is working now, but the enclave always returns m1.gid=0 (not EGID, the gid which should not be 0 in HW mode, which I used to built it). I suspect that it has something to do with the fact that the LD_LIBRARY_PATH also contains the libraries for SGX_MODE=SIM but I do not know how to get around linking&amp;nbsp;/opt/intel/sgxsdk/lib64/&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you need any further information about installation/configuration/host or have any other ideas: Please go ahead, however I don't know how to get this example to work.&lt;/P&gt;&lt;P&gt;Grateful for any help,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Isabella&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2020 17:14:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Confidential-Computing/Remote-EPID-Attestation-LD-LIBRARY-PATH-problems/m-p/1148672#M2503</guid>
      <dc:creator>Dix__Isabella</dc:creator>
      <dc:date>2020-03-26T17:14:24Z</dc:date>
    </item>
    <item>
      <title>The libraries in the /opt</title>
      <link>https://community.intel.com/t5/Intel-Confidential-Computing/Remote-EPID-Attestation-LD-LIBRARY-PATH-problems/m-p/1148673#M2504</link>
      <description>&lt;P&gt;The libraries in the /opt/intel/sgxsdk/lib64 are used in compile time. If you want to execute your App, you need install PSW package: all of needed libraries has been installed in the folder /user/lib/x86_64-linux-gnu&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 01:26:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Confidential-Computing/Remote-EPID-Attestation-LD-LIBRARY-PATH-problems/m-p/1148673#M2504</guid>
      <dc:creator>Junli_S_Intel</dc:creator>
      <dc:date>2020-03-27T01:26:47Z</dc:date>
    </item>
    <item>
      <title>Hi Junli,</title>
      <link>https://community.intel.com/t5/Intel-Confidential-Computing/Remote-EPID-Attestation-LD-LIBRARY-PATH-problems/m-p/1148674#M2505</link>
      <description>&lt;P&gt;Hi Junli,&lt;/P&gt;&lt;P&gt;thanks for your answer!&lt;/P&gt;&lt;P&gt;Should I install that manually? I installed PSW according to the installation guide using&lt;/P&gt;&lt;P&gt;"sudo apt-get install libsgx-epid libsgx-urts"&lt;/P&gt;&lt;P&gt;I also tried installing&amp;nbsp;libsgx-epid-dev to no avail. By manually I mean installing it from here&lt;/P&gt;&lt;P&gt;&lt;A href="https://download.01.org/intel-sgx/sgx-linux/2.8/distro/ubuntu16.04-server/debian_pkgs/libs/libsgx-uae-service/" target="_blank"&gt;https://download.01.org/intel-sgx/sgx-linux/2.8/distro/ubuntu16.04-server/debian_pkgs/libs/libsgx-uae-service/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 11:06:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Confidential-Computing/Remote-EPID-Attestation-LD-LIBRARY-PATH-problems/m-p/1148674#M2505</guid>
      <dc:creator>Dix__Isabella</dc:creator>
      <dc:date>2020-03-27T11:06:00Z</dc:date>
    </item>
    <item>
      <title>Update: I directly installed</title>
      <link>https://community.intel.com/t5/Intel-Confidential-Computing/Remote-EPID-Attestation-LD-LIBRARY-PATH-problems/m-p/1148675#M2506</link>
      <description>&lt;P&gt;Update: I directly installed this package, it said unmet dependencies, so I decided to install with apt and dependecies and still after that I get&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; locate libsgx_uae_service.so&lt;BR /&gt;/opt/intel/sgxsdk/lib64/libsgx_uae_service.so&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&amp;gt; locate libsgx_uae_service&lt;BR /&gt;/opt/intel/sgxsdk/lib64/libsgx_uae_service.so&lt;BR /&gt;/opt/intel/sgxsdk/lib64/libsgx_uae_service_sim.so&lt;BR /&gt;/opt/intel/sgxsdk/pkgconfig/libsgx_uae_service.pc&lt;BR /&gt;/opt/intel/sgxsdk/pkgconfig/libsgx_uae_service_sim.pc&lt;BR /&gt;/opt/intel/sgxsdk/sdk_libs/libsgx_uae_service_sim.so&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it related to the fact, that I use the machine for development as well and SDK and the driver are installed on this machine?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 14:11:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Confidential-Computing/Remote-EPID-Attestation-LD-LIBRARY-PATH-problems/m-p/1148675#M2506</guid>
      <dc:creator>Dix__Isabella</dc:creator>
      <dc:date>2020-03-27T14:11:13Z</dc:date>
    </item>
    <item>
      <title>My bad. locate doesn't seem</title>
      <link>https://community.intel.com/t5/Intel-Confidential-Computing/Remote-EPID-Attestation-LD-LIBRARY-PATH-problems/m-p/1148676#M2507</link>
      <description>&lt;P&gt;My bad. locate doesn't seem to reliably find the files. After this installation they are now present in&amp;nbsp;/usr/lib/x86_64-linux-gnu and when I set that for LD_LIBRARY_PATH everything works fine.&lt;/P&gt;&lt;P&gt;This can be marked as resolved. Thanks Junli!&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 16:06:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Confidential-Computing/Remote-EPID-Attestation-LD-LIBRARY-PATH-problems/m-p/1148676#M2507</guid>
      <dc:creator>Dix__Isabella</dc:creator>
      <dc:date>2020-03-27T16:06:17Z</dc:date>
    </item>
    <item>
      <title>I am grad to see you have</title>
      <link>https://community.intel.com/t5/Intel-Confidential-Computing/Remote-EPID-Attestation-LD-LIBRARY-PATH-problems/m-p/1148677#M2508</link>
      <description>&lt;P&gt;I am grad to see you have resolved the issue. Enjoy your SGX trip. :)&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 16:34:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Confidential-Computing/Remote-EPID-Attestation-LD-LIBRARY-PATH-problems/m-p/1148677#M2508</guid>
      <dc:creator>Junli_S_Intel</dc:creator>
      <dc:date>2020-03-27T16:34:42Z</dc:date>
    </item>
  </channel>
</rss>

