Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 2003 09:50:00 -0600
From:      Mike Meyer <mwm-dated-1049039401.861c27@mired.org>
To:        "Tamir Halperin" <tamir@brobus.net>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   RE: OpenSSL obstacle to PostgreSQL Installation
Message-ID:  <16000.31400.594337.21303@guru.mired.org>
In-Reply-To: <985DF46E87E0C047A3670048DBCAD0556BB2@andrew.brobus.net>
References:  <985DF46E87E0C047A3670048DBCAD0556BB2@andrew.brobus.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In <985DF46E87E0C047A3670048DBCAD0556BB2@andrew.brobus.net>, Tamir Halperin <tamir@brobus.net> typed:
> It appears that a symlink solved the problem. I did try someone else's symlink suggestion but it didn't point to the /usr/lib directory like Dmitry's did.
> 
> A brief conversation with Dmitry Morozovsky [mailto:marck@rinet.ru] in the pgsql-admin list produced the following:
> DM> So, possibly, quick hack like 'ln -s 
> DM> /usr/local/lib/libcrypto.so /usr/lib' may
> DM> help you.

Right. That's a good symlink to do. The question is, why did ports
think you should have /usr/lib/libcrypto.so when you didn't have one?
Either you didn't install the crypto distribution, or you didn't build
it when you upgarded to a system that had it.

> He brings up a good point. I'm running something that's over a year behind and I think it would benefit me to be at 4.8 or at least 4.7.
> Can you point me to a concise document that discusses the upgrade procedure?

I don't know of one. Upgrading a binary distribution is
straightforward, though. Boot the 4.8 CDROM, and select
"ugprade". That will give you a long warning about how dangerous all
this is - which you should ignore, because you've backed up your
system prior to doing this. Go through the upgrade procedure, then use
the copy of your config files that it saved - I forget where - to
modify the new versions that were installed so your config files are
up to date.

Alternatively for that last step, you can copy the your version back,
and run "/usr/sbin/mergemaster" to merge in the config file changes
from 4.8. But getting your config files up to date is the only part
that's not simple.

If you want to do a source upgrade, the handbook covers that in "the
cutting edge". But the sequence is:

# cvsup 			# to get new sources.
# cd /usr/src
# make buildworld
# make kernel KERNCONF=whatever	# use your kernel config file name here
# shutdown -r			# reboot new kernel in single user mode.

Then, in single user mode

# fsck -p
# mount -a
# cd /usr/src
# make installworld
# /usr/sbin/mergemaster

And again, it should all just work, except for the mergemaster step.

	<mike
-- 
Mike Meyer <mwm@mired.org>		http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16000.31400.594337.21303>