Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.linux > #81444

Re: Trouble running Entware gcc & make on QNAP NAS - SOLVED

From vallor <vallor@cultnix.org>
Newsgroups alt.os.linux, uk.comp.os.linux
Subject Re: Trouble running Entware gcc & make on QNAP NAS - SOLVED
Date 2025-04-25 11:44 +0000
Message-ID <m71asjFhb0lU1@mid.individual.net> (permalink)
References <vu1f6l$2j91o$1@dont-email.me> <vucm5c$10n5v$1@dont-email.me> <wwvecxic8lm.fsf@LkoBDZeT.terraraq.uk> <vuecb8$2fgbi$3@dont-email.me> <sr6sdl-8gp02.ln1@spock.lan>

Cross-posted to 2 groups.

Show all headers | View raw


On Fri, 25 Apr 2025 13:05:00 +0200, dillinger <dillinger@invalid.not>
wrote in <sr6sdl-8gp02.ln1@spock.lan>:

> On 4/25/25 00:01, Lawrence D'Oliveiro wrote:
>> On Thu, 24 Apr 2025 08:38:29 +0100, Richard Kettlewell wrote:
>> 
>>> Java Jive <java@evij.com.invalid> writes:
>>>>
>>>> 	/opt/lib/ld-linux-x86-64.so.2
>>>
>>> That’s the runtime linker, not a library.
>> 
>> It’s in a library directory, it has the name extension of a shared
>> library, and furthermore, “nm -D” reports it defines symbols like a
>> library:
>> 
>>     ldo@theon:~> nm -D /lib64/ld-linux-x86-64.so.2 0000000000011ad0 T
>>     _dl_allocate_tls@@GLIBC_PRIVATE 00000000000118b0 T
>>     _dl_allocate_tls_init@@GLIBC_PRIVATE 0000000000035a58 D
>>     _dl_argv@@GLIBC_PRIVATE 0000000000017950 T
>>     _dl_audit_preinit@@GLIBC_PRIVATE 00000000000179d0 T
>>     _dl_audit_symbind_alt@@GLIBC_PRIVATE 0000000000002320 T
>>     _dl_catch_exception@@GLIBC_PRIVATE 0000000000011b10 T
>>     _dl_deallocate_tls@@GLIBC_PRIVATE 0000000000003440 T
>>     _dl_debug_state@@GLIBC_PRIVATE 0000000000004660 T
>>     _dl_exception_create@@GLIBC_PRIVATE 0000000000004730 T
>>     _dl_exception_create_format@@GLIBC_PRIVATE 0000000000004bb0 T
>>     _dl_exception_free@@GLIBC_PRIVATE 000000000000d6a0 T
>>     _dl_fatal_printf@@GLIBC_PRIVATE 000000000000bc50 T
>>     _dl_find_dso_for_object@@GLIBC_PRIVATE 00000000000117b0 T
>>     _dl_get_tls_static_info@@GLIBC_PRIVATE 000000000001ad90 T
>>     _dl_mcount@@GLIBC_2.2.5 00000000000090a0 T
>>     _dl_rtld_di_serinfo@@GLIBC_PRIVATE 0000000000002120 T
>>     _dl_signal_error@@GLIBC_PRIVATE 00000000000020c0 T
>>     _dl_signal_exception@@GLIBC_PRIVATE 0000000000017650 T
>>     _dl_x86_get_cpu_features@@GLIBC_PRIVATE 0000000000000000 A
>>     GLIBC_2.2.5 0000000000000000 A GLIBC_2.3 0000000000000000 A
>>     GLIBC_2.34 0000000000000000 A GLIBC_2.35 0000000000000000 A
>>     GLIBC_2.4 0000000000000000 A GLIBC_PRIVATE 0000000000035a28 D
>>     __libc_enable_secure@@GLIBC_PRIVATE 0000000000035a20 D
>>     __libc_stack_end@@GLIBC_2.2.5 0000000000036bd8 B
>>     __nptl_initial_report_events@@GLIBC_PRIVATE 0000000000036b78 B
>>     _r_debug@@GLIBC_2.2.5 000000000002f3a0 R __rseq_flags@@GLIBC_2.35
>>     00000000000359e0 D __rseq_offset@@GLIBC_2.35 00000000000359d8 D
>>     __rseq_size@@GLIBC_2.35 0000000000036000 D
>>     _rtld_global@@GLIBC_PRIVATE 0000000000035a80 D
>>     _rtld_global_ro@@GLIBC_PRIVATE 00000000000282d0 T
>>     __rtld_version_placeholder@GLIBC_2.34 0000000000014a40 T
>>     __tls_get_addr@@GLIBC_2.3 0000000000012ee0 T
>>     __tunable_get_val@@GLIBC_PRIVATE 00000000000128a0 T
>>     __tunable_is_initialized@@GLIBC_PRIVATE
>> 
>> If that’s not enough to make it a “library”, I don’t know what is ...
> 
> could be, but nm follows the link, try file /lib64/ld*
> 
> file /lib64/ld*
> /lib64/ld-linux-x86-64.so.2: symbolic link to
> ../lib/x86_64-linux-gnu/ld-linux-x86-64.so.2

