www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Why need dep 32 bit library?!

reply Brian <zoujiaqing gmail.com> writes:
OH ... NO ...

I want install dmd to my fedora 26, but I get 64bit dmd's rpm 
package notic info:

[root fedora Downloads]# rpm -ivh dmd-2.074.0-0.fedora.x86_64.rpm
error: Failed dependencies:
	glibc-devel(x86-32) is needed by dmd-2.074.0-0.x86_64
	libcurl(x86-32) is needed by dmd-2.074.0-0.x86_64
	libgcc(x86-32) is needed by dmd-2.074.0-0.x86_64
[root fedora Downloads]# dnf install glibc-devel libcurl libgcc
Last metadata expiration check: 2:06:24 ago on Mon Apr 24 
17:30:50 2017 CST.
Package glibc-devel-2.25-4.fc26.x86_64 is already installed, 
skipping.
Package libcurl-7.53.1-6.fc26.x86_64 is already installed, 
skipping.
Package libgcc-7.0.1-0.12.fc26.x86_64 is already installed, 
skipping.
Dependencies resolved.
Nothing to do.
Complete!
Apr 24
next sibling parent Brian <zoujiaqing gmail.com> writes:
Install very large deps 32bit libs .........................

[root fedora Downloads]# dnf install glibc-devel.i686 
libcurl.i686 libgcc.i686
Last metadata expiration check: 2:16:19 ago on Mon Apr 24 
17:30:50 2017 CST.
Dependencies resolved.
================================================================================
  Package                Arch     Version              Repository  
          Size
================================================================================
Installing:
  glibc-devel            i686     2.25-4.fc26          fedora      
         964 k
  libcurl                i686     7.53.1-6.fc26        
updates-testing     288 k
  libgcc                 i686     7.0.1-0.12.fc26      
updates-testing      87 k
Installing dependencies:
  cyrus-sasl-lib         i686     2.1.26-32.fc26       
updates-testing     164 k
  glibc                  i686     2.25-4.fc26          fedora      
         4.1 M
  keyutils-libs          i686     1.5.10-1.fc26        
updates-testing      31 k
  krb5-libs              i686     1.15.1-7.fc26        
updates-testing     793 k
  libcom_err             i686     1.43.4-2.fc26        fedora      
          45 k
  libcrypt-nss           i686     2.25-4.fc26          fedora      
          51 k
  libdb                  i686     5.3.28-17.fc26       fedora      
         801 k
  libidn2                i686     2.0.0-1.fc26         
updates-testing      95 k
  libnghttp2             i686     1.21.1-1.fc26        
updates-testing      76 k
  libpsl                 i686     0.17.0-2.fc26        fedora      
          48 k
  libselinux             i686     2.6-5.fc26           
updates-testing     174 k
  libsepol               i686     2.6-1.fc26           fedora      
         308 k
  libssh2                i686     1.8.0-2.fc26         fedora      
         100 k
  libunistring           i686     0.9.7-1.fc26         fedora      
         416 k
  libverto               i686     0.2.6-7.fc26         fedora      
          21 k
  nspr                   i686     4.13.1-2.fc26        fedora      
         143 k
  nss                    i686     3.29.3-1.3.fc26      
updates-testing     895 k
  nss-pem                i686     1.0.3-3.fc26         
updates-testing      79 k
  nss-softokn            i686     3.29.5-1.0.fc26      
updates-testing     411 k
  nss-softokn-freebl     i686     3.29.5-1.0.fc26      
updates-testing     220 k
  nss-util               i686     3.29.5-1.0.fc26      
updates-testing      85 k
  openldap               i686     2.4.44-10.fc26       
updates-testing     362 k
  openssl-libs           i686     1:1.1.0e-1.fc26      fedora      
         1.2 M
  pcre                   i686     8.40-6.fc26          fedora      
         203 k
  sqlite-libs            i686     3.18.0-1.fc26        
updates-testing     490 k
  zlib                   i686     1.2.11-2.fc26        fedora      
         101 k

Transaction Summary
================================================================================
Install  29 Packages

Total download size: 13 M
Installed size: 34 M
Is this ok [y/N]: y
Downloading Packages:
(1/29): libcurl-7.53.1-6.fc26.i686.rpm          317 kB/s | 288 kB 
     00:00
(2/29): libcom_err-1.43.4-2.fc26.i686.rpm        48 kB/s |  45 kB 
     00:00
(3/29): libpsl-0.17.0-2.fc26.i686.rpm           140 kB/s |  48 kB 
     00:00
(4/29): libssh2-1.8.0-2.fc26.i686.rpm            43 kB/s | 100 kB 
     00:02
(5/29): glibc-devel-2.25-4.fc26.i686.rpm        202 kB/s | 964 kB 
     00:04
(6/29): nspr-4.13.1-2.fc26.i686.rpm             198 kB/s | 143 kB 
     00:00
