Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266935 - dev-lang/php compil error with sybase-ct use flag
Summary: dev-lang/php compil error with sybase-ct use flag
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-21 04:59 UTC by Ivan Borisov
Modified: 2009-05-14 21:15 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Borisov 2009-04-21 04:59:49 UTC
At compiling php with sybase-ct

Zend/zend_strtod.lo Zend/zend_objects.lo Zend/zend_object_handlers.lo
Zend/zend_objects_API.lo Zend/zend_default_classes.lo
Zend/zend_execute.lo sapi/cgi/cgi_main.lo sapi/cgi/getopt.lo
main/internal_functions.lo -lcrypt -lsybtcl -lintl -lcomn -lct -lcs
-lcrypt -lrt -lmysqlclient -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2
-lz -lm -lxml2 -lz -lm -lcrypt -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz
-lm -lcrypt  -o sapi/cgi/php-cgi
/usr/bin/ld: cannot find -lintl
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php-cgi] Error 1


And also:
PHP is trying to find the header files in the old directory structure? 
Prior to 12.0 release, the include file could be found here: 
   /opt/sybase/include 
 From the 12.0 release on, it was moved to (following example is for 
15.0): 
   /opt/sybase/OCS-15_0/include


Reproducible: Always

Steps to Reproduce:
1.  USE="-sybase sybase-ct" emerge php
Actual Results:  
Zend/zend_strtod.lo Zend/zend_objects.lo Zend/zend_object_handlers.lo
Zend/zend_objects_API.lo Zend/zend_default_classes.lo
Zend/zend_execute.lo sapi/cgi/cgi_main.lo sapi/cgi/getopt.lo
main/internal_functions.lo -lcrypt -lsybtcl -lintl -lcomn -lct -lcs
-lcrypt -lrt -lmysqlclient -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2
-lz -lm -lxml2 -lz -lm -lcrypt -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz
-lm -lcrypt  -o sapi/cgi/php-cgi
/usr/bin/ld: cannot find -lintl
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php-cgi] Error 1


At http://bugs.php.net/bug.php?id=45393 wtitten patch for this bug. Can anybody add it to portage?
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2009-05-06 14:48:14 UTC
Please read [1] before opening the next bug - this is not a devrel bug.

 [1] - http://www.gentoo.org/doc/en/bugzilla-howto.xml
Comment 2 Sebastian Luther (few) 2009-05-11 20:41:51 UTC
Please provide emerge --info, the complete build.log and emerge -pvq php.
Comment 3 Sebastian Luther (few) 2009-05-14 21:15:46 UTC
Please reopen when the requested information is present.