DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Installation and Upgrading

FreeBSD Installation and Upgrading Installing and upgrading FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 11th May 2008
Calderon's Avatar
Calderon Calderon is offline
Real Name: Patrick Lindholm
Fdisk Soldier
 
Join Date: May 2008
Location: Finland
Posts: 60
Default Update from 6.3 to 7.0 (libs missing etc.)

Hi!

After upgrading to 7.0 from 6.3 as instructed i did have some of error of missing libraries like below. Reinstalling some of the applications worked but i cant seem to get KDE to work at all. I have tried to re-install with portupgrade -fR kde . How can i completeley reinstall kde or does this even help?

Thanks

Code:
restore crtc1
restore pll1
finished PLL1
restore dac
enable montype: 1
disable montype: 1
expected keysym, got XF86KbdLightOnOff: line 70 of pc
expected keysym, got XF86KbdBrightnessDown: line 71 of pc
expected keysym, got XF86KbdBrightnessUp: line 72 of pc
expected keysym, got XF86KbdLightOnOff: line 70 of pc
expected keysym, got XF86KbdBrightnessDown: line 71 of pc
expected keysym, got XF86KbdBrightnessUp: line 72 of pc
enable montype: 1
/libexec/ld-elf.so.1: Shared object "libstdc++.so.5" not found, required by "kstartupconfig"
Size 800x600 not found in available modes
/libexec/ld-elf.so.1: Shared object "libutil.so.5" not found, required by "kde-config"
startkde: Starting up...
/libexec/ld-elf.so.1: Shared object "libutil.so.5" not found, required by "ksplash"
/libexec/ld-elf.so.1: Shared object "libutil.so.5" not found, required by "kdeinit"
startkde: Could not start kdeinit. Check your installation.
Warning: connect() failed: : No such file or directory
/libexec/ld-elf.so.1: Shared object "libutil.so.5" not found, required by "ksmserver"
/libexec/ld-elf.so.1: Shared object "libz.so.3" not found, required by "dcop"
startkde: Shutting down...
Warning: connect() failed: : No such file or directory
Error: Can't contact kdeinit!
/libexec/ld-elf.so.1: Shared object "libm.so.4" not found, required by "libjack.so.0"
startkde: Running shutdown scripts...
startkde: Done.
disable montype: 1

waiting for X server to shut down finished PLL2
Reply With Quote
  #2   (View Single Post)  
Old 11th May 2008
corey_james corey_james is offline
Uber Geek
 
Join Date: Apr 2008
Location: Brisbane, Australia
Posts: 238
Default

I'd just completely remove KDE and reinstall it!
Reply With Quote
  #3   (View Single Post)  
Old 11th May 2008
Calderon's Avatar
Calderon Calderon is offline
Real Name: Patrick Lindholm
Fdisk Soldier
 
Join Date: May 2008
Location: Finland
Posts: 60
Default

pkg_deinstall -rv /var/db/pkg/kde*

?
Reply With Quote
  #4   (View Single Post)  
Old 11th May 2008
18Googol2's Avatar
18Googol2 18Googol2 is offline
Real Name: whoami
Spam Deminer
 
Join Date: Apr 2008
Location: pwd
Posts: 283
Default

To check your kde version:

Code:
%pkg_info | grep kde
And to remove your kde, the commands would be:
Code:
#pkg_delete kde_version
Or

Code:
#cd /usr/ports/x11/kde3 && make deinstall clean
__________________
The power of plain text? It can control an entire OS
Reply With Quote
  #5   (View Single Post)  
Old 11th May 2008
Calderon's Avatar
Calderon Calderon is offline
Real Name: Patrick Lindholm
Fdisk Soldier
 
Join Date: May 2008
Location: Finland
Posts: 60
Default

I have tried to make deinstall kde-3.5.8_1 but the same problem comes back when installing it again.
Reply With Quote
  #6   (View Single Post)  
Old 12th May 2008
sgunn sgunn is offline
New User
 
Join Date: May 2008
Posts: 1
Default 7.0 Install problems

I tried doing a base install of FreeBSD 7.0 onto a machine that had been running 6.0.

It got most of the way through the install and then it failed on a dependency of libgl7.0.

The basic OS excluding X seems to have installed okay. It's pretty disappointing that in 2008 a normal install onto known working and relatively modern hardware fails to successfully install the window manager.

Using sysinstall to try to install Xorg (after the fact) also fails with odd dependency issues (dependent package fails to install), with the cryptic "check debug screen," which I can't since I'm at work and alt F2 only works on the system console.

I've been using FreeBSD for 10 years, and it really annoys me when the basic installation, including X11 & KDE doesn't work. I can deal with the ugly installer, but it needs to work. The Linux camp seems have pretty decisevely solved the install process, FreeBSD really needs to work on it.

I guess I'll give FreeBSD 6.3 a try and see if it installs.

Is anyone else having issues installing Xorg and/or KDE?

Stephen
Reply With Quote
  #7   (View Single Post)  
Old 12th May 2008
Calderon's Avatar
Calderon Calderon is offline
Real Name: Patrick Lindholm
Fdisk Soldier
 
Join Date: May 2008
Location: Finland
Posts: 60
Default

I did remove KDE with pkg_deinstall -rv /var/db/pkg/kde*

Install seemed to go quite ok until the problem i posted on another topic with same issue.

http://www.daemonforums.org/showthread.php?t=257
Reply With Quote
  #8   (View Single Post)  
Old 12th May 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

You will need to recompile *all* ports, not just KDE, you can use portupgrade:
# portupgrade -af
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #9   (View Single Post)  
Old 12th May 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 696
Default

Quote:
Originally Posted by sgunn View Post
I tried doing a base install of FreeBSD 7.0 onto a machine that had been running 6.0.

It got most of the way through the install and then it failed on a dependency of libgl7.0.

The basic OS excluding X seems to have installed okay. It's pretty disappointing that in 2008 a normal install onto known working and relatively modern hardware fails to successfully install the window manager.
This is why most advanced users recommend using sysinstall to install the base OS and nothing else. No packages, no ports, no system configuration. Just install the base OS, and reboot. Everything else is done from within the OS itself.

An OS installer should install the OS, configure it enough to get it to boot, and nothing more, IMO.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
Old 12th May 2008
Calderon's Avatar
Calderon Calderon is offline
Real Name: Patrick Lindholm
Fdisk Soldier
 
Join Date: May 2008
Location: Finland
Posts: 60
Default

Quote:
Originally Posted by Carpetsmoker View Post
You will need to recompile *all* ports, not just KDE, you can use portupgrade:
# portupgrade -af
Ok. I think i did it after upgrade as told (portupgrade -Fap) but ill try that too.

Thanks
Reply With Quote
Old 13th May 2008
Calderon's Avatar
Calderon Calderon is offline
Real Name: Patrick Lindholm
Fdisk Soldier
 
Join Date: May 2008
Location: Finland
Posts: 60
Default

Ok, upgrading all finished and still this problem continues...
Reply With Quote
Old 13th May 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

hmm, then why is KDE linked against FreeBSD 6 libs...

Can you post the ouput from: # ldconfig -r | grep stdc

Also, did you run # make delete-old delete-old-libs in /usr/src after upgrading?

You can also try installing misc/compat6x as a quick fix, which may or may not work, in any case the problem will remain (and you will run into problems later).
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
Old 13th May 2008
Calderon's Avatar
Calderon Calderon is offline
Real Name: Patrick Lindholm
Fdisk Soldier
 
Join Date: May 2008
Location: Finland
Posts: 60
Default

bsdkone# ldconfig -r | grep stdc
87:-lstdc++.6 => /usr/lib/libstdc++.so.6
767:-lstdc++.4 => /usr/local/lib/compat/libstdc++.so.4
794:-lstdc++.3 => /usr/local/lib/compat/libstdc++.so.3
bsdkone#


And nope did not run make delete old in /usr/src (just followed the so easy rules of upgrading from 6.3 to 7.0) :-)

EDIT: Just in case, the problem is now the Mutex unlock while compiling KDE as i linked to another topic with same problem above.

Last edited by Calderon; 13th May 2008 at 06:41 PM.
Reply With Quote
Old 14th May 2008
Calderon's Avatar
Calderon Calderon is offline
Real Name: Patrick Lindholm
Fdisk Soldier
 
Join Date: May 2008
Location: Finland
Posts: 60
Default

Now i have done make delete-old delete-old-libs in /usr/src
Removed /usr/ports and fetch/extract it again etc etc. Mutex ulnock is still here

Code:
/usr/local/bin/moc kdcopview.h -o kdcopview.moc
rm -f kdcopview.cpp
echo '#include <kdialog.h>' > kdcopview.cpp
echo '#include <klocale.h>' >> kdcopview.cpp
/usr/local/bin/uic -L /usr/local/lib/kde3/plugins/designer -nounload -tr tr2i18n -i kdcopview.h ./kdcopview.ui > kdcopview.cpp.temp ; ret=$?; \
        /usr/local/bin/perl -pe "s,tr2i18n( \"\" ),QString::null,g" kdcopview.cpp.temp | /usr/local/bin/perl -pe "s,tr2i18n( \"\"\, \"\" ),QString::null,g" | /usr/local/bin/perl -pe "s,image([0-9][0-9]*)_data,img\$1_kdcopview,g" | /usr/local/bin/perl -pe "s,: QWizard\(,: KWizard(,g" >> kdcopview.cpp ;\
        rm -f kdcopview.cpp.temp ;\
        if test "$ret" = 0; then echo '#include "kdcopview.moc"' >> kdcopview.cpp; else rm -f kdcopview.cpp ; exit $ret ; fi
Mutex unlock failure: Operation not permitted
Reply With Quote
Old 17th May 2008
FBSDin20Steps FBSDin20Steps is offline
Port Guard
 
Join Date: May 2008
Location: nl
Posts: 21
Default

Quote:
After upgrading to 7.0 from 6.3 as instructed
What were the instructions?
Reply With Quote
Old 17th May 2008
Calderon's Avatar
Calderon Calderon is offline
Real Name: Patrick Lindholm
Fdisk Soldier
 
Join Date: May 2008
Location: Finland
Posts: 60
Default

freebsd-update.sh :-)

http://www.cyberciti.biz/faq/howto-f...rver-upgrades/

I have started from scratch now with fresh 7.0 install on another partition tho and everything should work.
Reply With Quote
Old 17th May 2008
FBSDin20Steps FBSDin20Steps is offline
Port Guard
 
Join Date: May 2008
Location: nl
Posts: 21
Default

upgrades don't work in most cases. I have learned my lesson in the past. Personally i always do a virgin install and compile everything from source when a new release is out and go on from there. It is a time consuming method but less troublesome...
Good luck
Reply With Quote
Reply

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sys.tar.gz missing from 3rd CD in 4.5? thirdm OpenBSD Installation and Upgrading 0 5th May 2009 03:25 PM
Disk space gone missing EricM FreeBSD General 0 26th February 2009 02:25 AM
The case of the missing 24GB Bruco FreeBSD General 3 20th October 2008 06:44 PM
Why does cvsup need x11 libs? thevirtuesofxen FreeBSD General 6 17th August 2008 09:30 AM


All times are GMT. The time now is 02:07 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick