Return to BSD News archive
Newsgroups: comp.unix.bsd.freebsd.misc Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!yarrina.connect.com.au!news.uwa.edu.au!DIALix!melbourne.DIALix.oz.au!seeware!mark From: mark@seeware.DIALix.oz.au (Mark Hannon) Subject: Re: More Newbie 2.1 Qs... Organization: Private FreeBSD site Message-ID: <DL404J.79F@seeware.DIALix.oz.au> References: <4d0gk9$2me@kocrsv08.delcoelect.com> Date: Sat, 13 Jan 1996 07:43:28 GMT Lines: 95 Perry Grieb (c23peg@mail.delcoelect.com) wrote: : Subject: More Newbie (2.1) Questions... : Subtitle: Well, at least FreeBSD is getting a larger user base! : : (1) I installed emacs (19.29?) from the 2.1 CD. However, I have : limited drive space and must not have installed a library it needs. : Emacs is looking for libXaw.so.6.0. What package is libXaw.so.6.0 : in? I mounted the live file system CD and found the library in : /cdrom/usr/X11R6/lib and put a copy in /usr/X11R6/lib (after creat- : ing the directory). Note that I have not installed X. In any : event, emacs could still not find the library. I assume it is some : environment variable that is not set? I thought that emacs could : run from either X or text only mode. FYI, I was thrilled to see : that MicroEMACS was on the CD! It loads alot quicker, for those : short script file edits on my pokey 386. libXaw is a part of X-window. Yes it is true that emacs can be run from the console but since it was compiled to support X-window there is a run-time dependency to a number of X files. I don't have emacs installed but I do have xemacs, when I printout the library dependencies I see: putte:/cdrom/usr> ldd /usr/local/bin/xemacs /usr/local/bin/xemacs: -lXaw.6 => /usr/X11R6/lib/libXaw.so.6.0 (0x80fa000) -lXpm.4 => /usr/X11R6/lib/libXpm.so.4.6 (0x8130000) -lXmu.6 => /usr/X11R6/lib/libXmu.so.6.0 (0x813c000) -lXt.6 => /usr/X11R6/lib/libXt.so.6.0 (0x814c000) -lSM.6 => /usr/X11R6/lib/libSM.so.6.0 (0x818d000) -lICE.6 => /usr/X11R6/lib/libICE.so.6.0 (0x8195000) -lXext.6 => /usr/X11R6/lib/libXext.so.6.0 (0x81a7000) -lX11.6 => /usr/X11R6/lib/libX11.so.6.0 (0x81af000) -lutil.2 => /usr/lib/libutil.so.2.0 (0x822a000) -ltermcap.2 => /usr/lib/libtermcap.so.2.1 (0x822c000) -lm.2 => /usr/lib/libm.so.2.0 (0x8230000) -lc.2 => /usr/lib/libc.so.2.2 (0x8249000) As you can see for xemacs (and I assume it's very much the same for emacs) there a number of shared libraries in the /usr/X11R6/lib which are needed by the application. If you use ldd /usr/local/bin/emacs you will see what libraries you need. After you have extracted them all from the x-distribution you will need to tell the dynamic linker that there are some new libraries on the system, you do that by ldconfig /usr/lib /usr/X11R6/lib /usr/local/lib or by rebooting. : (2) What type of filesystem does fdformat generate? It's not FAT. : It does not seem to be a native FreeBSD filesystem. The man page : doesn't give a clue. I don't think it generates any filesystem, but I could be wrong.... : (3) Sometimes when I "shutdown -h now", it seems that the system : halts before a "System is Halted" type message can get displayed. : I see a couple of the following messages and then nothing. I have : been assuming that everything is halted and the filesystem has : been sync'ed up, but it does not look quite right. : Jan 7 ... myname syslogd: exiting on signal 15 : Jan 7 ... myname syslogd: exiting on signal 15 Don't know : (4) I had been using OS/2 boot manager to boot OS/2, DOS, and linux. : FreeBSD took over the OS/2 disk space. I am hoping that FreeBSD : will eventually take over the linux spot, once I learn enough about : it. I had lilo installed in the linux partition on the second IDE : drive. I booted linux as follows OS/2 BM (on /dev/hda) -> lilo Where exactly have you installed lilo? /dev/hdb is the MBR on the second drive AND NOT the linux partition on the second drive, not sure if that will cause a problem though. I have successfully used the OS/2 BM to boot both linux and freebsd. Maybe you should install LILO on the linux partition and try again. Sorry I can't help more on this bit. Good luck, Mark PS You can email me for details about LILO if you want. -- +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+ | Mark Hannon,| FreeBSD - Free Unix for your PC| mark@seeware.DIALix.oz.au| | Melbourne, | PGP key available by fingering | epamha@epa.ericsson.se | | Australia | seeware@melbourne.DIALix.oz.au | |