(7/29): zlib-1.2.11-2.fc26.i686.rpm             128 kB/s | 101 kB 
     00:00
(8/29): libunistring-0.9.7-1.fc26.i686.rpm      184 kB/s | 416 kB 
     00:02
(9/29): libgcc-7.0.1-0.12.fc26.i686.rpm         161 kB/s |  87 kB 
     00:00
(10/29): libcrypt-nss-2.25-4.fc26.i686.rpm       54 kB/s |  51 kB 
     00:00
(11/29): libidn2-2.0.0-1.fc26.i686.rpm          135 kB/s |  95 kB 
     00:00
(12/29): nss-softokn-freebl-3.29.5-1.0.fc26.i68 139 kB/s | 220 kB 
     00:01
(13/29): openssl-libs-1.1.0e-1.fc26.i686.rpm    217 kB/s | 1.2 MB 
     00:05
(14/29): libverto-0.2.6-7.fc26.i686.rpm         162 kB/s |  21 kB 
     00:00
(15/29): libnghttp2-1.21.1-1.fc26.i686.rpm       93 kB/s |  76 kB 
     00:00
(16/29): krb5-libs-1.15.1-7.fc26.i686.rpm       285 kB/s | 793 kB 
     00:02
(17/29): nss-pem-1.0.3-3.fc26.i686.rpm           55 kB/s |  79 kB 
     00:01
(18/29): glibc-2.25-4.fc26.i686.rpm             260 kB/s | 4.1 MB 
     00:16
(19/29): nss-util-3.29.5-1.0.fc26.i686.rpm       82 kB/s |  85 kB 
     00:01
(20/29): keyutils-libs-1.5.10-1.fc26.i686.rpm    96 kB/s |  31 kB 
     00:00
(21/29): libselinux-2.6-5.fc26.i686.rpm          88 kB/s | 174 kB 
     00:01
(22/29): openldap-2.4.44-10.fc26.i686.rpm       126 kB/s | 362 kB 
     00:02
(23/29): libsepol-2.6-1.fc26.i686.rpm           248 kB/s | 308 kB 
     00:01
(24/29): pcre-8.40-6.fc26.i686.rpm              119 kB/s | 203 kB 
     00:01
(25/29): nss-3.29.3-1.3.fc26.i686.rpm           101 kB/s | 895 kB 
     00:08
(26/29): cyrus-sasl-lib-2.1.26-32.fc26.i686.rpm 157 kB/s | 164 kB 
     00:01
(27/29): libdb-5.3.28-17.fc26.i686.rpm          236 kB/s | 801 kB 
     00:03
(28/29): nss-softokn-3.29.5-1.0.fc26.i686.rpm   134 kB/s | 411 kB 
     00:03
(29/29): sqlite-libs-3.18.0-1.fc26.i686.rpm     144 kB/s | 490 kB 
     00:03
--------------------------------------------------------------------------------
Total                                           487 kB/s |  13 MB 
     00:26
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
   Preparing        :                                              
           1/1
   Running scriptlet: glibc-2.25-4.fc26.i686                       
          1/29
   Installing       : glibc-2.25-4.fc26.i686                       
          1/29
   Running scriptlet: glibc-2.25-4.fc26.i686                       
          1/29
   Installing       : nspr-4.13.1-2.fc26.i686                      
          2/29
   Running scriptlet: nspr-4.13.1-2.fc26.i686                      
          2/29
   Installing       : nss-util-3.29.5-1.0.fc26.i686                
          3/29
   Running scriptlet: nss-util-3.29.5-1.0.fc26.i686                
          3/29
   Installing       : zlib-1.2.11-2.fc26.i686                      
          4/29
   Running scriptlet: zlib-1.2.11-2.fc26.i686                      
          4/29
   Installing       : libcom_err-1.43.4-2.fc26.i686                
          5/29
   Running scriptlet: libcom_err-1.43.4-2.fc26.i686                
          5/29
   Installing       : openssl-libs-1:1.1.0e-1.fc26.i686            
          6/29
   Running scriptlet: openssl-libs-1:1.1.0e-1.fc26.i686            
          6/29
   Installing       : libunistring-0.9.7-1.fc26.i686               
          7/29
   Running scriptlet: libunistring-0.9.7-1.fc26.i686               
          7/29
   Installing       : libidn2-2.0.0-1.fc26.i686                    
          8/29
   Running scriptlet: libidn2-2.0.0-1.fc26.i686                    
          8/29
   Installing       : nss-softokn-freebl-3.29.5-1.0.fc26.i686      
          9/29
   Installing       : libcrypt-nss-2.25-4.fc26.i686                
         10/29
   Running scriptlet: libcrypt-nss-2.25-4.fc26.i686                
         10/29
   Installing       : libpsl-0.17.0-2.fc26.i686                    
         11/29
   Running scriptlet: libpsl-0.17.0-2.fc26.i686                    
         11/29
   Installing       : libssh2-1.8.0-2.fc26.i686                    
         12/29
   Running scriptlet: libssh2-1.8.0-2.fc26.i686                    
         12/29
   Installing       : libverto-0.2.6-7.fc26.i686                   
         13/29
   Running scriptlet: libverto-0.2.6-7.fc26.i686                   
         13/29
   Installing       : libnghttp2-1.21.1-1.fc26.i686                
         14/29
   Running scriptlet: libnghttp2-1.21.1-1.fc26.i686                
         14/29
   Installing       : keyutils-libs-1.5.10-1.fc26.i686             
         15/29
   Running scriptlet: keyutils-libs-1.5.10-1.fc26.i686             
         15/29
   Installing       : pcre-8.40-6.fc26.i686                        
         16/29
   Running scriptlet: pcre-8.40-6.fc26.i686                        
         16/29
   Installing       : libsepol-2.6-1.fc26.i686                     
         17/29
   Running scriptlet: libsepol-2.6-1.fc26.i686                     
         17/29
   Installing       : libselinux-2.6-5.fc26.i686                   
         18/29
   Running scriptlet: libselinux-2.6-5.fc26.i686                   
         18/29
   Installing       : krb5-libs-1.15.1-7.fc26.i686                 
         19/29
   Running scriptlet: krb5-libs-1.15.1-7.fc26.i686                 
         19/29
   Installing       : libdb-5.3.28-17.fc26.i686                    
         20/29
   Running scriptlet: libdb-5.3.28-17.fc26.i686                    
         20/29
   Installing       : cyrus-sasl-lib-2.1.26-32.fc26.i686           
         21/29
   Running scriptlet: cyrus-sasl-lib-2.1.26-32.fc26.i686           
         21/29
   Installing       : sqlite-libs-3.18.0-1.fc26.i686               
         22/29
   Running scriptlet: sqlite-libs-3.18.0-1.fc26.i686               
         22/29
   Installing       : nss-softokn-3.29.5-1.0.fc26.i686             
         23/29
   Running scriptlet: nss-softokn-3.29.5-1.0.fc26.i686             
         23/29
   Installing       : nss-pem-1.0.3-3.fc26.i686                    
         24/29
   Installing       : nss-3.29.3-1.3.fc26.i686                     
         25/29
   Running scriptlet: nss-3.29.3-1.3.fc26.i686                     
         25/29
   Installing       : openldap-2.4.44-10.fc26.i686                 
         26/29
   Running scriptlet: openldap-2.4.44-10.fc26.i686                 
         26/29
   Installing       : libgcc-7.0.1-0.12.fc26.i686                  
         27/29
   Running scriptlet: libgcc-7.0.1-0.12.fc26.i686                  
         27/29
   Installing       : glibc-devel-2.25-4.fc26.i686                 
         28/29
   Running scriptlet: glibc-devel-2.25-4.fc26.i686                 
         28/29
   Installing       : libcurl-7.53.1-6.fc26.i686                   
         29/29
   Running scriptlet: libcurl-7.53.1-6.fc26.i686                   
         29/29
   Verifying        : glibc-devel-2.25-4.fc26.i686                 
          1/29
   Verifying        : glibc-2.25-4.fc26.i686                       
          2/29
   Verifying        : libcurl-7.53.1-6.fc26.i686                   
          3/29
   Verifying        : libcom_err-1.43.4-2.fc26.i686                
          4/29
   Verifying        : libpsl-0.17.0-2.fc26.i686                    
          5/29
   Verifying        : libssh2-1.8.0-2.fc26.i686                    
          6/29
   Verifying        : nspr-4.13.1-2.fc26.i686                      
          7/29
   Verifying        : zlib-1.2.11-2.fc26.i686                      
          8/29
   Verifying        : libunistring-0.9.7-1.fc26.i686               
          9/29
   Verifying        : openssl-libs-1:1.1.0e-1.fc26.i686            
         10/29
   Verifying        : libgcc-7.0.1-0.12.fc26.i686                  
         11/29
   Verifying        : libcrypt-nss-2.25-4.fc26.i686                
         12/29
   Verifying        : libidn2-2.0.0-1.fc26.i686                    
         13/29
   Verifying        : nss-softokn-freebl-3.29.5-1.0.fc26.i686      
         14/29
   Verifying        : krb5-libs-1.15.1-7.fc26.i686                 
         15/29
   Verifying        : libverto-0.2.6-7.fc26.i686                   
         16/29
   Verifying        : libnghttp2-1.21.1-1.fc26.i686                
         17/29
   Verifying        : nss-3.29.3-1.3.fc26.i686                     
         18/29
   Verifying        : nss-pem-1.0.3-3.fc26.i686                    
         19/29
   Verifying        : nss-util-3.29.5-1.0.fc26.i686                
         20/29
   Verifying        : openldap-2.4.44-10.fc26.i686                 
         21/29
   Verifying        : keyutils-libs-1.5.10-1.fc26.i686             
         22/29
   Verifying        : libselinux-2.6-5.fc26.i686                   
         23/29
   Verifying        : pcre-8.40-6.fc26.i686                        
         24/29
   Verifying        : libsepol-2.6-1.fc26.i686                     
         25/29
   Verifying        : cyrus-sasl-lib-2.1.26-32.fc26.i686           
         26/29
   Verifying        : libdb-5.3.28-17.fc26.i686                    
         27/29
   Verifying        : nss-softokn-3.29.5-1.0.fc26.i686             
         28/29
   Verifying        : sqlite-libs-3.18.0-1.fc26.i686               
         29/29

