note 68806 added to ref.ssh2

From: Date: Fri, 11 Aug 2006 13:11:12 +0000
Subject: note 68806 added to ref.ssh2
Groups: php.notes 
Request: Send a blank email to php-notes+get-115789@lists.php.net to get a copy of this message
I was building out the ssh2 extension (0.10) under OpenBSD 3.9 on sparc64 and I got this error when running configure: checking for libssh2_banner_set in -lssh2... no configure: error: libssh2 version >= 0.4 not found I did some poking around in the configure file and traced the problem down. The reason for the failure is that configure is trying to compile a test program with -ldl. libdl is not installed on OpenBSD 3.9. The OpenBSD folks purged libdl years ago and I could not find a package that contains it. (The error message above is misleading because the problem is not with libssh2.) I looked at the ssh2 extension code and could not see a reason for using libdl, so I removed the -ldl from the config.m4 file. Re-ran phpize and configure. No errors. Did make and installed ssh2.so. Works fine. ---- Server IP: 64.71.164.2 Probable Submitter: 170.35.208.21 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/ref.ssh2.php Edit -- https://master.php.net/note/edit/68806 Del: integrated -- https://master.php.net/note/delete/68806/integrated Del: useless -- https://master.php.net/note/delete/68806/useless Del: bad code -- https://master.php.net/note/delete/68806/bad+code Del: spam -- https://master.php.net/note/delete/68806/spam Del: non-english -- https://master.php.net/note/delete/68806/non-english Del: in docs -- https://master.php.net/note/delete/68806/in+docs Del: other reasons-- https://master.php.net/note/delete/68806 Reject -- https://master.php.net/note/reject/68806 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#115789) next »