User Tools

Site Tools


informatica:hp_xw4300_500_topspin13_au_compilation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
informatica:hp_xw4300_500_topspin13_au_compilation [2015/09/29 13:47]
miquel [Nova compilació dels programes AU]
informatica:hp_xw4300_500_topspin13_au_compilation [2020/07/09 12:02] (current)
miquel
Line 507: Line 507:
 </file> </file>
  
-<note important>+<WRAP important>
 Ara que els programes AU s'han compilat correctament, el problema és que quan els executo, tots donen el següent missatge d'error: Ara que els programes AU s'han compilat correctament, el problema és que quan els executo, tots donen el següent missatge d'error:
  
Line 516: Line 516:
  
 potser pels motius explicats [[http://superuser.com/questions/908377/ldd-with-32-bit-binaries-on-64-bit-system-runs-but-wont-report | aquí]]: //ldd with 32-bit binaries on 64-bit system - runs but won't report//. potser pels motius explicats [[http://superuser.com/questions/908377/ldd-with-32-bit-binaries-on-64-bit-system-runs-but-wont-report | aquí]]: //ldd with 32-bit binaries on 64-bit system - runs but won't report//.
-</note>+</WRAP>
  
 ===== Canvi de /lib32 a /lib/i386-linux-gnu? ===== ===== Canvi de /lib32 a /lib/i386-linux-gnu? =====
Line 565: Line 565:
 </file> </file>
  
 +===== Canvi de /lib32 a /lib/i386-linux-gnu =====
 +
 +Provo a canviar a multiarch amb la instal·lació de paquets de l'arquitectura //i386//. Això hauria de comportar l'eliminació de les biblioteques a ///lib32// i ///usr/lib32// entre altres.
 +
 +Instal·lo //libxmu-dev//
 +
 +<file>
 +n# apt-get -s install libxmu-dev
 +Reading package lists... Done
 +Building dependency tree       
 +Reading state information... Done
 +The following extra packages will be installed:
 +  libice-dev libpthread-stubs0 libpthread-stubs0-dev libsm-dev libx11-dev libx11-doc libxau-dev libxcb1-dev libxdmcp-dev libxext-dev libxmu-headers libxt-dev x11proto-core-dev
 +  x11proto-input-dev x11proto-kb-dev x11proto-xext-dev xorg-sgml-doctools xtrans-dev
 +Suggested packages:
 +  libice-doc libsm-doc libxcb-doc libxext-doc libxt-doc
 +The following NEW packages will be installed:
 +  libice-dev libpthread-stubs0 libpthread-stubs0-dev libsm-dev libx11-dev libx11-doc libxau-dev libxcb1-dev libxdmcp-dev libxext-dev libxmu-dev libxmu-headers libxt-dev
 +  x11proto-core-dev x11proto-input-dev x11proto-kb-dev x11proto-xext-dev xorg-sgml-doctools xtrans-dev
 +0 upgraded, 19 newly installed, 0 to remove and 0 not upgraded.
 +</file>
 +
 +i //libxmu-dev:i386//
 +
 +<file>
 +# apt-get -s install libxmu-dev:i386
 +Reading package lists... Done
 +Building dependency tree       
 +Reading state information... Done
 +The following extra packages will be installed:
 +  libice-dev:i386 libpthread-stubs0:i386 libpthread-stubs0-dev:i386 libsm-dev:i386 libx11-dev:i386 libxau-dev:i386 libxcb1-dev:i386 libxdmcp-dev:i386 libxext-dev:i386
 +  libxt-dev:i386
 +Suggested packages:
 +  libice-doc:i386 libsm-doc:i386 libxcb-doc:i386 libxext-doc:i386 libxt-doc:i386
 +The following NEW packages will be installed:
 +  libice-dev:i386 libpthread-stubs0:i386 libpthread-stubs0-dev:i386 libsm-dev:i386 libx11-dev:i386 libxau-dev:i386 libxcb1-dev:i386 libxdmcp-dev:i386 libxext-dev:i386
 +  libxmu-dev:i386 libxt-dev:i386
 +0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
 +</file>
 +
 +Miro de substituir els paquets instal·lats que contenen //lib32// al nom,
 +  * lib32gcc1 - GCC support library (32 bit Version)
 +  * lib32gomp1 - GCC OpenMP (GOMP) support library (32bit)
 +  * lib32itm1 - GNU Transactional Memory Library (32bit)
 +  * lib32quadmath0 - GCC Quad-Precision Math Library (32bit)
 +
 +==== lib32gcc1 i lib32itm1 ====
 +
 +L'eliminació del paquet //lib32gcc1// comporta l'eliminació de:
 +   * gcc-4.7-multilib
 +   * gcc-multilib
 +   * lib32gcc1
 +   * lib32itm1
 +
 +però l'eliminació de //lib32itm1// també comporta l'eliminació de //gcc-4.7-multilib// i //gcc-multilib//. Així doncs, tiro endavant,
 +
 +<file>
 +# apt-get remove lib32gcc1
 +Reading package lists... Done
 +Building dependency tree       
 +Reading state information... Done
 +The following packages will be REMOVED:
 +  gcc-4.7-multilib gcc-multilib lib32gcc1 lib32itm1
 +0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
 +:
 +Removing gcc-multilib [4:4.7.2-1]
 +Removing gcc-4.7-multilib [4.7.2-5]
 +Removing lib32itm1 [4.7.2-5]
 +Removing lib32gcc1 [1:4.7.2-5]
 +</file>
 +
 +==== lib32gomp1 i lib32quadmath0 ====
 +
 +L'eliminació del paquet //lib32gomp1// fa que el paquet //lib32quadmath0// ja no sigui necessari i que també es pugui eliminar. Així doncs, elimino //lib32gomp1//
 +
 +<file>
 +# apt-get remove lib32gomp1
 +Reading package lists... Done
 +Building dependency tree       
 +Reading state information... Done
 +The following package was automatically installed and is no longer required:
 +  lib32quadmath0
 +Use 'apt-get autoremove' to remove it.
 +The following packages will be REMOVED:
 +  lib32gomp1
 +0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
 +Removing lib32gomp1 [4.7.2-5]
 +</file>
 +
 +i //lib32quadmath0//
 +
 +<file>
 +# apt-get remove lib32quadmath0
 +Reading package lists... Done
 +Building dependency tree       
 +Reading state information... Done
 +The following packages will be REMOVED:
 +  lib32quadmath0
 +0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
 +Removing lib32quadmath0 [4.7.2-5]
 +</file>
 +
 +==== Migració de /lib32 a /lib/i386-linux-gnu ====
 +
 +Miro de substituir les biblioteques instal·lades a la carpeta ///lib32// per les seves equivalents a instal·lar dins la carpeta ///lib/i386-linux-gnu//.
 +
 +<file>
 +# ls /lib32
 +ld-2.13.so               libc-2.13.so      libdl-2.13.so   libnsl.so.1            libnss_files.so.2       libnss_nis.so.2     librt-2.13.so        libutil.so.1
 +ld-linux.so.2            libcidn-2.13.so   libdl.so.2      libnss_compat-2.13.so  libnss_hesiod-2.13.so   libpcprofile.so     librt.so.1
 +libanl-2.13.so           libcidn.so.1      libm-2.13.so    libnss_compat.so.2     libnss_hesiod.so.2      libpthread-2.13.so  libSegFault.so
 +libanl.so.1              libcrypt-2.13.so  libmemusage.so  libnss_dns-2.13.so     libnss_nis-2.13.so      libpthread.so.0     libthread_db-1.0.so
 +libBrokenLocale-2.13.so  libcrypt.so.1     libm.so.6       libnss_dns.so.2        libnss_nisplus-2.13.so  libresolv-2.13.so   libthread_db.so.1
 +libBrokenLocale.so.1     libc.so.6         libnsl-2.13.so  libnss_files-2.13.so   libnss_nisplus.so.2     libresolv.so.2      libutil-2.13.so
 +</file>
 +
 +=== libc6-i386 ===
 +
 +Vull eliminar //libc6-i386// perquè el paquet equivalent //libc6:i386// ja està instal·lat, però quan provo de fer-ho em surt el missatge "The following packages will be REMOVED: libc6-dev-i386 libc6-i386" i això comportaria substituir //libc6-dev-i386// per //libc6-dev-i386//, però la instal·lació de //libc6-dev:i386// comportaria alhora canvis addicionals,
 +
 +<file>
 +# apt-get -s install libc6:i386 libc6-dev:i386
 +Reading package lists... Done
 +Building dependency tree       
 +Reading state information... Done
 +libc6:i386 is already the newest version.
 +libc6:i386 set to manually installed.
 +Suggested packages:
 +  glibc-doc:i386 manpages-dev:i386
 +Recommended packages:
 +  gcc:i386 c-compiler:i386
 +The following packages will be REMOVED:
 +  binutils flashplugin-nonfree gcc gcc-4.7
 +The following NEW packages will be installed:
 +  libc6-dev:i386 linux-libc-dev:i386
 +0 upgraded, 2 newly installed, 4 to remove and 0 not upgraded.
 +Remv flashplugin-nonfree [1:3.2+wheezy1]
 +Remv gcc [4:4.7.2-1]
 +Remv gcc-4.7 [4.7.2-5]
 +Remv binutils [2.22-8+deb7u2]
 +Inst linux-libc-dev:i386 (3.2.68-1+deb7u4 Debian-Security:7.0/oldstable [i386])
 +Inst libc6-dev:i386 (2.13-38+deb7u8 Debian-Security:7.0/oldstable, Debian:7.9/oldstable [i386])
 +Conf linux-libc-dev:i386 (3.2.68-1+deb7u4 Debian-Security:7.0/oldstable [i386])
 +Conf libc6-dev:i386 (2.13-38+deb7u8 Debian-Security:7.0/oldstable, Debian:7.9/oldstable [i386])
 +</file>
 +
 +que van més enllà del que considero raonable.
 +
 +Així doncs,
 +  * per ara elimino els paquets //libc6-i386// i //libc6-dev-i386//, i
 +  * no instal·lo el paquet //libc6-devel:i386//.
 + 
 +Com que s'ha instal·lat el paquet //libc6:i386//, confio en que moltes de les biblioteques estaran disponibles a la nova ubicació ///lib/i386-linux-gnu//.
 +
 +<file>
 +# apt-get remove libc6-dev-i386
 +Reading package lists... Done
 +Building dependency tree       
 +Reading state information... Done
 +The following package was automatically installed and is no longer required:
 +  libc6-i386
 +Use 'apt-get autoremove' to remove it.
 +The following packages will be REMOVED:
 +  libc6-dev-i386
 +0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
 +After this operation, 5,473 kB disk space will be freed.
 +Do you want to continue [Y/n]? 
 +(Reading database ... 136418 files and directories currently installed.)
 +Removing libc6-dev-i386 ...
 +
 +# apt-get autoremove
 +Reading package lists... Done
 +Building dependency tree       
 +Reading state information... Done
 +The following packages will be REMOVED:
 +  libc6-i386
 +0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
 +After this operation, 9,239 kB disk space will be freed.
 +Do you want to continue [Y/n]? 
 +(Reading database ... 136282 files and directories currently installed.)
 +Removing libc6-i386 ...
 +</file>
  
informatica/hp_xw4300_500_topspin13_au_compilation.1443527267.txt.gz · Last modified: 2015/09/29 13:47 by miquel