Summary: Cannot find ELF

From: Andreas Hoeschler (ahoesch@smartsoft.de)
Date: Wed Aug 20 2003 - 08:47:22 EDT


Dear managers,

thanks to

Baranyai Pal <bp@hszk.bme.hu>

who helped me remember that the GNU strip utility has issues on
Solaris. After doing

        mv /usr/local/bin/strip /usr/local/bin/stripper

to make sure the SUN strip is used everything built and worked like a
charm.

Regards,

    Andreas

>>> while building tetex on a SunFire 280R with Solaris 8 installed I get
>>>
>>> kpsewhich: Cannot find ELF
>>> kpsewhich: Cannot find ELF
>>> kpsewhich: Cannot find ELF
>>> kpsewhich: Cannot find ELF
>>> kpsewhich: Cannot find ELF
>>> kpsewhich: Cannot find ELF
>>> kpsewhich: Cannot find ELF
>>> kpsewhich: Cannot find ELF
>>> kpsewhich: Cannot find ELF
>>> kpsewhich: Cannot find ELF
>>> kpsewhich: Cannot find ELF
>>> fmtutil: config file `fmtutil.cnf' not found.
>>> make: *** [install] Error 255
>>>
>>> What does "Cannot find ELF" mean? How can this be fixed?
>>
>> I haven't solved the problem yet but found more and interesting info.
>> The sun strip seems to be broken somehow. I wrote a file hello.c
>>
>> #include <stdio.h>
>>
>> int main()
>> {
>> printf("Hello World!\n");
>> exit(0);
>> return 0;
>> }
>>
>> and then did:
>>
>> bash-2.03$ gcc -B/usr/ccs/bin -o hello hello.c
>> bash-2.03$ ./hello
>> Hello World!
>>
>> bash-2.03$ strip hello
>> BFD: stmRa49S: warning: allocated section `.interp' not in segment
>> bash-2.03$ ./hello
>> hello: Cannot find ELF
>> Killed
>>
>> bash-2.03$ strip hello
>> bash-2.03$ ./hello
>> Hello World!
>>
>> These "... not in segmen" messages appeared ofetn during building
>> tetex
>> so it must be related. Any idea how to fix that or what the above
>> results mean?
>>
>> Regards,
>>
>> Andreas
>> _______________________________________________
>> sunmanagers mailing list
>> sunmanagers@sunmanagers.org
>> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:57 EDT