Note that there are some explanatory texts on larger screens.

plurals
  1. POMissing symbol after compiling swig interface
    text
    copied!<p>Im trying to compile a php interface for my linux shared object and i have managed to get it to compile all right using the output from swig, however when i try and load the so it complains of a missing symbol:</p> <pre><code>error: undefined symbol: zend_register_long_constant </code></pre> <p>Now i have had a look at zend and it seems to be a php framework. I think im missing a library to link against but i dont know which library.</p> <p>Any one else done this before and got it to work?</p> <p>Edit:</p> <pre><code> ldd xxxx.so linux-gate.so.1 =&gt; (0xb7fdb000) libcurl-gnutls.so.4 =&gt; /usr/lib/libcurl-gnutls.so.4 (0xb7f0a000) libboost_date_time-gcc42-1_34_1.so.1.34.1 =&gt; /usr/lib/libboost_date_time-gcc42-1_34_1.so.1.34.1 (0xb7efb000) libboost_thread-gcc42-mt-1_34_1.so.1.34.1 =&gt; /usr/lib/libboost_thread-gcc42-mt-1_34_1.so.1.34.1 (0xb7eed000) libboost_filesystem-gcc42-1_34_1.so.1.34.1 =&gt; /usr/lib/libboost_filesystem-gcc42-1_34_1.so.1.34.1 (0xb7ee1000) libcrypt.so.1 =&gt; /lib/tls/i686/cmov/libcrypt.so.1 (0xb7eaf000) libresolv.so.2 =&gt; /lib/tls/i686/cmov/libresolv.so.2 (0xb7e9b000) librt.so.1 =&gt; /lib/tls/i686/cmov/librt.so.1 (0xb7e92000) libxml2.so.2 =&gt; /usr/lib/libxml2.so.2 (0xb7d55000) libdl.so.2 =&gt; /lib/tls/i686/cmov/libdl.so.2 (0xb7d51000) libnsl.so.1 =&gt; /lib/tls/i686/cmov/libnsl.so.1 (0xb7d38000) libstdc++.so.6 =&gt; /usr/lib/libstdc++.so.6 (0xb7c49000) libm.so.6 =&gt; /lib/tls/i686/cmov/libm.so.6 (0xb7c23000) libgcc_s.so.1 =&gt; /lib/libgcc_s.so.1 (0xb7c14000) libc.so.6 =&gt; /lib/tls/i686/cmov/libc.so.6 (0xb7ab5000) libidn.so.11 =&gt; /usr/lib/libidn.so.11 (0xb7a83000) libldap_r-2.4.so.2 =&gt; /usr/lib/libldap_r-2.4.so.2 (0xb7a41000) libkrb5.so.3 =&gt; /usr/lib/libkrb5.so.3 (0xb79af000) libk5crypto.so.3 =&gt; /usr/lib/libk5crypto.so.3 (0xb798b000) libcom_err.so.2 =&gt; /lib/libcom_err.so.2 (0xb7987000) libgssapi_krb5.so.2 =&gt; /usr/lib/libgssapi_krb5.so.2 (0xb795c000) libgnutls.so.26 =&gt; /usr/lib/libgnutls.so.26 (0xb78bf000) libtasn1.so.3 =&gt; /usr/lib/libtasn1.so.3 (0xb78ad000) libz.so.1 =&gt; /usr/lib/libz.so.1 (0xb7897000) libgcrypt.so.11 =&gt; /lib/libgcrypt.so.11 (0xb782e000) libpthread.so.0 =&gt; /lib/tls/i686/cmov/libpthread.so.0 (0xb7814000) /lib/ld-linux.so.2 (0xb7fdc000) liblber-2.4.so.2 =&gt; /usr/lib/liblber-2.4.so.2 (0xb7806000) libsasl2.so.2 =&gt; /usr/lib/libsasl2.so.2 (0xb77ee000) libkrb5support.so.0 =&gt; /usr/lib/libkrb5support.so.0 (0xb77e5000) libkeyutils.so.1 =&gt; /lib/libkeyutils.so.1 (0xb77e1000) libgpg-error.so.0 =&gt; /lib/libgpg-error.so.0 (0xb77dc000) </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload