php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30554 sybase-ct compile failure
Submitted: 2004-10-25 20:27 UTC Modified: 2005-03-15 01:00 UTC
Votes:5
Avg. Score:3.8 ± 1.0
Reproduced:5 of 5 (100.0%)
Same Version:1 (20.0%)
Same OS:1 (20.0%)
From: firewa at mail dot goo dot ne dot jp Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 5.0.2 OS: solaris9
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: firewa at mail dot goo dot ne dot jp
New email:
PHP Version: OS:

 

 [2004-10-25 20:27 UTC] firewa at mail dot goo dot ne dot jp
Description:
------------
php-5.0.2 with sybase 12.5.2 ct-lib compile fail on solaris9 sparc64

#my php configure is 
./configure --prefix=/usr/local/php-5.0.2 \
--with-apxs2=/usr/local/apache2/bin/apxs \
--enable-sigchild \
--enable-mbstring \
--enable-mbstr-enc-trans \
--enable-mbregex \
--enable-zend-multibyte \
--without-mysql \
--enable-wddx \
--with-gd \
--with-png-dir=/usr/local/lib \
--enable-sockets \
--with-iconv-dir=/usr/local/lib \
--with-openssl \
--with-zlib \
--with-zlib-dir=/usr/local/lib \
--with-bz2=/usr/lib \
--enable-calendar \
--with-sybase-ct=/opt/sybase/OCS-12_5 \
--enable-ftp

#make error message is

sapi/apache2handler/php_functions.lo main/internal_functions.lo -lsybtcl -lin
tl -lcomn -lct -lcs -lpng -lz -lbz2 -lz -lssl -lcrypto -lresolv -lm -ldl -lnsl -
lsocket -lgcc -lxml2 -lz -liconv -lm -lsocket -lnsl -lxml2 -lz -liconv -lm -lsoc
ket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket
-lnsl  -o libphp5.la
ld: fatal: library -lsybtcl: not found
ld: fatal: File processing errors. No output written to .libs/libphp5.so
make: *** [libphp5.la] Error 1

# I think this error is libsybtcl.so not found

# just I make symbolic link
/opt/sybase/OCS-12_5/lib/libsybtcl.so -> /opt/sybase/OCS-12_5/lib/libtcl.so

# and so make once again

# but dll error message
main/internal_functions_cli.lo -lsybtcl -lintl -lcomn -lct -lcs -lpng -lz -lbz
2 -lz -lssl -lcrypto -lresolv -lm -ldl -lnsl -lsocket -lgcc -lxml2 -lz -liconv -
lm -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl -lxml2 -lz -liconv -lm -
lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl  -o sapi/cli/php
Undefined                       first referenced
 symbol                             in file
intl_close                          /opt/sybase/OCS-12_5/lib/libcomn.so
intlgetenv                          /opt/sybase/OCS-12_5/lib/libsybtcl.so
intl_iocsfclose                     /opt/sybase/OCS-12_5/lib/libsybtcl.so
intl_iocsfwrite                     /opt/sybase/OCS-12_5/lib/libsybtcl.so
comn_free                           /opt/sybase/OCS-12_5/lib/libsybtcl.so
intl_errstr                         /opt/sybase/OCS-12_5/lib/libcomn.so
comn_calloc                         /opt/sybase/OCS-12_5/lib/libsybtcl.so
comn_malloc                         /opt/sybase/OCS-12_5/lib/libsybtcl.so
intl_datetime                       /opt/sybase/OCS-12_5/lib/libcomn.so
intl_nextvalue                      /opt/sybase/OCS-12_5/lib/libcomn.so
intl_nextentry                      /opt/sybase/OCS-12_5/lib/libcomn.so
intl_home                           /opt/sybase/OCS-12_5/lib/libsybtcl.so
intl_open                           /opt/sybase/OCS-12_5/lib/libcomn.so
intl_strbuild                       /opt/sybase/OCS-12_5/lib/libsybtcl.so
intl_nextsection                    /opt/sybase/OCS-12_5/lib/libcomn.so
comn_realloc                        /opt/sybase/OCS-12_5/lib/libsybtcl.so
intl_cstrbuild                      /opt/sybase/OCS-12_5/lib/libcs.so
intl_iocsfgets                      /opt/sybase/OCS-12_5/lib/libsybtcl.so
intl_iocsfopen                      /opt/sybase/OCS-12_5/lib/libsybtcl.so
intl_iocsfseek                      /opt/sybase/OCS-12_5/lib/libsybtcl.so
intl_iocsfread                      /opt/sybase/OCS-12_5/lib/libcomn.so
ld: fatal: Symbol referencing errors. No output written to sapi/cli/php
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

# please teach me 


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-01-20 04:14 UTC] ken74159 at ms9 dot hinet dot net
You can try disable CLI . If you don't need it~
 [2005-03-07 22:24 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip


 [2005-03-15 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2006-01-19 13:56 UTC] marcel dot walter at drkw dot com
I?m having the same prob:
php-5.1.1

Don?t have/cannot find libsybtcl.so, thus linking fails ..

I?m compiling on a Solaris8 (sparc) system ...
 [2006-01-19 14:24 UTC] marcel dot walter at drkw dot com
Sorry ... also forgot to mention that --disable-cli will NOT help ...
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Sep 19 15:01:27 2024 UTC