[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] RE: PHP 4.0.4pl1 on a RaQ4i (configure: error: cannot find necessary library)



I've looked around on my system and discovered that I do have the Berkley DB
v1 and v3 libs installed, and the paths are also in /etc/ld.so.conf, so I
don't understand why I'm getting the error below. Anyhow I decided to try
and configure without the --with-db3 option which works,.. but then when I
compile I get the following error:

/bin/sh /home/library/php/php-4.0.4pl1/libtool --silent --mode=compile
cc  -I. -I/home/library/php/php-4.0.4pl1/ext/gd -I/home/library/php/php-4.0.
4pl1/main -I/home/library/php/php-4.0.4pl1 -I/usr/include/apache -I/home/lib
rary/php/php-4.0.4pl1/Zend -I/usr/include/freetype -I/usr/include/imap -I/us
r/interbase/include -I/home/library/php/php-4.0.4pl1/ext/mysql/libmysql -I/h
ome/library/php/php-4.0.4pl1/ext/xml/expat/xmltok -I/home/library/php/php-4.
0.4pl1/ext/xml/expat/xmlparse -I/home/library/php/php-4.0.4pl1/TSRM  -DLINUX
=2 -DMOD_SSL=206104 -DMOD_PERL -DUSE_PERL_SSI -Dbool=char -DHAS_BOOL -DEAPI 
-DBIG_SECURITY_HOLE -DCOBALT_RAQ_LED -DXML_BYTE_ORDER=12 -g -O2  -c gd.c
gd.c: In function `php_if_imagecreatefromgif':
gd.c:703: `gdImageCreateFromGif' undeclared (first use in this function)
gd.c:703: (Each undeclared identifier is reported only once
gd.c:703: for each function it appears in.)
gd.c: In function `php_if_imagegif':
gd.c:862: `gdImageGif' undeclared (first use in this function)
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/home/library/php/php-4.0.4pl1/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/library/php/php-4.0.4pl1/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/library/php/php-4.0.4pl1/ext'
make: *** [all-recursive] Error 1

So it seems I have a double whammy! :-( Somebody please help!!!

> -----Original Message-----
> From: Nic LAWRENCE [mailto:nic@xxxxxxx]
> Sent: 8 March 2001 9:45
> To: cobalt-users@xxxxxxxxxxxxxxx
> Subject: PHP 4.0.4pl1 on a RaQ4i (configure: error: cannot find
> necessary library)
>
>
> I'm trying to compile PHP 4.0.4pl1 on my RaQ4i. It's a PostgreSQL
> setup from the original plain vanilla install. When I run
> configure for the PHP install however;
>
> ./configure --prefix=/usr --with-apxs=/usr/sbin/apxs --with-gd
> --with-gettext --enable-safe-mode
> --with-config-file-path=/etc/httpd --with-exec-dir=/usr/bin
> --with-zlib --enable-magic-quotes --with-regex=system
> --with-ttf=/usr/lib/libttf.so --enable-track-vars --enable-xml
> --disable-debug --with-db3 --with-interbase=shared
> --with-pgsql=shared --with-ldap --with-imap
>
> during the "Configuring extensions" section it dies on the
> following error:
> ..."checking for Berkeley DB2 support... no
> checking for db_create in -ldb... no
> checking for db_create in -ldb-3... no
> configure: error: cannot find necessary library
>
> I'm assuming this is something to do with PostgreSQL? I've
> followed all the installation instructions to the letter with a
> few additional pointers from some helpful peeps. I'm not familiar
> with PHP or SQL at this point and would appreciate any
> suggestions on how I can fix this problem.