It's not _just_ a library, it's a very special kind -- a runtime linker:

_[/tmp/try]_(vallor@lm)🐧_
$ touch foo
_[/tmp/try]_(vallor@lm)🐧_
$ /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 /bin/ls
foo
_[/tmp/try]_(vallor@lm)🐧_
$ /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 /bin/ls -l
total 0
-rw-rw-r-- 1 vallor vallor 0 Apr 25 04:40 foo

 ...know any other (mere) library that does that?

-- 
-v System76 Thelio Mega v1.1 x86_64 NVIDIA RTX 3090 Ti
   OS: Linux 6.14.3 Release: Mint 22.1 Mem: 258G
   "No, I'm from Iowa. I only work in Outer Space."

Back to alt.os.linux | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Trouble running Entware gcc & make on QNAP NAS Java Jive <java@evij.com.invalid> - 2025-04-20 01:30 +0100
  Re: Trouble running Entware gcc & make on QNAP NAS Richard Kettlewell <invalid@invalid.invalid> - 2025-04-20 07:46 +0100
  Re: Trouble running Entware gcc & make on QNAP NAS Chris Green <cl@isbd.net> - 2025-04-20 08:58 +0100
  Re: Trouble running Entware gcc & make on QNAP NAS Chris Green <cl@isbd.net> - 2025-04-20 08:54 +0100
  Re: Trouble running Entware gcc & make on QNAP NAS Theo <theom+news@chiark.greenend.org.uk> - 2025-04-20 10:08 +0100
    Re: Trouble running Entware gcc & make on QNAP NAS Java Jive <java@evij.com.invalid> - 2025-04-21 00:49 +0100
    Re: Trouble running Entware gcc & make on QNAP NAS Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-04-21 00:32 +0000
    Re: Trouble running Entware gcc & make on QNAP NAS Richard Kettlewell <invalid@invalid.invalid> - 2025-04-21 09:14 +0100
      Re: Trouble running Entware gcc & make on QNAP NAS Andy Burns <usenet@andyburns.uk> - 2025-04-21 09:36 +0100
        Re: Trouble running Entware gcc & make on QNAP NAS Richard Kettlewell <invalid@invalid.invalid> - 2025-04-21 15:47 +0100
          Re: Trouble running Entware gcc & make on QNAP NAS Andy Burns <usenet@andyburns.uk> - 2025-04-21 15:53 +0100
            Re: Trouble running Entware gcc & make on QNAP NAS Richard Kettlewell <invalid@invalid.invalid> - 2025-04-21 18:02 +0100
      Re: Trouble running Entware gcc & make on QNAP NAS Java Jive <java@evij.com.invalid> - 2025-04-21 12:38 +0100
        Re: Trouble running Entware gcc & make on QNAP NAS Richard Kettlewell <invalid@invalid.invalid> - 2025-04-21 15:46 +0100
  Re: Trouble running Entware gcc & make on QNAP NAS - SOLVED Java Jive <java@evij.com.invalid> - 2025-04-24 07:36 +0100
    Re: Trouble running Entware gcc & make on QNAP NAS - SOLVED Richard Kettlewell <invalid@invalid.invalid> - 2025-04-24 08:38 +0100
      Re: Trouble running Entware gcc & make on QNAP NAS - SOLVED Java Jive <java@evij.com.invalid> - 2025-04-24 20:36 +0100
      Re: Trouble running Entware gcc & make on QNAP NAS - SOLVED Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-04-24 22:01 +0000
        Re: Trouble running Entware gcc & make on QNAP NAS - SOLVED dillinger <dillinger@invalid.not> - 2025-04-25 13:05 +0200
          Re: Trouble running Entware gcc & make on QNAP NAS - SOLVED vallor <vallor@cultnix.org> - 2025-04-25 11:44 +0000
            Re: Trouble running Entware gcc & make on QNAP NAS - SOLVED Richard Kettlewell <invalid@invalid.invalid> - 2025-04-25 15:50 +0100
            Re: Trouble running Entware gcc & make on QNAP NAS - SOLVED Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-04-26 04:57 +0000
    Re: Trouble running Entware gcc & make on QNAP NAS - SOLVED Java Jive <java@evij.com.invalid> - 2025-04-26 12:40 +0100

csiph-web