[mapserver-users] Compiling nightly build

Ballard,Lowell LBallard at YesVirginia.org
Mon Sep 10 17:54:46 EDT 2001


I'm not in front of a Linux box right now but try:

putting the lib directory in /etc/ld.so.conf then running /sbin/ldconfig

I think those are the commands.  You can also try telling the webserver
where the library is by adding a line in httpd.conf that's something like:

LD_LIBRARY_PATH = /path/to/lib

restart the webserver.

might want to verify syntax.

-----Original Message-----
From: Robert Aldridge
To: MapServer_Users
Sent: 9/10/01 4:20 PM
Subject: [mapserver-users] Compiling nightly build

HELP!

I'm getting very frustrated with myself trying to
compile a recent nightly build of mapserver.  I have a
fresh install of Mandrake 8.0 and want to get
mapserver working.  I downloaded and installed gd,
libtiff, libpng, libjpeg, etc.  I also install the
ArcSDE8.1 client.  The configure script runs fine with
the following arguments:

./configure --with-sde=/usr/local/arcsde/sdeexe81
--with-sde-version=81 --with-gd=../gd-1.8.4

Then I run make and everything seems to build OK. 
However, when I try to run mapserv with:

./mapserv /path-to-test-map/test.map

I get:

./mapserv: error while loading shared libraries:
libpng.so.3: cannot load shared object file: No such
file or directory

The libpng.so.3 exists in /usr/local/lib and the png
tests worked ok.

Help, please...

Sorry if this sounds like a newbie question, but I'm
stuck!

Thanks,

Robert Aldridge

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo!
Messenger
http://im.yahoo.com



More information about the mapserver-users mailing list