#23099 [Opn]: 4.3.1- libgds.so: undefined reference to `crypt'

From: Date: Wed, 23 Apr 2003 09:04:45 +0000
Subject: #23099 [Opn]: 4.3.1- libgds.so: undefined reference to `crypt'
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-38167@lists.php.net to get a copy of this message
ID: 23099 Updated by: sniper@php.net Reported By: hasihola at cs dot tu-berlin dot de Status: Open -Bug Type: Compile Failure +Bug Type: InterBase related Operating System: Linux 2.4.7-10 PHP Version: 4.3.1 New Comment: Daniela, the problem is in ext/interbase/config.m4 so please don't make this a general "compile failure" report. Previous Comments: ------------------------------------------------------------------------ [2003-04-19 17:27:54] daniela@php.net Maybe I don't explain me well ... 1) the compile failure exists for ALL Firebird users, it's our test for libgds in ./configure that is not correct . If we don't fix it you couldn't compile php with Firebird anymore .... this is why I turn your bug in compile error. So right now let's solve the compile error ok? 2) Open a NEW bug for ibase_fetch_row (and without pear 100%). I need to reproduce the error you 're talking about for ibase_fetch_row but from your information I can't. All tests I 've done work good. ------------------------------------------------------------------------ [2003-04-19 13:12:21] hasihola at cs dot tu-berlin dot de The problem begun differently,sniper pointed the newest PHP version to try, in this new version i got problems with compiling the interbase extension, the funny thing is i got libcrypt on my System :( (and its on my ld path) I posted my table structure on one of the previous messagess, could you please try to use the table i posted ? I've tried it with/without PEAR, and the Result are the same,no data can be retrieved, but the row count of the same Select statement is working alright. Thanks Much in advance ------------------------------------------------------------------------ [2003-04-18 08:39:42] daniela@php.net These are two different problems. It's better to set this bug in Compile Failure category. Interbase related ----> Compile Failure The compile issue you've received is true for Firebird. - Firebird users can't pass configure test. libgds test require libcrypt too, otherwise it fails. - Interbase users have no problems instead. The question about ibase_fetch_row sounds strange .... it doesn't work on some table only? I' m using 4.3.1 + Firebird (without pear) and I have no problem. However, if you can reproduce your error about ibase_fetch_row in a few lines of code, feel free to open a new bug. (see at http://bugs.php.net/bug.php?id=11176 as an excellent example of how to report a bug) ------------------------------------------------------------------------ [2003-04-10 12:52:37] hasihola at cs dot tu-berlin dot de Hi, I just D/L the php4-STABLE, but it doesn't even make through Configure, the errors are : checking for InterBase support... yes checking for isc_detach_database in -lgds... no configure: error: libgds not found! Check config.log for more information. ---------------------------------------------------- Config log: 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 configure: failed program was: #line 37583 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char isc_detach_database(); int main() { isc_detach_database() ; return 0; } ----------------------------------- I've tried this with 2 stable versions of Firebird: FirebirdSS-1.0.0.796-0 FirebirdSS-1.0.2.908-1 I can't switch to BETA versions of Firebird Thanks much, Jerry ------------------------------------------------------------------------ [2003-04-08 20:02:39] sniper@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/23099 -- Edit this bug report at http://bugs.php.net/?id=23099&edit=1

« previous php.bugs (#38167) next »