Skip to content

Commit a3634d6

Browse files
authored
Updated library directory for the binary installer
Using /opt/arrayfire/lib64 instead of /opt/arrayfire/lib for the ldconfig step.
1 parent 51cbf18 commit a3634d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/installing.htm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ <h2><a class="anchor" id="Windows"></a> Windows</h2>
103103
<p>For more information on using ArrayFire on Windows, visit the following <a href="http://arrayfire.org/docs/using_on_windows.htm">page</a>.</p>
104104
<h2><a class="anchor" id="Linux"></a> Linux</h2>
105105
<p>Once you have downloaded the ArrayFire installer, execute the installer from the terminal as shown below. Set the <code>--prefix</code> argument to the directory you would like to install ArrayFire to - we recommend <code>/opt</code>. </p><pre class="fragment">./Arrayfire_*_Linux_x86_64.sh --include-subdir --prefix=/opt
106-
</pre><p>Given sudo permissions, you can add the ArrayFire libraries via <code>ldconfig</code> like so: </p><pre class="fragment">echo /opt/arrayfire/lib &gt; /etc/ld.so.conf.d/arrayfire.conf
106+
</pre><p>Given sudo permissions, you can add the ArrayFire libraries via <code>ldconfig</code> like so: </p><pre class="fragment">echo /opt/arrayfire/lib64 &gt; /etc/ld.so.conf.d/arrayfire.conf
107107
sudo ldconfig
108108
</pre><p>Otherwise, you will need to set the <code>LD_LIBRARY_PATH</code> environment variable in order to let your shared library loader find the ArrayFire libraries.</p>
109109
<p>For more information on using ArrayFire on Linux, visit the following <a href="http://arrayfire.org/docs/using_on_linux.htm">page</a>.</p>

0 commit comments

Comments
 (0)