Hi iliaa, this is the output of the command...
[root@ecodevel php]# ldd /usr/lib/php4/pdf.so
libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
[root@ecodevel php]#
Bye Aliet
Previous Comments:
------------------------------------------------------------------------
[2002-11-13 13:06:51] il...@php.net
can you please do:
ldd /usr/lib/php4/pdf.so
and see if this should you any missing links.
------------------------------------------------------------------------
[2002-11-13 12:12:58] der...@php.net
One bugreport is allowed of course.
------------------------------------------------------------------------
[2002-11-13 12:11:50] ni...@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the original bug instead.
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2002-11-13 12:08:59] ali...@yahoo.com
Hi all the php developers, I'm testing php-4.3.0 in RedHat
8.0,httpd-2.0.40 from redhat packages, I built rpms for this plataform
with pdf support with pdflib, here my configure...
%configure \
--prefix=%{_prefix} \
--with-config-file-path=%{_sysconfdir} \
--enable-force-cgi-redirect \
--disable-debug \
--enable-pic \
--disable-rpath \
--enable-inline-optimization \
--with-bz2 \
--with-db3 \
--with-curl \
--with-dom=%{_prefix} \
--with-exec-dir=%{_bindir} \
--with-freetype-dir=%{_prefix} \
--with-png-dir=%{_prefix} \
--with-gd \
--enable-gd-native-ttf \
--with-ttf \
--with-gdbm \
--with-gettext \
--with-pdflib=shared \
--with-tiff-dir=%{_prefix} \
--with-ncurses \
--with-gmp \
--with-iconv \
--enable-xslt=shared \
--with-jpeg-dir=%{_prefix} \
--with-openssl \
--with-png \
--with-pspell \
--with-regex=system \
--with-xml \
--with-expat-dir=%{_prefix} \
--with-zlib \
--with-layout=GNU \
--enable-bcmath \
--enable-exif \
--enable-ftp \
--enable-magic-quotes \
--enable-safe-mode \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--enable-discard-path \
--enable-track-vars \
--enable-trans-sid \
--enable-yp \
--enable-wddx \
--without-oci8 \
--with-pear=/usr/share/pear \
--with-imap=shared \
--with-imap-ssl \
--with-kerberos=/usr/kerberos \
--with-ldap=shared \
--with-mcal=shared,%{_prefix} \
--with-mcrypt=shared,%{_prefix} \
--with-mhash=shared,%{_prefix} \
--with-mysql=shared,%{_prefix} \
%if %{oracle}
--with-oci8=shared \
%endif
--with-pgsql=shared \
--with-snmp=shared,%{_prefix} \
--with-snmp=shared \
--with-sybase-ct=shared,%{_prefix} \
--with-xslt-sablot=shared,%{_prefix} \
--with-sablot-js=shared,%{_prefix} \
--enable-ucd-snmp-hack \
--with-unixODBC=shared \
--enable-memory-limit \
--enable-bcmath \
--enable-shmop \
--enable-versioning \
--enable-calendar \
--enable-dbx \
--enable-dio \
--enable-mcal \
and when I include in my php.ini the pdflib extensions the httpd server
crash and fail to start, this is the apache log error...
[Wed Nov 13 00:41:57 2002] [notice] caught SIGTERM, shutting down
/usr/sbin/httpd: relocation error: /usr/lib/php4/pdf.so: undefined
symbol: PDF_get_majorversion
/usr/sbin/httpd: relocation error: /usr/lib/php4/pdf.so: undefined
symbol: PDF_get_majorversion
/usr/sbin/httpd: relocation error: /usr/lib/php4/pdf.so: undefined
symbol: PDF_get_majorversion
I hope helps, bye aliet
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20412&edit=1
No problem, thank's for your great job. Bye Aliet
Previous Comments:
------------------------------------------------------------------------
[2002-11-13 18:22:23] sni...@php.net
I just fixed this in CVS. Thank you for reporting this.
------------------------------------------------------------------------
[2002-11-13 17:59:36] sni...@php.net
What version of pdflib you have installed and how was it configured? Do
you have shared libs for it or just the static libs?
------------------------------------------------------------------------
[2002-11-13 15:56:49] ali...@yahoo.com
Hi iliaa, this is the output of the command...
[root@ecodevel php]# ldd /usr/lib/php4/pdf.so
libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
[root@ecodevel php]#
Bye Aliet
------------------------------------------------------------------------
[2002-11-13 13:06:51] il...@php.net
can you please do:
ldd /usr/lib/php4/pdf.so
and see if this should you any missing links.
------------------------------------------------------------------------
[2002-11-13 12:12:58] der...@php.net
One bugreport is allowed of course.
------------------------------------------------------------------------
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/20412