home *** CD-ROM | disk | FTP | other *** search
/ Executor 2.0 / executorv2.0.iso / pc / linux / extra / docs / maillist / text / archive.95 / text1716.txt < prev    next >
Encoding:
Text File  |  1996-04-02  |  1.5 KB  |  34 lines

  1. > > > if i compile using the ELF makefiles in src and gl things go ok but if i 
  2. > > > try to use these i get this error (i was trying to run zgv since it loads 
  3. > > > fast).
  4. > > 
  5. > > What are you using to compile?  I've done "ln -sf Makefile.elf Makefile" 
  6. > > in both of those directories, and it won't compile for me.  I'm doing a 
  7. > > "make installheaders" and "make all", but it tells me to "make install" 
  8. > > first, which the README.ELF tells me NOT to do... hmm...
  9.  
  10. Well, I followed the README.ELF exactly, and I got the two libs and moved
  11. them into /lib, and ran ldconfig.  zgv does complain about them:
  12.  
  13. rancor:root# zgv.aout
  14. zgv.aout: can't load library '/lib/libvga.so.1'
  15.         Exec format error
  16. zgv.aout: can't find library 'libvga.so.1'
  17.  
  18. Now, for my hypothesis:
  19. /lib/libvga[gl].so.1.2.7 are ELF libs.  zgv (and many other svgalib progs
  20. including linuxsdoom) are built with a.out shared libs.  Something is wrong
  21. with ld.so or something.  It's not recognizing that the executable is looking
  22. for a.out libs.  It isn't a problem with svgalib, as far as I can tell.
  23. I went through the mess of recompiling zgv w/ ELF and got it working with
  24. the /lib/libvga[gl].so.1.2.7 that the a.out zgv complained about.  
  25. I have the newest ld.so, libc, svgalib, and uhh whatelse?
  26.  
  27. I've spent nearly 5 hours on this tonight.  I'm fed up with it and I'm ready 
  28. for somebody to email me a solution.
  29. -- 
  30. Josh Hildebrand         System Administrator of JEDI.NET
  31. Email: josh@jedi.net    Pager: http://www.jedi.net/josh/pager
  32. WWW Home Page and Resume: http://www.jedi.net/josh 
  33.  
  34.