Thank Frank, Attila I really had another libgdal binary version installed. I removed it using apt-get remove and now everything is fine.
Thanks again, regards, dejan > -----Original Message----- > From: Attila Csipa [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 21, 2007 3:56 PM > To: Gambin Dejan > Subject: Re: [UMN_MAPSERVER-USERS] PHP/Mapscript error - help needed > > On Tuesday 21 August 2007 15:46, Gambin Dejan wrote: > > Since I couldn't find gdal-config on my server and I needed it for > > configure script, I have downloaded/compiled/installed > 1.4.2 version > > of gdal. After that I was able to install php/mapscript. > > > > gdal-config --version says: 1.4.2 > > gdal-config --libs says: -L/usr/local/lib -lgdal gdal-config > > --ogr-enabled says: yes gdal-config --dep-libs says: -lodbc > -lodbcinst > > -ljpeg -ltiff -lpng -lz -lm -lrt -ldl -L/usr/lib -lcurl -L/usr/lib > > -lgssapi_krb5 -lkrb5 -lk5crypto -lkrb5support -lcom_err > -lresolv -lidn > > -lssl -lcrypto -ldl -lssl -lcrypto -lz > > > > What are you suggesting me to do? > > You might already have a binary version of libgdal in > /usr/lib that came with your distribution which is > interfering (you're compiling with the version in > /usr/local/lib, but using it with the one in /usr/lib). Try > > ldd /usr/lib/php5/20051025/php_mapscript_410 > > it should write out what .so-s it is calling - if it lists > /usr/lib/libgdal... > you know that's the problem. In that case either remove the > binary gdal package (which can get tricky since it can cause > dependancy problems) or move the /usr/local/lib path before > /usr/lib in /etc/ld.so.conf and run /sbin/ldconfig -v, but > that has potentially even more drawbacks as it may break other .so-s. >
