[Prev][Next][Index][Thread]

Re: executor-digest V1 #261



> > > if i compile using the ELF makefiles in src and gl things go ok but if i 
> > > try to use these i get this error (i was trying to run zgv since it loads 
> > > fast).
> > 
> > What are you using to compile?  I've done "ln -sf Makefile.elf Makefile" 
> > in both of those directories, and it won't compile for me.  I'm doing a 
> > "make installheaders" and "make all", but it tells me to "make install" 
> > first, which the README.ELF tells me NOT to do... hmm...

Well, I followed the README.ELF exactly, and I got the two libs and moved
them into /lib, and ran ldconfig.  zgv does complain about them:

rancor:root# zgv.aout
zgv.aout: can't load library '/lib/libvga.so.1'
        Exec format error
zgv.aout: can't find library 'libvga.so.1'

Now, for my hypothesis:
/lib/libvga[gl].so.1.2.7 are ELF libs.  zgv (and many other svgalib progs
including linuxsdoom) are built with a.out shared libs.  Something is wrong
with ld.so or something.  It's not recognizing that the executable is looking
for a.out libs.  It isn't a problem with svgalib, as far as I can tell.
I went through the mess of recompiling zgv w/ ELF and got it working with
the /lib/libvga[gl].so.1.2.7 that the a.out zgv complained about.  
I have the newest ld.so, libc, svgalib, and uhh whatelse?

I've spent nearly 5 hours on this tonight.  I'm fed up with it and I'm ready 
for somebody to email me a solution.
-- 
Josh Hildebrand         System Administrator of JEDI.NET
Email: josh@jedi.net    Pager: http://www.jedi.net/josh/pager
WWW Home Page and Resume: http://www.jedi.net/josh 


Follow-Ups: