home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux      Getting to be as bloated as Windows!      107,822 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 107,182 of 107,822   
   Theo to Java Jive   
   Re: Trouble running Entware gcc & make o   
   20 Apr 25 10:08:50   
   
   XPost: uk.comp.os.linux   
   From: theom+news@chiark.greenend.org.uk   
      
   In uk.comp.os.linux Java Jive  wrote:   
   > [USER@NASNAME ~]# gcc --version   
   > -sh: /share/CACHEDEV1_DATA/.qpkg/Entware/bin/gcc: No such file or directory   
   >   
   > [USER@NASNAME ~]# make --version   
   > -sh: /share/CACHEDEV1_DATA/.qpkg/Entware/bin/make: No such file or directory   
   >   
   > Note that the directory listing and the uname output show that the   
   > hardware objective coding of the development utilities is correct for   
   > the hardware, and I can't think of any other reason why the utilities   
   > won't run.  Any ideas anyone?   
      
   As Richard says, 'no such file or directory' when running a binary usually   
   means either the binary format is not supported (eg trying to run Arm   
   binaries on x86), or some shared library is missing which means the dynamic   
   linker is not able to start the program.   
      
   Try 'ldd /share/CACHEDEV1_DATA/.qpkg/Entware/bin/gcc'.  It should show you   
   the dynamic libraries that it is asking for.  eg:   
      
   $ ldd /bin/true   
           linux-vdso.so.1 (0x00007ffcad29c000)   
           libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x000070e2c2000000)   
           /lib64/ld-linux-x86-64.so.2 (0x000070e2c2269000)   
      
   If you get 'not found' that it shows which shared libraries it couldn't   
   find.  eg:   
      
           libQt5PrintSupport.so.5 => /lib/x86_64-linux-gnu/libQt5P   
   intSupport.so.5 (0x00007cd1707d7000)   
           libtcl8.6.so => /lib/x86_64-linux-gnu/libtcl8.6.so (0x00007cd16f050000)   
           libedit.so.0 => not found   
           libicudata.so.69 => not found   
           libicuuc.so.69 => not found   
           liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007cd170eb6000)   
           libfmt.so.7 => not found   
           libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x00007cd170708000)   
           libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 (0x00007cd170e98000)   
           librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007cd170e93000)   
           libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0   
   (0x00007cd170e8e000)   
           libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007cd170703000)   
           libtcmalloc.so.9.9.5 => not found   
           libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (   
   x00007cd16ee00000)   
      
   Note that if this is compiled for a different distro (eg Ubuntu) it's   
   possible it's built for shared libraries with different versions/options   
   than you have on your system.  To get it to run you may have to copy the   
   shared libraries from Ubuntu and add that directory to your LD_LIBRARY_PATH   
   so the dynamic linker finds them in advance of the system libraries.   
      
   Theo   
      
   --- SoupGate-DOS v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca