Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:991 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55997 invoked by uid 1007); 21 Apr 2003 11:29:15 -0000 Message-ID: <20030421112914.55996.qmail@pb1.pair.com> To: internals@lists.php.net Date: Mon, 21 Apr 2003 13:29:17 +0200 Lines: 49 X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Posted-By: 80.116.34.100 Subject: [PATCH]: interbase - libgds.so: undefined reference to `crypt' From: daniela@php.net ("Daniela Mariaschi") Patch proposal to solve compile failure for Firebird user. In 4.3.2 was added in config.m4 a test for libgds (following up to bug #21977 ). For Interbase user this is ok, but Firebird users receive always this compile failure: configure:37594: gcc -o conftest -g -O2 -L/opt/interbase/lib -lgds conftest.c -lgds -lresolv -lm -ldl -lnsl 1>&5 /opt/interbase/lib/libgds.so: undefined reference to `crypt' collect2: ld returned 1 exit status libgds with Firebird require libcrypt to compile correctly. and if Firebird is installed with an .rpm or .deb package we cant' be sure libcrypt is installed .... etc etc..... I propose to search for the existence of libgds only without test it, so we skipped the problem about libcrypt required for Firebird libgds. I'm going to commit this patch (in HEAD and 4.3.x ) if no one has better suggestion or comment. Regards Daniela begin 666 config.m4.diff.txt M+2TM(&-O;F9I9RYM-"YO'1?