Installed:
   glibc-devel.i686 2.25-4.fc26              libcurl.i686 
7.53.1-6.fc26
   libgcc.i686 7.0.1-0.12.fc26               cyrus-sasl-lib.i686 
2.1.26-32.fc26
   glibc.i686 2.25-4.fc26                    keyutils-libs.i686 
1.5.10-1.fc26
   krb5-libs.i686 1.15.1-7.fc26              libcom_err.i686 
1.43.4-2.fc26
   libcrypt-nss.i686 2.25-4.fc26             libdb.i686 
5.3.28-17.fc26
   libidn2.i686 2.0.0-1.fc26                 libnghttp2.i686 
1.21.1-1.fc26
   libpsl.i686 0.17.0-2.fc26                 libselinux.i686 
2.6-5.fc26
   libsepol.i686 2.6-1.fc26                  libssh2.i686 
1.8.0-2.fc26
   libunistring.i686 0.9.7-1.fc26            libverto.i686 
0.2.6-7.fc26
   nspr.i686 4.13.1-2.fc26                   nss.i686 
3.29.3-1.3.fc26
   nss-pem.i686 1.0.3-3.fc26                 nss-softokn.i686 
3.29.5-1.0.fc26
   nss-softokn-freebl.i686 3.29.5-1.0.fc26   nss-util.i686 
3.29.5-1.0.fc26
   openldap.i686 2.4.44-10.fc26              openssl-libs.i686 
1:1.1.0e-1.fc26
   pcre.i686 8.40-6.fc26                     sqlite-libs.i686 
3.18.0-1.fc26
   zlib.i686 1.2.11-2.fc26

Complete!

[root fedora Downloads]# dnf search dmd
Last metadata expiration check: 2:22:17 ago on Mon Apr 24 
17:30:50 2017 CST.
=============================== N/S Matched: dmd 
===============================
perl-Crypt-PasswdMD5.noarch : Provides interoperable MD5-based 
crypt() functions
fence-sanlock.x86_64 : Fence agent using sanlock and wdmd
[root fedora Downloads]# ^C
[root fedora Downloads]# rpm -ivh dmd-2.074.0-0.fedora.x86_64.rpm
Preparing...                          
################################# [100%]
Updating / installing...
    1:dmd-2.074.0-0                    
################################# [100%]
Apr 24
prev sibling parent reply Basile B. <b2.temp gmx.com> writes:
On Monday, 24 April 2017 at 11:40:04 UTC, Brian wrote:
 OH ... NO ...

 I want install dmd to my fedora 26, but I get 64bit dmd's rpm 
 package notic info:

 [root fedora Downloads]# rpm -ivh 
 dmd-2.074.0-0.fedora.x86_64.rpm
 error: Failed dependencies:
 	glibc-devel(x86-32) is needed by dmd-2.074.0-0.x86_64
 	libcurl(x86-32) is needed by dmd-2.074.0-0.x86_64
 	libgcc(x86-32) is needed by dmd-2.074.0-0.x86_64
 [root fedora Downloads]# dnf install glibc-devel libcurl libgcc
 Last metadata expiration check: 2:06:24 ago on Mon Apr 24 
 17:30:50 2017 CST.
 Package glibc-devel-2.25-4.fc26.x86_64 is already installed, 
 skipping.
 Package libcurl-7.53.1-6.fc26.x86_64 is already installed, 
 skipping.
 Package libgcc-7.0.1-0.12.fc26.x86_64 is already installed, 
 skipping.
 Dependencies resolved.
 Nothing to do.
 Complete!
Does DMD works with -ivh --force ?
Apr 24
parent Basile B. <b2.temp gmx.com> writes:
On Monday, 24 April 2017 at 12:13:41 UTC, Basile B. wrote:
 On Monday, 24 April 2017 at 11:40:04 UTC, Brian wrote:
 [...]
Does DMD works with -ivh --force ?
Sorry I meant: if you install with these options.
Apr 24