[PATCH]: interbase - libgds.so: undefined reference to `crypt'

From: Date: Mon, 21 Apr 2003 11:29:17 +0000
Subject: [PATCH]: interbase - libgds.so: undefined reference to `crypt'
Groups: php.internals 
Request: Send a blank email to internals+get-991@lists.php.net to get a copy of this message
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<FEG"49R:2!-87(@,30@,#DZ,C<Z,CD@,C P,PHK M*RL@8V]N9FEG+FTT"4UO;B!!<'(@,C$@,#,Z,#<Z,34@,C P,PI 0" M,34L M,3<@*S$U+#$W($! "B @(" @24)!4T5?3$E"1$E2/2102%!?24Y415)"05-% M+VQI8@T*(" @9FD-"B -"BT@(%!(4%]#2$5#2U],24)205)9*&=D<RP@:7-C M7V1E=&%C:%]D871A8F%S92P-"BT@(%L-"BL@("!314%20TA?1D]2/2(O;&EB M9V1S+G-O(@T**R @($%#7TU31U]#2$5#2TE.1RA;9F]R($EN=&5R0F%S92!L M:6)G9',@:6X@)$E"05-%7TQ)0D1)4ETI#0HK(" @:68@=&5S=" M<B D24)! M4T5?3$E"1$E2+R1314%20TA?1D]2.R!T:&5N(",@<&%T:"!G:79E;B!A<R!P M87)A;65T97(-"B @(" @4$A07T%$1%],24)205)97U=)5$A?4$%42"AG9',L M("1)0D%315],24)$25(L($E.5$520D%315]32$%2141?3$E"041$*0T*+2 @ M72P@6PT*+2 @("!!0U]-4T=?15)23U(H6VQI8F=D<R!N;W0@9F]U;F0A($-H M96-K(&-O;F9I9RYL;V<@9F]R(&UO<F4@:6YF;W)M871I;VXN72D-"BT@(%TL M(%L-"BT@(" @+4PD24)!4T5?3$E"1$E2("UL9V1S#0HM("!=*0T*+0T*(" @ M4$A07T%$1%])3D-,541%*"1)0D%315])3D-$25(I#0H@("!!0U]$149)3D4H M2$%615])0D%312PQ+%L@72D-"B @(%!(4%].15=?15A414Y324].*&EN=&5R M8F%S92P@:6YT97)B87-E+F,L("1E>'1?<VAA<F5D*0T*(" @4$A07U-50E-4 M*$E.5$520D%315]32$%2141?3$E"041$*0T**PD)#0HK"0E!0U]-4T=?4D53 M54Q4*%MY97-=*0T**R @(&5L<V4-"BL)"4%#7TU31U]215-53%0H6TEN=&5R D0F%S92!N;W0@<W5P<&]R=&5D72D-"BL@("!F:2 -"B!F:0T* ` end

« previous php.internals (#991) next »