ID:               22248
 User updated by:  simon at dnadogs dot com
 Reported By:      simon at dnadogs dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         SNMP related
 Operating System: Solaris 8
 PHP Version:      4CVS-2003-02-17 (stable)
 New Comment:

I did a make distclean then 

configure --with-snmp --with-mysql=/usr/local

and then make
still got 
/usr/local/sparc-sun-solaris2.8/bin/ld: bfd assertion fail
elflink.h:3542

this was useing latest snapshot


Previous Comments:
------------------------------------------------------------------------

[2003-02-21 04:40:45] [EMAIL PROTECTED]

That's pretty impossible as the configure would fail
if the snmp config fails.

Is 'HAVE_SNMP' defined in main/php_config.h ?

Does the sapi/cli/php binary have the functions?


------------------------------------------------------------------------

[2003-02-21 04:12:26] simon at dnadogs dot com

Hi,

tried the latest snapshop and it compiles ok but has no snmp support in
the binary.

errors with snmpget function not available.

------------------------------------------------------------------------

[2003-02-18 23:28:50] [EMAIL PROTECTED]

Can you please try the latest STABLE snapshot?
It has a sanity test for ext/snmp compile in configure
and it would be nice to know if it fails for you
when you configure/compile PHP as CGI.

Also, add the configure lines you have used for
configuring net-snmp and php.


------------------------------------------------------------------------

[2003-02-18 03:33:29] simon at dnadogs dot com

Further info.

A php binary is created in sapi/cgi/ and when i use it with a phpinfo()
it says that snmp is enabled but if I try to use snmp functions i get
they dont exist as follows -

php snmp.php 

Fatal error: Call to undefined function:  snmpget() in
/users/downloads/Apache/php4-STABLE-200302171030/sapi/cgi/snmp.php on
line 2
/users/downloads/Apache/php4-STABLE-200302171030/sapi/cgi/snmp.php(2) :
Fatal error - Call to undefined function:  snmpget()

------------------------------------------------------------------------

[2003-02-18 02:31:10] simon at dnadogs dot com

Hi,
I am running UCD-SNMP 5.07,  I have now compiled and installed snmp
from source and I still have the same problem.

The  apache php module will compile and work,  the cgi wont.
It looks like its compile everything ok then the final linking fails

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/22248

-- 
Edit this bug report at http://bugs.php.net/?id=22248&edit=1

Reply via email to