Shared object has no run-time symbol table

Rajkumar S <[email protected]>
Newsgroups gmane.os.freebsd.freesbie
Message-ID <[email protected]>
hi,

I am trying to compile pfSense, which uses Freesbie2. After I compile and boot pfSense I 
get an error:

/libexec/ld-elf.so.1: php: Shared object has no run-time symbol table

If I do an ldd /usr/local/bin/php I get :
/usr/local/bin/php:

Going back to my build Directory and check, the /usr/local/bin/php is okay:
/usr/local/bin/php:
         libcrypt.so.3 => /lib/libcrypt.so.3 (0x28194000)
         libcurl.so.3 => /usr/local/lib/libcurl.so.3 (0x281ac000)
         libssl.so.4 => /usr/lib/libssl.so.4 (0x281d9000)
         libcrypto.so.4 => /lib/libcrypto.so.4 (0x28207000)
         libm.so.4 => /lib/libm.so.4 (0x282f9000)
         libz.so.3 => /lib/libz.so.3 (0x2830f000)
         libc.so.6 => /lib/libc.so.6 (0x2831f000)

but:

ldd $CLONEDIR/usr/local/bin/php
/usr/local/pfsense-clone/usr/local/bin/php:

and

ldd $BASEDIR/usr/local/bin/php
/usr/local/pfsense-fs/usr/local/bin/php:

I copied /usr/local/bin/php to $CLONEDIR/usr/local/bin/php and $BASEDIR/usr/local/bin/php 
but after build the php does not have any symbol table. It kind of works if I copy a 
working php to the compiled image. Instead of an error I get a warning:

PHP Warning:  Unknown(): Unable to load dynamic library '/usr/local/lib/php/ext0

(not sure if the warning got truncated at end of line.)

Is this some kind of bug or did I do some thing wrong ?

friendly regards,

raj
-- 
FreeSBIE mailing list (http://www.freesbie.org)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.