FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » dll load problem
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: dll load problem [message #179356 is a reply to message #179353] Fri, 12 October 2012 14:32 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 10/12/2012 9:12 AM, Philipp Kraus wrote:
> On 2012-10-12 14:57:19 +0200, Jerry Stuckle said:
>
>> On 10/12/2012 8:07 AM, Philipp Kraus wrote:
>>> Hello,
>>>
>>> I run on a shell execution my local git client and get the error:
>>>
>>> dyld: lazy symbol binding failed: Symbol not found: _iconv_open
>>> Referenced from: /usr/local/git/bin/git
>>> Expected in: /Applications/MAMP/Library/lib/libiconv.2.dylib
>>>
>>> The git client is linked to the system libraries and works, but if I run
>>> it from my PHP script
>>> I get the error above. The script runs under OSX with PHP 5.4.4.
>>>
>>> (How) Can I change the search path of dynamic libraries? I think the
>>> correct library that should
>>> be use is under /usr/lib/libiconv.2.dylib
>>>
>>> Thanks
>>>
>>> Phil
>>>
>>
>> This isn't a PHP problem. Ask in an OSX newsgroup.
>
> Are you sure?
> Because if I run the command that is used by system / shell_exec
> on command line it works, but it does not work on the PHP
> function.
>
> Phil
>

Yes, I'm sure. Library loading is a function of the OS, not PHP.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Regular Expression Help
Next Topic: MYSQLI_GROUP_FLAG and MYSQLI_NUM_FLAG are both 32768
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 15:37:44 GMT 2024

Total time taken to generate the page: 0.03918 seconds