Re: Lib Errors After 6.3 - 7 Update
On Tuesday 04 March 2008 9:15 pm, you wrote: On Tue, 4 Mar 2008 16:16:44 -0500 Dimitri Yioulos [EMAIL PROTECTED] wrote: Perhaps someone has a better suggestion for you, but I had a similar issue with regard to installing VMware Tools. In my case, I symlinked libc.so.5 linked to libc.so.6, and the VMware Tools installation proceeded. Like Kris said, not really good. An option may be, if you want to limit your exposure to compatibility issues, is to use libmap.conf , so you only map libc.so.6 as .5 ONLY for certain executables/libraries that depend on them. I find it this method a much better one to managed - one central place to manage library tricks, and is more advanced than symlinking. And you can easily transfer it to other systems B _ {Beto|Norberto|Numard} Meijome Thank you, Beto, for increasing my knowledge. I'll take a look at libmap.conf and read any extant info on it. Dimitri -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Lib Errors After 6.3 - 7 Update
On Wed, 05 Mar 2008 07:17:57 + Matthew Seaman [EMAIL PROTECTED] wrote: Umm... Using libmap.conf in this way is functionally equivalent to sym-linking the shlibs and is just as evil. If an app needs libc.so.5 then the only correct answer is to give it libc.so.5 by installing compat5x. of course it is as evil if do it carelessly, but it's a more controlled sym-linking of forms, as you can tell it that a certain symlink only applies to one application and not all of them. probably doesn't really apply to this example, but, from my experience, it is far better than symlinking. libmap.conf has its uses, but one of the primary reasons for having it -- switching between different threading implementations -- is a non-issue on 7.0 where you get libthr style threads as standard. I think there may be one or two ports that advise you to make specific libmap.conf settings, but unless you've installed one of those, you really should not need a libmap.conf at all. _ {Beto|Norberto|Numard} Meijome Software QA is like cleaning my cat's litter box: Sift out the big chunks. Stir in the rest. Hope it doesn't stink. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Lib Errors After 6.3 - 7 Update
Robert Davison wrote: I've tried to update 6.3 to 7 using the sh freebsd-update.sh -f freebsd-update.conf -r 7.0-RELEASE upgrade process. I thought all had gone well untill I started getting lib-XXX.so4 missing file here and libphp.so missing there. I'm guessing that the update process has deleatd some shared libararies which are still required. I have the files in question, but instead of XXX.so.4, the file is called XXX.so.5 I followed the instructions to the 'T' but nothing seems to work i.e MailScanner, apache etc. I've tried portupgrade -af to see if I can link the ports to the new lib files, but alas nothing. Anyone got any ideas?? Some of your ports did not get rebuilt as 7.0 binaries. You need to track down which ones they are and rebuild them (ignore anyone who tells you to install compat6x, it will only mask your immediate problem and may cause others). If you saved the portupgrade -af output it will tell you which ones failed to rebuild. Otherwise you can look for files that were not modified since before your rebuild attempt. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Lib Errors After 6.3 - 7 Update
Dimitri Yioulos wrote: On Tuesday 04 March 2008 3:32 pm, Robert Davison wrote: I've tried to update 6.3 to 7 using the sh freebsd-update.sh -f freebsd-update.conf -r 7.0-RELEASE upgrade process. I thought all had gone well untill I started getting lib-XXX.so4 missing file here and libphp.so missing there. I'm guessing that the update process has deleatd some shared libararies which are still required. I have the files in question, but instead of XXX.so.4, the file is called XXX.so.5 I followed the instructions to the 'T' but nothing seems to work i.e MailScanner, apache etc. I've tried portupgrade -af to see if I can link the ports to the new lib files, but alas nothing. Anyone got any ideas?? Perhaps someone has a better suggestion for you, but I had a similar issue with regard to installing VMware Tools. In my case, I symlinked libc.so.5 linked to libc.so.6, and the VMware Tools installation proceeded. Ah yes, I forgot about bogus advice option 2 :-) Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Lib Errors After 6.3 - 7 Update
On Tuesday 04 March 2008 3:32 pm, Robert Davison wrote: I've tried to update 6.3 to 7 using the sh freebsd-update.sh -f freebsd-update.conf -r 7.0-RELEASE upgrade process. I thought all had gone well untill I started getting lib-XXX.so4 missing file here and libphp.so missing there. I'm guessing that the update process has deleatd some shared libararies which are still required. I have the files in question, but instead of XXX.so.4, the file is called XXX.so.5 I followed the instructions to the 'T' but nothing seems to work i.e MailScanner, apache etc. I've tried portupgrade -af to see if I can link the ports to the new lib files, but alas nothing. Anyone got any ideas?? Perhaps someone has a better suggestion for you, but I had a similar issue with regard to installing VMware Tools. In my case, I symlinked libc.so.5 linked to libc.so.6, and the VMware Tools installation proceeded. HTH. Dimitri -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Lib Errors After 6.3 - 7 Update
On Tuesday 04 March 2008 4:20 pm, Kris Kennaway wrote: Dimitri Yioulos wrote: On Tuesday 04 March 2008 3:32 pm, Robert Davison wrote: I've tried to update 6.3 to 7 using the sh freebsd-update.sh -f freebsd-update.conf -r 7.0-RELEASE upgrade process. I thought all had gone well untill I started getting lib-XXX.so4 missing file here and libphp.so missing there. I'm guessing that the update process has deleatd some shared libararies which are still required. I have the files in question, but instead of XXX.so.4, the file is called XXX.so.5 I followed the instructions to the 'T' but nothing seems to work i.e MailScanner, apache etc. I've tried portupgrade -af to see if I can link the ports to the new lib files, but alas nothing. Anyone got any ideas?? Perhaps someone has a better suggestion for you, but I had a similar issue with regard to installing VMware Tools. In my case, I symlinked libc.so.5 linked to libc.so.6, and the VMware Tools installation proceeded. Ah yes, I forgot about bogus advice option 2 :-) Kris ___ As I said, someone might have a better suggestion, as I'm a relative noob. My point was to try symlinking your needed library file to that which you find on your system. I'd think it'd be worth a try. But, hey, if it's bogus advice (option 2 :-) ), then best of luck. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Lib Errors After 6.3 - 7 Update
Dimitri Yioulos wrote: On Tuesday 04 March 2008 4:20 pm, Kris Kennaway wrote: Dimitri Yioulos wrote: On Tuesday 04 March 2008 3:32 pm, Robert Davison wrote: I've tried to update 6.3 to 7 using the sh freebsd-update.sh -f freebsd-update.conf -r 7.0-RELEASE upgrade process. I thought all had gone well untill I started getting lib-XXX.so4 missing file here and libphp.so missing there. I'm guessing that the update process has deleatd some shared libararies which are still required. I have the files in question, but instead of XXX.so.4, the file is called XXX.so.5 I followed the instructions to the 'T' but nothing seems to work i.e MailScanner, apache etc. I've tried portupgrade -af to see if I can link the ports to the new lib files, but alas nothing. Anyone got any ideas?? Perhaps someone has a better suggestion for you, but I had a similar issue with regard to installing VMware Tools. In my case, I symlinked libc.so.5 linked to libc.so.6, and the VMware Tools installation proceeded. Ah yes, I forgot about bogus advice option 2 :-) Kris ___ As I said, someone might have a better suggestion, as I'm a relative noob. My point was to try symlinking your needed library file to that which you find on your system. I'd think it'd be worth a try. But, hey, if it's bogus advice (option 2 :-) ), then best of luck. The reason it's bogus is because we change library versions for good reason: they are incompatible. Sometimes they are incompatible in obvious ways, sometimes in subtle ways. If you need libc.so.5 to run a FreeBSD 5.x binary, install the compat5x port. That is not the solution for the OP though, because at this point he has binaries with an inconsistent set of libraries that needs to be fixed by moving them all to 7.0. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Lib Errors After 6.3 - 7 Update
On Tuesday 04 March 2008 4:53 pm, Kris Kennaway wrote: Dimitri Yioulos wrote: On Tuesday 04 March 2008 4:20 pm, Kris Kennaway wrote: Dimitri Yioulos wrote: On Tuesday 04 March 2008 3:32 pm, Robert Davison wrote: I've tried to update 6.3 to 7 using the sh freebsd-update.sh -f freebsd-update.conf -r 7.0-RELEASE upgrade process. I thought all had gone well untill I started getting lib-XXX.so4 missing file here and libphp.so missing there. I'm guessing that the update process has deleatd some shared libararies which are still required. I have the files in question, but instead of XXX.so.4, the file is called XXX.so.5 I followed the instructions to the 'T' but nothing seems to work i.e MailScanner, apache etc. I've tried portupgrade -af to see if I can link the ports to the new lib files, but alas nothing. Anyone got any ideas?? Perhaps someone has a better suggestion for you, but I had a similar issue with regard to installing VMware Tools. In my case, I symlinked libc.so.5 linked to libc.so.6, and the VMware Tools installation proceeded. Ah yes, I forgot about bogus advice option 2 :-) Kris ___ As I said, someone might have a better suggestion, as I'm a relative noob. My point was to try symlinking your needed library file to that which you find on your system. I'd think it'd be worth a try. But, hey, if it's bogus advice (option 2 :-) ), then best of luck. The reason it's bogus is because we change library versions for good reason: they are incompatible. Sometimes they are incompatible in obvious ways, sometimes in subtle ways. If you need libc.so.5 to run a FreeBSD 5.x binary, install the compat5x port. That is not the solution for the OP though, because at this point he has binaries with an inconsistent set of libraries that needs to be fixed by moving them all to 7.0. Kris ___ Accepted. Thanks for the edification. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Lib Errors After 6.3 - 7 Update
Thanks for the quick replies, but isnt there a way of just rebuilding world or by using portupgrade to align the files ? Dimitri Yioulos [EMAIL PROTECTED] wrote: On Tuesday 04 March 2008 4:53 pm, Kris Kennaway wrote: Dimitri Yioulos wrote: On Tuesday 04 March 2008 4:20 pm, Kris Kennaway wrote: Dimitri Yioulos wrote: On Tuesday 04 March 2008 3:32 pm, Robert Davison wrote: I've tried to update 6.3 to 7 using the sh freebsd-update.sh -f freebsd-update.conf -r 7.0-RELEASE upgrade process. I thought all had gone well untill I started getting lib-XXX.so4 missing file here and libphp.so missing there. I'm guessing that the update process has deleatd some shared libararies which are still required. I have the files in question, but instead of XXX.so.4, the file is called XXX.so.5 I followed the instructions to the 'T' but nothing seems to work i.e MailScanner, apache etc. I've tried portupgrade -af to see if I can link the ports to the new lib files, but alas nothing. Anyone got any ideas?? Perhaps someone has a better suggestion for you, but I had a similar issue with regard to installing VMware Tools. In my case, I symlinked libc.so.5 linked to libc.so.6, and the VMware Tools installation proceeded. Ah yes, I forgot about bogus advice option 2 :-) Kris ___ As I said, someone might have a better suggestion, as I'm a relative noob. My point was to try symlinking your needed library file to that which you find on your system. I'd think it'd be worth a try. But, hey, if it's bogus advice (option 2 :-) ), then best of luck. The reason it's bogus is because we change library versions for good reason: they are incompatible. Sometimes they are incompatible in obvious ways, sometimes in subtle ways. If you need libc.so.5 to run a FreeBSD 5.x binary, install the compat5x port. That is not the solution for the OP though, because at this point he has binaries with an inconsistent set of libraries that needs to be fixed by moving them all to 7.0. Kris ___ Accepted. Thanks for the edification. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] - Sent from Yahoo! Mail. A Smarter Inbox. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Lib Errors After 6.3 - 7 Update
Robert Davison wrote: Thanks for the quick replies, but isnt there a way of just rebuilding world or by using portupgrade to align the files ? Yes, complete or restart the portupgrade -af :) Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Lib Errors After 6.3 - 7 Update
On Tue, 4 Mar 2008 16:16:44 -0500 Dimitri Yioulos [EMAIL PROTECTED] wrote: Perhaps someone has a better suggestion for you, but I had a similar issue with regard to installing VMware Tools. In my case, I symlinked libc.so.5 linked to libc.so.6, and the VMware Tools installation proceeded. Like Kris said, not really good. An option may be, if you want to limit your exposure to compatibility issues, is to use libmap.conf , so you only map libc.so.6 as .5 ONLY for certain executables/libraries that depend on them. I find it this method a much better one to managed - one central place to manage library tricks, and is more advanced than symlinking. And you can easily transfer it to other systems B _ {Beto|Norberto|Numard} Meijome My wish is that your day will be a good one. If not... May the fleas of one thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Lib Errors After 6.3 - 7 Update
Norberto Meijome wrote: On Tue, 4 Mar 2008 16:16:44 -0500 Dimitri Yioulos [EMAIL PROTECTED] wrote: Perhaps someone has a better suggestion for you, but I had a similar issue with regard to installing VMware Tools. In my case, I symlinked libc.so.5 linked to libc.so.6, and the VMware Tools installation proceeded. Like Kris said, not really good. An option may be, if you want to limit your exposure to compatibility issues, is to use libmap.conf , so you only map libc.so.6 as .5 ONLY for certain executables/libraries that depend on them. I find it this method a much better one to managed - one central place to manage library tricks, and is more advanced than symlinking. And you can easily transfer it to other systems Umm... Using libmap.conf in this way is functionally equivalent to sym-linking the shlibs and is just as evil. If an app needs libc.so.5 then the only correct answer is to give it libc.so.5 by installing compat5x. libmap.conf has its uses, but one of the primary reasons for having it -- switching between different threading implementations -- is a non-issue on 7.0 where you get libthr style threads as standard. I think there may be one or two ports that advise you to make specific libmap.conf settings, but unless you've installed one of those, you really should not need a libmap.conf at all. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature