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 17th August 2009
magic magic is offline
New User
 
Join Date: Jul 2009
Posts: 3
Thanked 0 Times in 0 Posts
Default pthread/portupgrade problems

Just upgraded 6.2 to 7.2-RELEASE. I was following these instructions:
daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.html
cyberciti.biz/faq/howto-freebsd-server-upgrades

I did update all my ports before starting. Once it came time to recompile the ports, is when I ran into problems. It ended with a lot of ports being skipped or installation problems. When I tried to manually update one it says:
/usr/bin/ld: cannot find -lpthread
*** Error code 1

In my ports I have ruby+nopthreads-1.8.7.160_4,1 and ruby18_bdb-0.6.5_1 installed. I have searched around but can't find any thing about this...

Any help would be greatly appreciated, as i'm going on day 3 trying to get this server upgraded! Thanks.
Reply With Quote
  #2   (View Single Post)  
Old 18th August 2009
BSDKaffee's Avatar
BSDKaffee BSDKaffee is offline
Real Name: Jason Hale
Coffee Addict
 
Join Date: May 2008
Location: Wintersville, Ohio
Posts: 212
Thanked 36 Times in 34 Posts
Default

Which port are you trying to upgrade?

Ports should not be trying to link to -lpthread. FreeBSD ports should use the -pthread GCC flag. Although, you should still have a libpthread.

What is the output of: $ ldconfig -r | grep pthread
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
portupgrade, upgrading the whole system deadeyes FreeBSD Ports and Packages 2 24th August 2009 05:25 AM
The location of Backup files from portupgrade paul-lkw FreeBSD Ports and Packages 4 21st September 2008 05:53 PM
Portupgrade problem hitete FreeBSD Ports and Packages 1 28th August 2008 03:53 PM
portupgrade -a =>Stale Dependency jaymax FreeBSD Ports and Packages 15 23rd July 2008 10:05 AM
PATCH errors during portupgrade shinjii FreeBSD Installation and Upgrading 4 23rd June 2008 02:47 AM


All times are GMT. The time now is 03:38 PM.


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