ID: 25336 Updated by: [EMAIL PROTECTED] Reported By: alan at fromorbit dot com -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: FreeBSD 5.1-RELEASE PHP Version: 4.3.3 New Comment:
[EMAIL PROTECTED]: Please open new report as for this user the problem is solved. (and it's not in our best interest to bother him about this anymore, add referral url to the new report you create) Previous Comments: ------------------------------------------------------------------------ [2003-09-01 08:08:48] [EMAIL PROTECTED] I think this is a not a source of a problem. The latest mnogosearch-3.2.14 by default creates static and shared libraries both but i still have such error with PHP cli. ------------------------------------------------------------------------ [2003-09-01 08:04:42] [EMAIL PROTECTED] ok, i confirm this bug on my FreeBSD system. As for me it seems like an libtool bug, since if i remove libtool call from command which links PHP cli then it compiles ok. I mean the original line is: /bin/sh /usr/home/alan/php-4.3.3/libtool --silent --preserve-dup-deps --mode=link gcc [...other gcc swithes...] I replace it with: gcc [...other gcc swithes...] And linking succeeded. At this time i dont know how to fix this. To PHP developers: Have you any suggestions ? ------------------------------------------------------------------------ [2003-09-01 08:04:42] alan at fromorbit dot com Mnogosearch defaults to being statically compiled, but the module expects it to be shared. I re-compiled mnogo to be shared and now the cli will compile. Strange as the apache module worked. Alan. ------------------------------------------------------------------------ [2003-09-01 07:54:24] alan at fromorbit dot com Hi, okay then I've found this: ./configure --with-apxs=/usr/local/apache/bin/apxs --with-pgsql=/usr/local/pgsql --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-zlib=/usr --with-xpm-dir=/usr/local --with-freetype-dir=/usr/local --with-t1lib=/usr/local --enable-gd-native-ttf --with-mm=/usr/local But when I add --with-mnogosearch or --with-mnogosearch=/usr/local/mnogosearch I get the above libtool error. The library path has been added with ldconfig -m /usr/local/mnogosearch/lib. If I disable the cli it will compile and work fine, when the cli is enabled it won't. ------------------------------------------------------------------------ [2003-09-01 06:44:52] [EMAIL PROTECTED] Every configure option that requires install prefix, does NOT mean it includes /lib in it. /usr/local/lib -> /usr/local ------------------------------------------------------------------------ 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/25336 -- Edit this bug report at http://bugs.php.net/?id=25336&edit=1