pathsetting for OpenSSL-0.9.8i
Hello all, I'm new in FreeBSD. I just installed FreeBSD 7.0 RELEASE and installed also Apache22, PHP5, MySQLserver and OpenSSL-0.9.8i, the latest version of Openssl. I know that the base opensslversion is 0.9.8e during the install of a freshinstall of FreeBSD. For so far everything went fine during the installation of Apache22, PHP5, MySQLserver 5.x.x and OpenSSL 0.9.8i. in the file rc.conf i wrote the line - named_enable=YES linux_enable=YES sshd_enable=YES mysql_enable=YES apache22_enable=YES apache22_http_accept_enable=YES make.conf PERL_VER=5.8.8 PERL_VERSION=5.8.8 MAKE_IDEA=YES WITH_OPENSSL_PORT=YES NO_BIND=YES All the installed applicaties are working fine , just OpenSSL is not working like the newest version 0.9.8i. I still see that that the base openssl is the default after the giffen command openssl version 0.9.8e is see that the old version 0.9.8e is working, but i want to use the newer version. for so far i know is that the newer version of OpenSSL-0.9.8i is installed in /usr/local/bin/openssl and the old version is installed as default in /usr/bin/openssl When i look to my phpinfo.php, (i use the apachewebserver 2.2.9.x) i can see that OpenSSL-0.9.8i is installed and working. === My question to you all is 'how do i configure the newest version on the right way and wich file do i have to edit to give the right $PATH setting === for example i have edited the file make.conf and wrote WITH_OPENSSL_PORT= /usr/local/bin/openssl but , it didn't helped what is the right way to configure the latest OpenSSL-0.9.8i version because i want to use the SSL application for Apache22 SSL, POP3s, IMAPs, Smtp (postfix with SASL and SSL encryption) for a save connection combined with Squirrelmail I'm looking forward to the answers greetings, Marinus p.s. my excuse for the bad English ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: pathsetting for OpenSSL-0.9.8i
On Monday 05 January 2009 02:00:57 mari...@northbridgepc.nl wrote: Hello all, I'm new in FreeBSD. I just installed FreeBSD 7.0 RELEASE and installed also Apache22, PHP5, MySQLserver and OpenSSL-0.9.8i, the latest version of Openssl. I know that the base opensslversion is 0.9.8e during the install of a freshinstall of FreeBSD. For so far everything went fine during the installation of Apache22, PHP5, MySQLserver 5.x.x and OpenSSL 0.9.8i. in the file rc.conf i wrote the line - named_enable=YES linux_enable=YES sshd_enable=YES mysql_enable=YES apache22_enable=YES apache22_http_accept_enable=YES make.conf PERL_VER=5.8.8 PERL_VERSION=5.8.8 MAKE_IDEA=YES WITH_OPENSSL_PORT=YES NO_BIND=YES All the installed applicaties are working fine , just OpenSSL is not working like the newest version 0.9.8i. I still see that that the base openssl is the default after the giffen command This isn't a port issue. It's a path issue. If php reports 0.9.8i, then openssl is correctly linked and as far as php is concerned, it will use 0.9.8i. In your PATH variable however, /usr/bin comes before /usr/local/bin. There's a few ways to fix this, rated from bad to best: 1) swap /usr/local/bin and /usr/bin in $PATH environment variable 2) Rebuild world without openssl (echo WITHOUT_OPENSSL=yes /etc/src.conf) and be sure to run make delete-old 3) make an alias: alias openssl=/usr/local/bin/openssl Even though 2) seems the best choice at first glance, all apps and libraries that use OPENSSL in the base system will have to be built from ports as well, most notably sshd. I don't see an easy way to build the base system with the port's libssl, but I could be missing something. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org