Is there a command on Linux that we can run on a compiled shared object (.so) in / usr / lib and know if it is compiled for a 64-bit or 32-bit system? (I mean the ELF class, for example ELFCLASS32)
You can use the command file. For instance:.
file
[myuser@mycomputer]$ file /usr/lib/libcurl.so.4.1.1 /usr/lib/libcurl.so.4.1.1: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
Source: https://habr.com/ru/post/1543609/More articles:JavaScript array - NaN? AngularJS ngModel - javascriptmethod not allowed error in bulb - pythonEnable pullup GPIO - linuxRunning Falcon APP with uwsgi - pythonDynamic loading without external "C" - c ++Check readonly components anyway on submit form - validationNULL identifier generated using @GeneratedValue on a composite key using @EmbeddedId - spring-dataPIL / Pillow inverts seemingly arbitrary transparency - pythonHide / Show fragment without fragmentation - androidRabbitMQ control plugin (3.2.x) creates a Javascript error (TypeError or undefined) - rabbitmqAll Articles