php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41669 Unresolved symbol: scl_init
Submitted: 2007-06-12 11:24 UTC Modified: 2007-06-29 12:00 UTC
From: mad at dactar dot ch Assigned:
Status: Not a bug Package: CGI/CLI related
PHP Version: 5.2.3 OS: HP-UX 11.11
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mad at dactar dot ch
New email:
PHP Version: OS:

 

 [2007-06-12 11:24 UTC] mad at dactar dot ch
Description:
------------
After compile PHP, when I run sapi/cli/php I've got the following error : 

/usr/lib/dld.sl: Unresolved symbol: scl_init (code)  from /path/to/sybase/lib/libct_r.sl
Abort(coredump)


Reproduce code:
---------------
Configure options : 

./configure --with-sybase-ct=/path/to/sybase --with-imap=/path/to/imap --with-imap-ssl=/usr --with-libxml-dir=/path/to/libxml2 --prefix=/path/to/php --with-apxs=/path/to/apache/bin/apxs

Changes in Makefile (Line EXTRA_LIBS) : 

:1,$s/-lcrypt //g
:1,$s/-lcrypt$//
:1,$s/-lintl/&_r/g

EXTRA_LIBS after changes : 

EXTRA_LIBS = -lc-client -lsybtcl -lintl_r -lcomn -lct -lcs -lrt -lssl -lcrypto -lpam -liconv -lm -lnsl -lxml2 -liconv -lm -lxml2 -liconv -lm -lxml2 -liconv -lm -lxml2 -liconv -lm -lxml2 -liconv -lm -lxml2 -liconv -lm

make
sapi/cli/php


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-06-14 11:17 UTC] mad at dactar dot ch
Please note that there's no problem witch php module loaded in apache. This problem is only present with php client. Any ideas about this ?
 [2007-06-18 15:58 UTC] mad at dactar dot ch
Category changed to CLI related because only PHP client is affected by this bug.
 [2007-06-25 19:07 UTC] tony2001@php.net
Unresolved symbols in some third-party library is hardly a PHP problem.
 [2007-06-29 11:51 UTC] mad at dactar dot ch
I agree, but in this case, I don't understand why php library works without problems with apache and not php client.
 [2007-06-29 12:00 UTC] tony2001@php.net
Because of miscompilation or an other problem related to the dynamic linker on your OS.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 23:01:28 2024 UTC