-
Notifications
You must be signed in to change notification settings - Fork 0
/
curl_install-8.11.0.html
80 lines (80 loc) · 3.1 KB
/
curl_install-8.11.0.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<h1>Instructions for use of curl versions 8.11.0 and above with OpenSSL 3.0+</h1>
<p>Use the OSS command<br/>
<code>tar xzf curl-<i>package</i>.tar.gz -C / -p --no-same-owner</code><br/>
to install curl. Make sure to have the directory containing the OpenSSL 3.0.x
version of OpenSSL in your _RLD_LIB_PATH variable when curl is used. Typically,
this is <code>/usr/local-ssl3.0/lib</code> for 32-bit curl and
<code>/usr/local-ssl3.0/lib64</code> for 64-bit curl.</p>
<p>You can build curl with other versions of OpenSSL. Make sure to change the
various settings appropriately to reference the library area of OpenSSL.</p>
<p>
If you are building 64-bit curl yourself, you will need to copy and modify
<code>/usr/local/bin/cc</code> to include the following changes and use the <code>-no-floss</code> CFLAG:</p>
<pre>
diff --git a/usr/local/bin/cc b/cc
index 9213bc4..06561e0 100755
--- a/usr/local/bin/cc
+++ b/cc
@@ -308,6 +308,13 @@ function validate_cc_symbols
# processing the commandline options/arguments
while [ -n "$1" ]
do
+ if [ "$1" = "-no-floss" ]
+ then
+ post_args="-I$FLOSS_BASE/include -L$FLOSS_BASE/lib"
+ shift
+ continue
+ fi
+
if [ "$1" = "-pth" ]
then
if [ "$spthread" = "y" -o "$pthread" = "y" -o "$put" = "y" ]
</pre>
<p>
Due to new features added in the latest OSS System Libraries, binaries built
with those will may not function correctly on older RVUs. The following table
lists the minimum RVU for each platform that can correctly run curl
version 8.11.0, and above:</p>
<table>
<tr>
<td><b>Platform</b></td>
<td><b>Minimum RVU</b></td>
</tr>
<td>TNS/E</td>
<td>J06.23</td>
<tr>
<td>TNS/X</td>
<td>L22.09</td>
</tr>
<tr>
<td>TNS/V</td>
<td>L22.09</td>
</tr>
</table>
<h2>Build Recipe</h2>
<p>As of 8.11.0, curl requires the libpsl package. Please download and install it
from ITUGLIB prior to attempting to build curl.</p>
<p>To build curl 32-bit from source, download the tarball for curl, and unzip it to
a directory in OSS. The current build instructions used by ITUGLIB are:</p>
<pre>
tar xzf curl-8.11.0.tar.gz
cd curl-8.11.0
CFLAGS="-c99" CPPFLAGS="-D_XOPEN_SOURCE_EXTENDED=1 -D__NSK_OPTIONAL_TYPES__ -WIEEE_float -I/usr/local-ssl3.0/openssl/include" \
LDFLAGS="/usr/coreutils/lib/libz.a -L/usr/local-ssl3.0/lib -L/usr/coreutils/lib -L/usr/local/lib" \
conf_script_floss_cc --with-ssl=/usr/local-ssl3.0 \
--prefix=/usr/local-ssl3.0 \
--disable-pthreads --disable-threaded-resolver --enable-ipv6
make
</pre>
<p>To build curl 64-bit from source, download the tarball for curl, and unzip it to
a directory in OSS. The current build instructions used by ITUGLIB are:</p>
<pre>
tar xzf curl-8.11.0.tar.gz
cd curl-8.11.0
CFLAGS="-c99" CPPFLAGS="-Wlp64 -D_XOPEN_SOURCE_EXTENDED=1 -D__NSK_OPTIONAL_TYPES__ -WIEEE_float -I/usr/local-ssl3.0/openssl/include" \
LDFLAGS="/usr/coreutils/lib/libz.a -L/usr/local-ssl3.0/lib64 -L/usr/coreutils/lib -L/usr/local/lib" \
conf_script_floss_cc --with-ssl=/usr/local-ssl3.0 \
--prefix=/usr/local-ssl3.0 \
--disable-pthreads --disable-threaded-resolver --enable-ipv6
make
</pre>