Alt-PHP-Faq
Cheapest CO.UK domains in the UK! £1.88 per year!
And PHP/MySQL hosting 1p/1c for the first month, NO CATCH!


Question :

I'm trying to compile PHP 4.1.1 on a SunOS 5.8 box as a DSO module with mcrypt 2.4.18 (i.e. libmcrypt.so.4.2.8), I get loads of errors.

Answer :
I'm trying to compile PHP 4.1.1 on a SunOS 5.8 box as a DSO module with a
number of options, including mcrypt 2.4.18 (i.e. libmcrypt.so.4.2.8)

Configuration seems to go fine; among all the output, it prints:
checking for mcrypt support... yes
checking for mcrypt_module_open in -lmcrypt... (cached) yes

and "make" goes along just fine until the very end, when I get this:

> /bin/sh /opt/src/david/php-4.1.1/libtool --silent --mode=link
gcc -I. -I/opt/src/david/php-4.1.1/ -I/opt/src/david/php-4.1.1/main -I/opt/
src/david/php-4.1.1 -I/opt/apache/include -I/opt/src/david/php-4.1.1/Zend -I
/usr/local/include -I/opt/mysql/include/mysql -I/usr/local/include/ucd-snmp
-I/opt/src/david/php-4.1.1/ext/xml/expat -D_POSIX_PTHREAD_SEMANTICS -DSOLAR
IS2=280 -DMOD_SSL=208105 -DEAPI -DEAPI_MM -DUSE_EXPAT -I/opt/src/david/php-4
.1.1/TSRM -g -O2 -prefer-pic -o libphp4.la -rpath
/opt/src/david/php-4.1.1/libs -avoid-version -L/usr/ucblib -L/usr/local/lib
-L/opt/gcc/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2 -L/opt/mysql/lib/mysql -L
/opt/postgres/lib -R /usr/ucblib -R /usr/local/lib -R
/opt/gcc/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2 -R /opt/mysql/lib/mysql -R
/opt/postgres/lib stub.lo Zend/libZend.la sapi/apache/libsapi.la
main/libmain.la regex/libregex.la ext/zlib/libzlib.la ext/ftp/libftp.la
ext/gd/libgd.la ext/imap/libimap.la ext/ldap/libldap.la
ext/mcrypt/libmcrypt.la ext/mhash/libmhash.la ext/mysql/libmysql.la
ext/openssl/libopenssl.la ext/pcre/libpcre.la ext/pdf/libpdf.la
ext/pgsql/libpgsql.la ext/posix/libposix.la ext/session/libsession.la
ext/snmp/libsnmp.la ext/standard/libstandard.la ext/xml/libxml.la
TSRM/libtsrm.la -lpam -lc-client -ldl -lsnmp -lkstat -lpq -lmysqlclient -lz
-lmhash -lmcrypt -lltdl -lldap -lcrypt -lpam -lgd -lpng -lz -ljpeg -lz -lcry
pt -lssl -lcrypto -lresolv -lresolv -lm -ldl -lnsl -lsocket -lsocket -lgcc -
lcrypt

ld: fatal: symbol `lt_dlcaller_set_data' is multiply defined:
(file Zend/.libs/libZend.al(ltdl.o) and file
/usr/local/lib/libltdl.a(ltdl.o));
ld: fatal: symbol `lt_dlloader_data' is multiply defined:
(file Zend/.libs/libZend.al(ltdl.o) and file
/usr/local/lib/libltdl.a(ltdl.o));
ld: fatal: symbol `lt_dlforeachfile' is multiply defined:
(file Zend/.libs/libZend.al(ltdl.o) and file
/usr/local/lib/libltdl.a(ltdl.o));
ld: fatal: symbol `lt_dlloader_add' is multiply defined:
(file Zend/.libs/libZend.al(ltdl.o) and file
/usr/local/lib/libltdl.a(ltdl.o));
...
etc. etc.

------
try it again manually but this time remove -lltdl


Categories Return to Main PHP Faq

Installation

 

Questions

Installation
How to install PHP on Apache?
How do I install Apache, MySQL, PHP on Linux?
I am trying to install GD + Truetype with PHP4, but all I get is libgd was not built with TrueType font support
How did you install PHP with --mcrypt and --mhash?
When using GD/PHP to create thumbnails using imagecopyresized the thumbnail quality is not very good.
Can I compile php with mysql without having mysql sources?
How do I install PHP as a CGI?
How do I stop spammers using header injection with my PHP Scripts? (Webmasters)
How can I get PWS (Microsoft Personal Webserver) to work?
I have errors trying to install libxml so I can use --with-dom for PHP (checking for DOM in default path... not found)?
How do I install Sablotron with PHP?
Is there a Windows version of MySQL?
Is there an archive that installs mysql,php4,apache and perl on a windows system?
What do I have to do to convert PHP3 pages to PHP4 pages? Are there any compatibility problems?
Installing MySQL Perl Modules DBI
How do I install Sablotron to work with PHP on Windows?
How do I install the PostGRESQL client librarys so PHP can talk to remote PGSQL servers?
What version should I install?
Use ereg_replace to replace only the first occurence of a string instead of all?
make install gives an error saying i need LoadModule line in httpd.conf but its already there
error: conflicting types for `XML_FEATURE_UNICODE'
How do I stop spammers using header injection with my PHP Scripts? (Server Admin)
How do I install Curl?
Installing ioncobe with php5.2.3 gives the error Failed loading ioncube_loader_lin_5.2.so: ioncube_loader_lin_5.2.so: undefined symbol: zend_hash_destroy
 

Return to the main FAQ list



Free Forum    
Design & Layout Copyright © 2000- 2008 PHP MySQL Web Hosting Comments to Webmaster
Hosted by PHP 4 Hosting - PHP and MySQL Webhosting and Domain Names