Wierd error...

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
danimal
Forum Newbie
Posts: 2
Joined: Thu Jul 10, 2003 3:03 am

Wierd error...

Post by danimal »

Does anyone know what this is or how I might fix it?

PHP Warning: Unknown(): Unable to load dynamic library './php_gd2.dll' - ./php_gd2.dll: cannot open shared object file: No such file or directory in Unknown on line 0

Debian 3, Apache2, php5.0.0b1

phpinfo: http://66.183.209.226/php.php

Also, if I ./configure and 'make test' it fails ALL tests. I'm really kinda lost here, so any input would be great!!
qartis
Forum Contributor
Posts: 271
Joined: Sat Dec 14, 2002 4:43 pm
Location: BC, Canada
Contact:

Post by qartis »

If you're on Debian, why are you dealing with .dlls?
danimal
Forum Newbie
Posts: 2
Joined: Thu Jul 10, 2003 3:03 am

Post by danimal »

I wondered the same thing.

php.ini was missing a ';' and was trying to load that dll accordingly.
my bumbling fingers probably nuked it in vi. Amazing how these things only do what you tell them to.

as far as the problem with failing ALL the tests, I seem to have fixed it by

export LD_LIBRARY_PATH=/usr/local/lib
./configure bla...
make test

will I have to do that every time I build from any source?
Post Reply