BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old March 23rd, 2002, 07:56 AM
bryanko bryanko is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Location: Hong Kong
Posts: 23 bryanko User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Smile Missing libXext.so.6 for vim

Hi there,

Just installed FreeBSD for the 1st time. When I tried to use vim I got the following message:

/usr/libexec/ld-elf.so.1: Shared object "libXext.so.6" not found

Would anyone tell me what I should do to fix the problem. I installed vim during installation of the OS!

Thanks!

Bryan

Reply With Quote
  #2  
Old March 23rd, 2002, 09:13 AM
Bob Loblaw Bob Loblaw is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Posts: 174 Bob Loblaw User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
locate for me says,

/usr/X11R6/lib/libXext.so.6
and then in linux compat, so my guess is that you have not installed X or your lib path is off.

Reply With Quote
  #3  
Old March 23rd, 2002, 11:05 AM
bryanko bryanko is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Location: Hong Kong
Posts: 23 bryanko User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question

Yeah, i didnt install any X components! There are 2 vim packages, 1 is vim, 1 is vim-lite. I should install vim-lite for command-line only enivronment?

Bryan

Reply With Quote
  #4  
Old March 23rd, 2002, 03:53 PM
munkfish's Avatar
munkfish munkfish is offline
funky munky
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2001
Location: UK
Posts: 1,446 munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 18 h 33 m
Reputation Power: 10
>>Should I install vim-lite for command-line only enivronment?
Yes. I have no X windows but use vim and installed the vim-lite package - works fine. (I also had the problem you did when I first installed vim full by mistake)

Reply With Quote
  #5  
Old March 24th, 2002, 01:29 AM
bryanko bryanko is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Location: Hong Kong
Posts: 23 bryanko User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks for your answers and very helpful!

Now I have to customize the shell, ah.. !

Bryan

Reply With Quote
  #6  
Old March 26th, 2002, 03:13 AM
Ted Striker Ted Striker is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Posts: 409 Ted Striker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
I have noticed a couple of library files that were installed in
4.4 are not installed by default on 4.5. After searching around, I see alot of users have been having a problem with missing libraries as well, and have had to manually load them also.

I've had a couple of "could not find" messages that occured in 4.5, but did not occur in 4.4.

Does FreeBSD "retire" libaries after a certain amount of time? These particular libraries were 3.x compatibility libraries, that's why I'm thinking they were not loaded by default.

Reply With Quote
  #7  
Old March 26th, 2002, 11:41 PM
munkfish's Avatar
munkfish munkfish is offline
funky munky
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2001
Location: UK
Posts: 1,446 munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 18 h 33 m
Reputation Power: 10
For what it's worth, here's my .cshrc file:
Code:
alias ls                ls -F
alias h                 history 10000
alias j                 jobs -l
alias untargz   tar zxvf $1
alias psgrep    "ps auxww | grep $1"

# these commands all depend on personal setup:
alias vi                vim
alias eject             "eject -v acd0"
alias cdcontrol cdcontrol -f /dev/acd0c
alias dagrab    dagrab -d /dev/acd0c
alias shlightc  shlight //win95/c_rive /mnt/smb.c
alias shlightd  shlight //win95/d_rive /mnt/smb.d
alias shlighte  shlight //win95/e_rive /mnt/smb.e

# Set a $DATE vbl:
setenv DATE `date "+%Y%m%d%H%M%S"`
# NOTE THIS IS USEFUL IF YOU WANT TO DO:
#touch anameofafile$DATE.txt
# at the command line to create a file called
# anameofafile200203261200.txt (if today is march 26 2002 midday :)

# A righteous umask
umask 022
# do man csh and search for 'umask' to find out about this

# will change from machine to machine... tip: make good use of ~/bin!!!
set path = ($HOME/bin /sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/X11R6/bin)

# these are usful, PAGER especially - this sets the man pager to less
# instead of default 'more'
setenv  EDITOR  vi
setenv  PAGER less
setenv  BLOCKSIZE       K

if ($?prompt) then
        # An interactive shell -- set some stuff up
        #set prompt = "[%n %/] # "
        set prompt="[%P] %n@%m %/# "
        set autolist
        set filec
        set history = 1000
        set savehist = 1000
        set mail = (/var/mail/$USER)

        # don't wake parents up in middle of night:
#       HOUR=echo `date '+%H'`
#       if($HOUR < 08) then
#               echo "hour is < 08"
#       endif
#       if(`date '+%H'`<08) then
#               set nobeep
#       endif
        if ( $?tcsh ) then
                set watch= ( 0 any any )
                bindkey "^W" backward-delete-word
                bindkey "^B" delete-word
                bindkey -k up history-search-backward
                bindkey -k down history-search-forward
                bindkey "^N" insert-last-word
                bindkey "^B" backward-word
                bindkey "^F" forward-word
        endif
endif


lots of these items might not be applicable to you (especially*** the alias section!), but hopefully it'll give you some ideas.

Especially nice I find is the 'set watch' line, which basically sets csh up to watch who logs into the server and announce it at in the shell. The bindkey settings are entirely up to you and may seem odd at first, but I find them indispensible now - basically to repeat a command from the history, start typing the first few chars of the commandline, hit <up-arrow> and the history-search will cycle through all recently used commands in the history stack starting with the letters you typed. I find this much more useful than the default history setting which only cycles chronologically through last commands.

A useful .exrc file for you to (for vim - note I don't some of these set items work in vanilla vi):
Code:
set nu ai history=1000 sw=4 ignorecase ts=4 more ul=1000
syntax on


Anyone got any other useful vi/csh rc settings???

Reply With Quote
  #8  
Old March 27th, 2002, 07:53 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> alias shlightc shlight //win95/c_rive /mnt/smb.c

Why run sharity-light when smbfs in 4.X-STABLE can do it much better all the way?

Reply With Quote
  #9  
Old March 27th, 2002, 02:20 PM
munkfish's Avatar
munkfish munkfish is offline
funky munky
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2001
Location: UK
Posts: 1,446 munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 18 h 33 m
Reputation Power: 10
Hi freebsd - I did build a kernel with support for SMB in it:
Code:
options        SMBFS                   #SMB/CIFS filesystem
options        NETSMB                  #SMB/CIFS requester
options        NETSMBCRYPTO            #encrypted password support for SMB
options        LIBICONV
options        LIBMCHAIN               #mbuf management library

but when it came to finding mount_smbfs I had real problems. I installed the source for sbin as suggested in the various documents relating to the installation of support for smb, but have had no joy in finding/building mount_smbfs as yet in the sources I did have. As we speak I'm cvsupping src-all, so I'll try making sbin again and see how it goes.

shlight seems nice given it's not native smb, more like nfs faking it(!), I only get the odd err and it's not so bad all in all for my home lan.

By the way I'm new to cvsup - once I've cvsupped src-all, do I have to follow chapter http://munkboxen.mine.nu/doc/handbook/makeworld.html (chapter 19 of handbook, in case my machine isn't online when you read this!) to the letter and make world, or can I just build individual parts (ie just src.sbin). If so it's time to learn a bit about dump and backup first - is this the tool of choice for across the wire backups or should I go for rsynch?

Many thanks for your comments,
Jez

Reply With Quote
  #10  
Old March 27th, 2002, 06:09 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> can I just build individual parts (ie just src.sbin)

Yes and No. You can't for smbfs though.

>> it's time to learn a bit about dump and backup first

Really, cvsup+buildworld isn't that hard. You also don't need to do any backup first because FreeBSD keeps reinventing the wheel for buildworld just trying to be newbie-friendly.

Reply With Quote
  #11  
Old March 27th, 2002, 06:20 PM
munkfish's Avatar
munkfish munkfish is offline
funky munky
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2001
Location: UK
Posts: 1,446 munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 18 h 33 m
Reputation Power: 10
As it goes, I've just hashed the damn thing up by running out of space on /usr underestimating the size of src-all. Not too happy about it, but anyway - what is the best way to go about getting back space from /usr/src (ie what can I safely delete from /usr/src in order to free up more space on /usr without damaging future cvsups)?

Also is there any way of telling how much space each sup 'class' takes up (ie ports, docs, share, etc) prior to installation? I can't seem to find this info anywhere.

Thanks in advance,
Jez

Reply With Quote
  #12  
Old March 27th, 2002, 06:47 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
You can move your /usr/src to somewhere else that has plenty of disk space. You just need to make sure to update the symlink of /sys to its new path.
Or if you have another box, just play around with NFS.
As far as what's safe to remove in /usr/src, I don't recommend to do that at all.

Reply With Quote
  #13  
Old March 28th, 2002, 02:54 PM
munkfish's Avatar
munkfish munkfish is offline
funky munky
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2001
Location: UK
Posts: 1,446 munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 18 h 33 m
Reputation Power: 10
Ok, cheers for that - I'll have a go at moving /usr/src to an nfs partition on another machine.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > Missing libXext.so.6 for vim


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support |