NuSphere Forums Forum Index
NuSphere Forums
Reply to topic


Joined: 13 May 2006
Posts: 3
Reply with quote
Hi Everyone !

I'm having the following problem.

I compiled dbg for OSX with the following warning :

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable
during execution

So, When I try to initialize Apache, I get the following error

dyld: NSLinkModule() error
dyld: Symbol not found: _OnUpdateInt
Referenced from: /Applications/MAMP/bin/php5/lib/php/extensions/no-debug-non-zts-20050922/dbg.so
Expected in: flat namespace

Any ideas, suggestions ??

thank you very much in advance !

Jose
View user's profileFind all posts by thesnailsshowSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
It means that you took wrong php distribution which comes with all symbols tables stripped off. To fix this problem I'd highly recommend you either contact php distribuion provider or compile php yourself.
You're not alone who encountered this p./s.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 13 May 2006
Posts: 3
Reply with quote
yes

I used Apple php libraries, while I'm trying to run this on a 3rd party apache server called MAMP

In fact I modified php-config and phpize to point to the /developer/Mac OSX 10.4 folders

I'll try to find the correct libraries

Thanks !!
View user's profileFind all posts by thesnailsshowSend private message


Joined: 13 May 2006
Posts: 3
Reply with quote
I got it working !!

It was an error in my php.ini file !

Thank you very much !

Jose
View user's profileFind all posts by thesnailsshowSend private message


Joined: 23 Aug 2006
Posts: 2
Location: Atlanta, GA
Reply with quote
So what was set wrong!?
View user's profileFind all posts by mtoddSend private messageAIM Address
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
If you get
dyld: Symbol not found: _OnUpdateInt
php.ini is not involved. It's install under MacOSX strips all symbols in binaries, not only debug symbols as it should do.
As a result all references in dbg.so to php can't be resolved properly and result in this error.
As a workaround, just after you run make install, copy binaries manually over installed.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 23 Aug 2006
Posts: 2
Location: Atlanta, GA
Reply with quote
Thank you for that information. I'll have to give that a shot later today.

M.T.
View user's profileFind all posts by mtoddSend private messageAIM Address
Debugger under MAC OSX
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic