[Tfug] Strange ld behavior
R351574NC3
tfug@tfug.org
Sat Mar 8 18:56:01 2003
Well,
On our servers at work, the default binary output is A.OUT. This doesn't
really have anything to do with ld or ldconfig, but when ld is looking
for ELF binaries and I produced an A.OUT binary, it will complain about
incorrect ELF headers because it's not ELF.
I didn't set up our servers, so I have no idea why they are configured
the way they are, but there is an ld.so.conf (for A.OUT binaries) and an
ld-elf.so.conf. The GNU linker should be capable of reading various
binary formats including ELF and A.OUT. I don't know why there would
need to be a seperate cache and conf for each. I am quite baffled about
this since it should not even be possible to do that with the GNU
linker. At least, I don't think it is. GNU libc and GNU linker are both
installed.
I doubt your system acts this way though.
-Leo
James Hood wrote:
>>things. Somehow LD_LIBRARY_PATH is what fixed my problem. My problem
>>
>>
>
>That did it. I had tried setting that variable before, but I hadn't
>exported the variable. Once I exported it, all was as it should be. I
>ended up adding that line to /etc/init.d/httpd and my java support works
>now. It was still pretty weird.
>
>
>
>>was that I had an 2 conf files. One was for a.out binaries and one was
>>
>>for elf binaries. There was some confusion between the two. Don't know
>>
>>if it is the same problem you are having though.
>>
>>
>
>I'm not sure exactly what you mean by this. Do you mean two ld.so.conf
>files? If so, were they named differently or stored in different areas?
>
>Again, thanks for the help,
>
>James
>_______________________________________________
>tfug mailing list
>tfug@tfug.org
>https://www.tfug.org/mailman/listinfo/tfug
>
>