#37198 [Fbk->Csd]: Compilation fatal error: library -lsybtcl: not found
| From: | vincent dot castagnet at sgcib dot com | Date: | Wed, 26 Apr 2006 09:41:50 +0000 |
| Subject: | #37198 [Fbk->Csd]: Compilation fatal error: library -lsybtcl: not found | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-96255@lists.php.net to get a copy of this message | ||
ID: 37198
User updated by: vincent dot castagnet at sgcib dot com
Reported By: vincent dot castagnet at sgcib dot com
-Status: Feedback
+Status: Closed
Bug Type: Compile Failure
Operating System: SOLARIS 8
PHP Version: 5CVS-2006-04-25 (snap)
New Comment:
Ok, we went through that error by compiling with PHP 5.0.4 from
sunfreeware and with the following configure command:
./configure' '--prefix=/usr/local/php' '--with-sybase-ct=/opt/sybase'
'--enable-static=sybase-ct' '--with-apxs2=/usr/local/apache2/bin/apxs'
'--with-gd' '--with-zlib-dir=/usr/local' '--without-sqlite'
'--without-pdo-sqlite' '--without-pear'
Build went OK.
Then for the apache to work we had to do the little trick as explained
here by "sean dot healey at bayernlb dot co dot uk":
http://us2.php.net/sybase
Now php works with apache, but we have Sybase connection problems. I
hope it's not coming from the build :( .
But that's another problem and this bug is closed.
Thanks for your help !! :)
Previous Comments:
------------------------------------------------------------------------
[2006-04-26 07:55:55] tony2001@php.net
From what I can see in ext/sybase/config.m4 first it looks for libtcl
and only then tries to use sybtcl.
So I'd say you need to check out why symbol netg_errstr() not found in
libtcl.
>but then we are stopped by a Sqlite error..
Which exactly? I don't remember any problems on Solaris, except for its
slowness..
------------------------------------------------------------------------
[2006-04-26 07:48:50] vincent dot castagnet at sgcib dot com
Yes, I have it. But it seems there is something wrong in the
"configure" file. We changed lsybtcl by ltcl, and then launched a make
again, but hen we are stopped by a Sqlite error... we continue
investigating.
------------------------------------------------------------------------
[2006-04-26 07:44:35] tony2001@php.net
Are you sure you have this library installed?
------------------------------------------------------------------------
[2006-04-25 14:48:10] vincent dot castagnet at sgcib dot com
Description:
------------
When compiling with latest snapshot, fatal error when trying to write
libphp5.so
I searched in the Bug database and also on the net, but couldn't find
anything really close enough to my problem, or no solution have been
provided :(
Reproduce code:
---------------
Configure:
./configure \
--prefix=/usr/local/php \
--with-sybase-ct=$SYBASE/$SYBASE_OCS \
--enable-static=sybase-ct \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-gd \
--with-zlib-dir=/usr/local \
--enable-sysvmsg \
--enable-sysvsem \
--enable-sysvshm
make
ld: fatal: library -lsybtcl: not found
ld: fatal: File processing errors. No output written to
.libs/libphp5.so
*** Error code 1
make: Fatal error: Command failed for target `libphp5.la'
Expected result:
----------------
Expecting compilation success.
Actual result:
--------------
Error at the end (it seems) of the "make"
main/internal_functions.lo -lsybtcl -lintl -lcomn -lct -lcs -lrt -lpng
-lz -lz -lresolv -lm -ldl -lnsl -lsocket -lxml2 -lz -liconv -lm
-lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl -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
libphp5.la
ld: fatal: library -lsybtcl: not found
ld: fatal: File processing errors. No output written to
.libs/libphp5.so
*** Error code 1
make: Fatal error: Command failed for target `libphp5.la'
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37198&edit=1