Date: Fri, 25 Nov 2005 16:07:14 -0800 From: "Jeff D. Hamann" <jeff.hamann@forestinformatics.com> To: <gerard@seibercom.net> Cc: ports@freebsd.org Subject: Re: broken openssl on freebsd60 Message-ID: <001c01c5f21d$5f25bfd0$0a00a8c0@rodan> References: <052201c5f211$92e58b90$0b00a8c0@mothra> <20051125180817.5DDB.GERARD@seibercom.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Interesting... I run a headless machine (no keyboard or monitor -- everything is through an ssh terminal)... will it work even then? > 1) Update your ports This happens nightly, but did it again for good measure. > 2) Install /sysutils/portmanager Done. > 3) portsclean -C -D -DD -L -P -PP Done... with the following results cd: can't cd to /usr/ports/packages/All find: /usr/ports/packages: No such file or directory ** /usr/local/lib/libcrypto.so.4 is shadowed by /lib/libcrypto.so.4 /lib/libcrypto.so.4 <- ? /usr/local/lib/libcrypto.so.4 <- openssl-beta-0.9.8a --> This may be an undesirable situation Leave /lib/libcrypto.so.4 (specify -i to ask on this) ** /usr/local/lib/libssl.so.4 is shadowed by /usr/lib/libssl.so.4 /usr/lib/libssl.so.4 <- ? /usr/local/lib/libssl.so.4 <- openssl-beta-0.9.8a --> This may be an undesirable situation Leave /usr/lib/libssl.so.4 (specify -i to ask on this) ** Clean out /usr/local/lib/compat/pkg manually on occasions. ** Try using libchk(1) (sysutils/libchk) to find out unreferenced libraries. bobby# > 4) pkgdb -Fu bobby# pkgdb -Fu ---> Updating the pkgdb ---> Checking the package registry database Duplicated origin: devel/apr-svn - apr-nothr-db4-1.0.1_1 apr-nothr-db4-1.2.2_1 Unregister any of them? [no] bobby# > 5) portsdb -Uu yields, bobby# portsdb -Uu Updating the ports index ... Generating INDEX.tmp - please wait../libexec/ld-elf.so.1: Shared object "libssl.so.3" not found, required by "pg_config" /libexec/ld-elf.so.1: Shared object "libssl.so.3" not found, required by "pg_config" erserver-1.2_3: "/usr/ports/databases/postgresql-server" non-existent -- dependency list incomplete ===> databases/erserver failed *** Error code 1 1 error ******************************************************************** Before reporting this error, verify that you are running a supported version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you have a complete and up-to-date ports collection. (INDEX builds are not supported with partial or out-of-date ports collections -- in particular, if you are using cvsup, you must cvsup the "ports-all" collection, and have no "refuse" files.) If that is the case, then report the failure to ports@FreeBSD.org together with relevant details of your ports configuration (including FreeBSD version, your architecture, your environment, and your /etc/make.conf settings, especially compiler flags and WITH/WITHOUT settings). Note: the latest pre-generated version of INDEX may be fetched automatically with "make fetchindex". ******************************************************************** *** Error code 1 Stop in /usr/ports. *** Error code 1 Stop in /usr/ports. failed to generate INDEX! portsdb: index generation error bobby# Not sure what to do here. My cvsupfile looks like: *default host=cvsup11.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs *default tag=RELENG_6_0 *default delete use-rel-suffix *default compress src-all ports-all tag=. doc-all www cvsroot-all bobby# which I think is alright. and of course, I never got to these steps... > 6) Clean out the entire /usr/ports/distfiles directory > 7) portmanager -u -f -l -y is this the same as a clean install? ----- Original Message ----- From: "Gerard Seibert" <gerard@seibercom.net> To: "Jeff D. Hamann" <jeff.hamann@forestinformatics.com> Sent: Friday, November 25, 2005 3:18 PM Subject: Re: broken openssl on freebsd60 > On Friday, November 25, 2005 5:42:48 PM, "Jeff D. Hamann" > <jeff.hamann@forestinformatics.com> > Subject: broken openssl on freebsd60 > Wrote these words of wisdom: > >> I should preface this with "I'm not sure if this is correct but I've got >> a >> server running that doesn't make exstensive use of openssl and everything >> seems to run alright for the apps I've been running"... >> >> so, >> >> I've been trying to install a new server using the openssl port and keep >> finding problems with the openssl libs... >> >> $ pwd >> /usr/local/lib >> $ ls -la libssl* >> -rw-r--r-- 1 root wheel 516602 Nov 26 12:23 libssl.a >> lrwxr-xr-x 1 root wheel 11 Nov 26 12:23 libssl.so -> libssl.so.4 >> -r--r--r-- 1 root wheel 318507 Nov 26 12:23 libssl.so.4 >> lrwxr-xr-x 1 root wheel 12 Sep 16 09:59 libssl3.so -> libssl3.so.1 >> -r-xr-xr-x 1 root wheel 155344 Sep 16 10:00 libssl3.so.1 >> $ >> >> should those be: >> >> lrwxr-xr-x 1 root wheel 12 Sep 16 09:59 libssl3.so -> libssl.so.3 >> -r-xr-xr-x 1 root wheel 155344 Sep 16 10:00 libssl.so.3 >> >> or some such thing, because when I attempt to start something like >> postgresql81, I get: >> >> $ psql >> /libexec/ld-elf.so.1: Shared object "libssl.so.3" not found, required by >> "psql" >> $ >> >> I need to get the following apps running on the new FREEBSD 6.0 machine: >> >> 1) openssl >> >> then, >> >> 2) apache2 >> 3) subversion >> 4) uw-imap >> 5) postgresql81 or postgresql80+postgis >> 6) php >> >> etc, etc, etc and I'm concerned that none of those will work with the >> current status of openssl on freebsd 6.0. I'm running >> >> $ uname -a >> FreeBSD bobby.xxx.xxx 6.0-RELEASE FreeBSD 6.0-RELEASE #1: Fri Nov 18 >> 10:47:37 PST 2005 hamannj@bobby.xxx.xxx:/usr/obj/usr/src/sys/GENERIC >> amd64 >> $ >> >> and need to know if I should downgrade to an older version of freebsd >> (I've >> been running 4.4 forever now and while it continues to perform well, I >> need >> to start adding features and functionality and too many ports simply >> don't >> show up there anymore). >> >> When I attempt to install apache2, I get the following: >> >> bobby# make install >> ===> apache-2.0.55 depends on file: /usr/local/lib/libcrypto.so.3 - not >> found >> ===> Verifying install for /usr/local/lib/libcrypto.so.3 in >> /usr/ports/security/openssl >> ===> Installing for openssl-stable-0.9.7i >> ===> Generating temporary packing list >> ===> Checking if security/openssl already installed >> ===> An older version of security/openssl is already installed >> (openssl-beta-0.9.8a) >> You may wish to ``make deinstall'' and install this port again >> by ``make reinstall'' to upgrade it properly. >> If you really wish to overwrite the old port of security/openssl >> without deleting it first, set the variable "FORCE_PKG_REGISTER" >> in your environment or the "make install" command line. >> *** Error code 1 >> >> Stop in /usr/ports/security/openssl. >> *** Error code 1 >> >> Stop in /usr/ports/www/apache2. >> bobby# >> >> When I attempt to install postgresql81-server (hopefully that's the one >> that >> contains postgis as well), I get the following: >> >> bobby# pwd >> /usr/ports/databases/postgresql81-server >> bobby# make >> /libexec/ld-elf.so.1: Shared object "libssl.so.3" not found, required by >> "pg_config" >> ===> postgresql-server-8.1.0 is marked as broken: the port wants >> postgresql81-client but you have postgresql-client installed. >> bobby# >> >> I'll need to get this server up and running by the end of the year and >> don't >> know what would be the smartest decision to move forward. >> >> Help? >> Jeff. >> > > > ***** REPLY SEPARATOR ***** > On 10/11/2005 5:29:42 PM, Gerard Replied: > > Well, if it were me, I would do the following. > > 1) Update your ports > 2) Install /sysutils/portmanager > 3) portsclean -C -D -DD -L -P -PP > 4) pkgdb -Fu > 5) portsdb -Uu > 6) Clean out the entire /usr/ports/distfiles directory > 7) portmanager -u -f -l -y > > The process might take a day or so, depending on your system and the > number of ports that need to be corrected. > > Reboot after the process ends. > > That should take care of all the dependency problems, etc. > > HTH > > -- > Gerard Seibert > gerard@seibercom.net > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001c01c5f21d$5f25bfd0$0a00a8c0>